May 26, 2010 at 10:22 am
hi,
When I run the following on the SQL server itself, it works (I am connected to sql using domaine account DOM/USRQL , sql service run under DOM/USRQL , DOM/USRQL is sysadmin )
create table #MFT_test (txt varchar(256))
BULK INSERT #MFT_test FROM '\\EUA-DC-VMAPP-05\ArchiveManagerFullTextIndex\test.txt'
SELECT * FROM #MFT_test
DROP TABLE #MFT_test
The same query DO NOT RUN , when I run it from a remote computer connected to SQL server
with DOM/USRQL
Msg 4861, Level 16, State 1, Line 1
Cannot bulk load because the file "\\EUA-DC-VMAPP-05\ArchiveManagerFullTextIndex\test.txt" could not be opened. Operating system error code 5(error not found).
Of course I gave full access to the share & to the file to DOM/USRQL
any ideas?
May 26, 2010 at 12:23 pm
well i'd guess it was permissions of the service account running SQL, even though you said it's got permissions;
if you have xp_cmdshell enabled, you could see if this returns results, which would prove whether the account running SQL Service has access or not to the shared folder where the file resides:
create table #Files (
FName varchar(1000))
insert into #Files (FName)
exec master..xp_cmdshell 'dir \\EUA-DC-VMAPP-05\ArchiveManagerFullTextIndex\ /b'
select * from #Files
Lowell
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply