dbTalk Databases Forums  

Bulk Insert Error

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Bulk Insert Error in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
vineetbatta
 
Posts: n/a

Default Bulk Insert Error - 09-01-2005 , 05:56 PM






i am firing the following from QA


bulk insert pubs.dbo.Orders from '\\<ServerName>\test\Orders.txt'
with (DATAFILETYPE = 'native')

This <ServerName> is not the servername of the SQL Box, but the remote box
where i have created the shared folder test with approrite permissions.

But i keep getting the following error
Could not bulk insert because file '\\<ServerName>\test\Orders.txt' could
not be opened. Operating system error code 5(Access is denied.).


is it supported with BULK INSERT.

--
MCAD
Vineet Batta

Reply With Quote
  #2  
Old   
Brian Lawton
 
Posts: n/a

Default Re: Bulk Insert Error - 09-02-2005 , 05:29 AM






BULK INSERT does support UNC file access across the network. The "Access is
denied." error looks like a Windows file permissions problem. Are you sure
that the SQL Server service account has permissions to access the share?

--
--Brian
(Please reply to the newsgroups only.)


"vineetbatta" <vineetbatta (AT) discussions (DOT) microsoft.com> wrote

Quote:
i am firing the following from QA


bulk insert pubs.dbo.Orders from '\\<ServerName>\test\Orders.txt'
with (DATAFILETYPE = 'native')

This <ServerName> is not the servername of the SQL Box, but the remote box
where i have created the shared folder test with approrite permissions.

But i keep getting the following error
Could not bulk insert because file '\\<ServerName>\test\Orders.txt' could
not be opened. Operating system error code 5(Access is denied.).


is it supported with BULK INSERT.

--
MCAD
Vineet Batta



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.