SQL Server permissions problem

From: Mihaela M. (mihaela.mesaros_at_s-concept.net)
Date: 08/04/04


Date: Wed, 4 Aug 2004 22:57:41 +0300


Hello.

Here is my problem.
I have a CSV file on a server, let's say "server1".
I have also a stored procedure, into a SQL Server database, which is located
on another server, let's say "server2".
These 2 servers are in the same network.

I need to connect from the stored procedure to the CSV file, using
OPENDATASOURCE, like this:
OPENDATASOURCE(''Microsoft.Jet.OLEDB.4.0'',''Data
Source=\\Idd1\test_files_import\1_files;Extended
Properties="text;HDR=Yes;FMT=Delimited"'')...CLASSES#CSV
It gives the following error:

Microsoft OLE DB Provider for SQL Server error '80040e14'

[OLE/DB provider returned message: '\\Idd1\test_files_import\1_files' is not
a valid path. Make sure that the path name is spelled correctly and that you
are connected to the server on which the file resides.]

The path is valid, I'm sure about it. Maybe it is a users permissions
problem.
Shouldn't I set permissions for SQL Server user for this folder?
But what user SQL Server uses?

Thanks for any help!



Relevant Pages

  • RE: SBS 2003 Unable to connect to database STS_Config
    ... Uninstall the SQL server from the SBS 2k3 server from add/remove programs ... Uninstall Microsoft SQL Server Desktop Engine (SHAREPOINT) ... If AV software install any extra IIS virtual directory, ...
    (microsoft.public.windows.server.sbs)
  • Re: Memory issues with 64-bit SQL Server 2005 on 64-bit Win 2003 C
    ... I also checked the individual patch levels for the .NET drivers, SQL Server ... The SQL Server is fully patched, however Windows Update reported that the OS ... Lock pages in memory -- I guess you might have taken care of it as well. ...
    (microsoft.public.sqlserver.clustering)
  • RE: migrating from wmsde to sql server
    ... Click Start, point to All Programs\Microsoft SQL Server, and then click ... then click New SQL Server Registration. ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • RE: SBS 2003 Unable to connect to database STS_Config
    ... Uninstall the SQL server from the SBS 2k3 server from add/remove programs ... Uninstall Microsoft SQL Server Desktop Engine (SHAREPOINT) ... If AV software install any extra IIS virtual directory, ...
    (microsoft.public.windows.server.sbs)
  • Re: Best replication architecture?
    ... Looking for a SQL Server replication book? ... So if it is subscribing to Publisher 1, ...
    (microsoft.public.sqlserver.replication)