Data File In A Different Machine On The Network.

Jul 20, 2005

Hi All,

I have a requirement to create the database with data and log files in
a different machine on the network.

Googling, I got a link which said Mapped drives do not work but UNC paths
work. However in my case, both are failing.

Any advices or links on net will be highly useful.

Thanks and Regards,
Chandra Mohan

View 5 Replies


ADVERTISEMENT

Integration Services :: Network Path For Flat File Destination - Cannot Open Data File

Apr 6, 2015

I am running my package in sql server 2012, in which i am giving network path for flat file destination. And its working fine. But if i give m local path, its giving me  error " cannot open data file" ...

Nothing is wrong with package.

View 10 Replies View Related

Connecting To SQL On Network Machine

Aug 8, 2005

Hi,I'm trying to use one of my machines as a database server, just for local network testing/development etc.  This machine/server is on my local network via a router.Can anyone advise me of how, when using VS 2005 Beta 2, to connect to my SQL Server 2005 installation on the server running on my network.  ?  In the 'add connection' dialogue, what do I put in the 'Server name:' field, (apart from server name...) is it the name of the machine or the IP address of the machine on the network ?Any and all advise appreicated.Thanks in advance.

View 3 Replies View Related

SQL 2005 Enterprise Edition The Image File Setup.exe Is Valid, But Is For A Machine Type Other Than The Current Machine

Nov 28, 2006

Hi All,

I have enterprise version software CD1 and CD2 of SQL server 2005

when i try to run setup.exe..the following error pops -up

The image file Setup.exe is valid, but is for a machine type other than the current machine

MY OS version is windows 2003 32bit Operating system...

I am suspecting the binarie may be of 64bit.. How do we check the binaries are 32 bit and 64 bit software

Thanks for your Help

Mohan



View 4 Replies View Related

Backup From A Remote Machine Over The Network.

Nov 29, 2000

Hi all,

I have scheduled a backup on a remote machine. Everyday I FTP these backups from the remote machine to the local drive.

A local drive is maped to the remote machine in Windows NT Explorer but SQLSERVER7 Enterprise Manager can't see this drive so that I could do the backup to it.

Can any one please tell me how to make this work?

Thanks in advance.

Attaullah

View 1 Replies View Related

Connect To SQL Server On A Machine On Another Network?

Nov 12, 2006

Hi,

I am hoping you will be of assistance to me and provide a little advice on what exactly is possible using SQL Express / SQL Server 2005 with regards to remotely connecting to a server.

I am a final year undergraduate student studying computing sciences in the UK. As a final year project I am attempting to create a client-server database, where the client (a WM5 PDA) can connect to an SQL server hosted on a different machine (a PC). However, I must be able to connect to the server when the PDA is being used on any Wi-Fi connection.

Basically I want the PDA to be able to connect to a database kept on the PC at home when you're out and about using the PDA's wi-fi.

Is this possible? If so, could you explain in 'dummy' terminology how one would go about this?

As my university is part of the MS Academic Alliance I have access to VS 2005 and SQL Server 2005 for this project.



Many thanks for your time and I eagerly await your responses!
Simon

View 7 Replies View Related

Transact SQL :: Bulk Insert When Data File Is On Network Share

Dec 3, 2015

I am running Microsoft SQL Server 2012 SP on a Windows Server 2008 R2 Standard SP1 box. The SQL Server service is running as a simple windows domain user (nothing special, no admin rights, etc.) I am having some issues with using Bulk Insert when the data file is on a network share when using Windows Authentication. What is known is that the SQL Server service account has access to the network resource, which is shown by logging into SQL Server with a SQL account and doing the Bulk Insert. I also have rights to the files on the share, as shown by the fact that I put the files there. My SQL is in the form of:

Bulk Insert [table name] From '[server][share][filename]' With (FirstRow = 2, FormatFile='FormatFile.xml')

Now, when connecting to SQL Server with Windows Authentication and running the Bulk Insert I get the following error:

Msg 4861, Level 16, State 1, Line 2 Cannot bulk load because the file "[server][share][filename]" could not be opened. Operating system error code 5(Access is denied.).

I found this snip at

BULK INSERT (Transact-SQL)Security Account Delegation (Impersonation), which says, in part (emphasis mine):

To resolve this error [4861], use SQL Server Authentication and specify a SQL Server login that uses the security profile of the SQL Server process account, or configure Windows to enable security account delegation. For information about how to enable a user account to be trusted for delegation.

How to Configure the Server to be Trusted for Delegation, and we tried the unconstrained delegation and I rebooted the SQL server, but it still does not work. Later we tried constrained delegation and it still does not work.

I have verified the SPNs:

C:>setspn adsvc_sqlRegistered ServicePrincipalNames for CN=SVC_SQL,OU=Service Accounts,OU=Users,OU=ad domain,DC=ad,DC=local:        MSSQLSvc/SQLQA.ad.local:1433        MSSQLSvc/SQLDev.ad.local:1433        MSSQLSvc/SQLQA.ad.local        MSSQLSvc/SQLDev.ad.local
I have verified that my SQL connection is TCP and I am getting/using a Kerberos security token.
C:>sqlcmd -S tcp:SQLQA.ad.local,1433 -E1> Select dec.net_transport, dec.auth_scheme From sys.dm_exec_connections As dec Where session_id = @@Spid;2>
gonet_transport auth_scheme------------- -----------TCP KERBEROS(1 rows affected)1>

If I move the source file to a local drive (on the SQL server), all works fine, but I must be able to read from a file share?

View 8 Replies View Related

How Do I Check Whether The Sql Server Is Installed Or Not In The Particular Machine In A Network?

Mar 26, 2006

How do I check whether the Sql Server is installed in the particular machine in a network within the same domain? Suppose If i got a machine name as c-4200 in a network I need to display the all the database instances it has How do i do that?

View 1 Replies View Related

SSRS Report Access From A Network Machine

Mar 28, 2007

Hi,

I have created and deployed an SSRS report, which I am able to access from the same machine using the URL. But I am not able to access the URL from a another machine in the same network.

What could be the problem, do I need to make some configuration changes to the reporting server?

View 2 Replies View Related

MSSQL 2000- Backup Activity On A Network Machine

Dec 20, 2006

Hi,
I am using an Enterprise Manager and i have created a Database Maintainance Plan, can anybody guide me as to how to create backup on a remote machine.

I also mapped that device(say M/c B) onto my server box(M/c A) but i am not able to see that particular location in my backup activity screen.

Can this be done in the first place ?

Regards,
Tahir

View 7 Replies View Related

SQL Sever 2005 Write XML Data Stored In A Table Out To A XML File On My Local Machine

Mar 16, 2008

Hello All
Just wondered if someone could help me with a bit of T-SQL, i have a application in ASP.NET/VB that allows the user to update a message board by clicking a button "update" this in turn triggers my Stored Procedure for inserting this data into a table, which works great.
It inserts the data into its respective fields and also takes The Title, Line 1, Line 2 and so on and creates a XML file  (Using FOR XML) which is stored in the same Table under a column call XML_Data. Which again works great.
My problem now is how do i output this XML_Data to an actual XML file that is on my local machine, i.e. It be created in say C:Inetpubwwwrootxmlfiles("xml file name inserted here from another column that holds xml file name").xml
Any help on this would be greatfully apreciated
 Thanks In Advance
Neil

View 4 Replies View Related

Recovery :: Cluster Network Interface Error In AO Setup With HyperV Machine

Nov 13, 2015

Two node AO cluster setup.

I found errors frequently in cluster events at  logs as below

"Cluster network interface 'Node1 - 10.X.XXX.1' for cluster node 'Node1' on network 'Cluster Network 1' failed. Run the Validate a Configuration wizard to check your network configuration. If the condition persists, check for hardware or software errors related to the network adapter. Also check for failures in any other network components to which the node is connected such as hubs, switches, or bridges."

How to fix this issues? is it missing any patch OS or cluster side?

View 3 Replies View Related

Select Data From 2000 Machine From A 2005 Machine

Jan 17, 2008

Hi,

here goes the question:

i have 1 sqlserver 2k5 machine (machine A) and sqlserver 2k (machine b)

how do i build a query to select data from 2k machine in a query of 2k5?

i mean something like

select *
from login:passw@machineb.dabatase.dbo.customers

thanks!

View 2 Replies View Related

Select Data From 2000 Machine From A 2005 Machine

Jan 17, 2008



Hi,

here goes the question:

i have 1 sqlserver 2k5 machine (machine A) and sqlserver 2k (machine b)

how do i build a query to select data from 2k machine in a query of 2k5?

i mean something like

select *
from loginassw@machineb.dabatase.dbo.customers

thanks!

View 6 Replies View Related

File System Task Error When Using SQL Server Agent (when Move File On Network Drive)

Jun 8, 2007

I am able to run SSIS packages as SQL Server Agent jobs with a Control Flow items "File system task", if I move a file (test.txt) from a drive (c on the server (where SQL Agent jobs run) to a subdirectory on the same drive. But, if I try to move a file on a network drive, the package fail.



What I can do to solve this issue.



Bye!

Daniel

View 1 Replies View Related

How To Use .mdf/ldf File In Network

Sep 27, 2007



Hi,

I have installed SQL server 2005 in my machine. Now when we restore the database, I have check the size of database file .mdf/.ldf is very large. So now I wants to place these two files in any other machine in network.

But when I try to do the same, I am getting "Error 5110: network device not supported for database files.".

Please anyone guide me about the process. So that I can place these 2 files in another machine in network or any sharepoint.

Thanks

Regards,
Nipun

View 4 Replies View Related

SP To Write File On Another Machine

Feb 14, 2008

Hi,
I m new to SQL,I have created a Stored Procedure that writes a file on SQL server,but I want that it should write file on another machine.How can it be done.

View 2 Replies View Related

SQL Output A XML File To My Local Machine

Mar 17, 2008

Hi, i wondered if anyone could help me with my stored procedure.
It updates a table with users messageboard and saves the Title, Line 1, Line 2 and so on into a XML thats stored in the column named XML_Data.

How can i then output this xml to a file on my local machine?



T-SQL :-

ALTER PROCEDURE [dbo].[prUpdateMessageBoardVetted]

(PARAMS GO HERE)

UPDATE CustomerData
SET Title = @Title,

Line1 = @Line1,
Line2 = @Line2,

Line3 = @Line3,
Line4 = @Line4,

Line5 = @Line5,
Line6 = @Line6,

XmlFileName = @XmlFileName,
FlashFileName = @FlashFileName,

HtmlFileName = @HtmlFileName,
Vetted = @Vetted,

ClientName = @ClientName
WHERE

(UserRef = @original_UserRef)

END

BEGIN

IF @Vetted = 1

DECLARE @xmlData AS XML

SET @xmlData = (SELECT
UserRef,

Title,

Line1,

Line2,

Line3,

Line4,

Line5,

Line6

FROM dbo.CustomerData
WHERE (UserRef = @original_UserRef) FOR XML RAW('Message'), ELEMENTS)

SELECT @xmlData


UPDATE [dbo].[CustomerData]
SET

XML_Data = @xmlData
WHERE

(UserRef = @original_UserRef)



(THEN HERE DO SOME SORT PROCEDURE TO OUTPUT @xmlData to a XML FILE ON MY LOCAL MACHINE,

BUT ALSO NAME THE XML FILE VIA @XmlFileName BY DOING SOME SORT OF CONCANTENATION)

any ideas?

Thanks in advance !



Neil

View 1 Replies View Related

Client Network Utility Inf File?

Aug 25, 2006

Is there an INF file or a registry entry for the client network utility that I can move from machine to machine? I hate having to re-enter all of my SQL servers and alias' every time I install Tools on a new machine...Any help is greatly appreciated!!

View 1 Replies View Related

File Access On Network From MS SQL Server SP

Oct 25, 2006

Hi,

How can I read a file placed in a shared folder on a network from MS SQL Server Stored Procedure.

Thanks.

View 1 Replies View Related

File Access On Network From MS SQL Server SP

Oct 25, 2006

Hi,

How can I read a file placed in a shared folder on a network from MS SQL Server Stored Procedure. Is there any kind of set-up I have to do. Can someone please help I am very new SQL Server stuff.

Thanks.

View 4 Replies View Related

Attach Database File Over The Network.

Apr 25, 2007

Hello,

I have Sql Server in one pc and I want to attach one databse that is in another computer that doesnt have SQL Server. Sql Server doesnt permit UNC path when attaching database files. Is there anyway to workarounf this. Is Trace Flag 1807 of any use?

Thanks

View 3 Replies View Related

Sdf File On Shared Network Drive ?

Nov 29, 2007

I know , it is not going to work , just wondering if anyone could give any reasons for that. Whether it was intentional constraint or just internally compact edition was designed in particular way which makes such a usage not possible. It is a pity that it doesn't work that way as it would be much easier transitional path for many Visual Foxpro , MS Access applications.
In my case I just want READ-ONLY database either for multi-user access via shared drive or stand-alone on local drive.

View 1 Replies View Related

SQL Tools :: Ldf File Of 1 Tb From Location To Another On Network

Oct 12, 2015

We have 1 tb of dbsize of 3 different db which include ,mdf and log and mdf file and also how some sql jobs ile daily and weeklybackup jobs  .what is the best option to copy these db and sql jobs . Is there any tool tools available which can copy these file over the network .How much time will it take

1) If we go in for fullback and restore option ?
2) make the sql server db offfine and copy and paste these mdf ,ldf,log file to different location ? 
3) what would happen to the will database login accounts ,  cross database ownership chaining ? etc

View 2 Replies View Related

Get Local Machine Name In MSDE Setup .bat File

Nov 5, 2003

I have the following command in a .bat file

osql -E -S localhost sp_grantlogin 'GREGASPNET'"

What I would like to do is replace GREG with the name of the local computer this .bat file is being run on.

Is there any string for this... i.e [LOCALMACHINE]ASPNET or something like that?

Greg

View 1 Replies View Related

Local Storage In Client's Machine In .sdf File

Apr 2, 2008



How to create a db in clients local machine with sql server ce and .net?Is any sample applications available?so,that later i can sync the data to the sql server db.
Please help.I am new to sql server ce.

View 3 Replies View Related

Add Sdf File To My Project When All My Sources Are On Remote Machine

Sep 3, 2007

I posted this question in the past and did not get any answer.
I put all my sources on a remote server mainly for backup purposes (the remote server is backuped every day) but when I have the .sdf file I can not open it from the visual studio 2005 configuration server here is the description of the problem:
I have an application that runs on a PDA and manage a database (.sdf) file I use C# with visual studio 2005
What I want to do is to add the database file (.sdf) to my project files and open a connection to it.
The problem is that all my source file are stored on remote machine and not locally on my machine and the .sdf file is also stored with the project source files.
When I try to add the file to the project I get the following error fro the data source configuration wizard :

"An error occured while retrieving the information from the database"

DRIVE_REMOTE
Parameter Name : N:

I get the same error also when I try to open a new connection to the file from the server explorer. When i copy the file to drive "C:" I can open a connection to it with no errors.


View 4 Replies View Related

Export To Flat File Using T-SQL And Import To Another Machine

Jan 9, 2008



Hi,

I need to export some data from SQL 2005 to a flat file, The data and flat file names will be dynamic and will be be fired programaticaly so I can't use DTS or SSIS.

In SQL2000 I did it using bcp, but that's quite a security hole so I don't want to use external utilities. I'll need to do something similar on another machine to import the data as well.

I find it strange there's no easy way to do this!

Thanks.

View 4 Replies View Related

Uninstall On New Machine Causes Resource File Error

Dec 4, 2006

OK heres the deal, I just purchased a new dell and uninstalled the sql server. Now i am getting- Execution cannot continue as the language dependent resource fil could not be loaded. Any ideas where i could download it or where to get some answers??? My laptop is only 3months old what the fudge!!!!!!!!!!!

View 2 Replies View Related

Fastest Method To Copy A File Across Network?

Jul 23, 2005

I work with databases and some of my backup files are 30-100 gigs insize. I currently use the FastCopy utility to copy files from oneserver to another. (This is needed when I need to transfer a DB to adifferent server). FastCopy says its 30 to 50% faster than Windowsfile copy. I read somewhere that the windows kernel defaults to4mb/sec throughput for copying.Is this true? Is there a faster way or some utility to copy files?I'm aware of RoboCopy but the documentation didn't mention anythingabout faster performance. All my servers are windows 2000 NTFS.Thanks

View 3 Replies View Related

Creating A Semaphore File On A Network Drive

Jul 11, 2007

Good Morning,



I'm hoping that someone can help me. I have a SQL 2005 SSIS package that will run Friday mornings to empty/load a table with data from another database. On Friday evenings I'll need to run another package, but want to make sure the table load completed prior to launch. For this I planned to use a file watcher task, however I cannot for the life of me figure out how to output a 'done' semaphore, from the morning job, to a networked drive.



A file system task will not work because there is not a 'create file' option. I do not have an existing file that I can rename either.



I tried an execute process task running cmd.exe with the following argument:


Code Snippetecho Done> \NetworkedServerftprootLoad.Done

This fails because UNC paths are not recognized. (The package executes from another server so I cannot use a local path, nor am I allowed to set-up a local share.)



Can someone offer an alternative suggestion? I'm really hoping this is easier than I'm making it.



Thank you in advance,

Roger



View 3 Replies View Related

Is Replication Without Network Connection But File-based Possible?

May 9, 2006

Hello,

I've been looking around in several SQL-Forums and in SQL Books Online but haven't found clear suggestions how to tackle my problem:

Our company has to fill a database with documentation for our contractor. Our subcontractors have to supply information from their branch/craft into this database, too.

Replication (without determining a type at this time) would do fine for data-exchange between us and our subcontractors.

But for working in different companies the networks are not connected
and in some companies/departments connection to the Internet is prohibited at all.
This would result in data-exchange based on files - which wont be a problem as data needs to be updated/exchanged only once a week and is usually done at meetings using DVD-Rs.

scenario in short:
- two-way exchange of data between SQL servers being not connected
- update needed once a week
- our server: SQL Server 2005 Standard (preferred)
- servers of our subcontractors: SQL Server Express 2005 (preferred)

That's the point where I dont know how to proceed:
Is two-way replication based on files possible at all?

I read about Snapshots, but to my understanding this replaces the "whole database" without caring about changes made to it and that's why it wont work for two-way exchange.


I would appreciate your hints how to solve this problem in general or whether I should look out for other solutions - MS Access might work with restrictions - but I would prefer SQL Server.

Thanks for reading until here and in advance for your answers.


Regards,

Michael__H

View 6 Replies View Related

Reporting Services :: Why SSRS Is Looking For Using Machine Configuration File

Aug 6, 2014

I am using BIDS 2012.I am getting this error: Unable to load assembly U2.

Data.Client, Version=2.1.0.0, Culture=neutral , PublicKeyToken=9ab9148678f4f448, Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. 
---> System.IO.FileNotFoundException: Could not load file or assembly 'U2.Data.Client, Version=2.1.0.0, Culture=neutral, PublicKeyToken=9ab9148678f4f448' or one of its dependencies. The system cannot find the file specified.

[code]....

I am expecting
C:WindowsMicrosoft.NETFramework64v4.0.30319configmachine.config

how can I force SSRS to use "C:WindowsMicrosoft.NETFramework64v4.0.30319configmachine.config".

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved