last day (15 days later) » 

18:43
1
Q: Openrowset is throwing error for file access as Access Denied

goofyuiI am getting Access Denied error .. Openrowset is throwing error for file access as Access Denied I tried running these 2 queries as well.. EXEC sp_configure 'show advanced options', 1 RECONFIGURE GO EXEC sp_configure 'ad hoc distributed queries', 1 RECONFIGURE GO SELECT * FROM OPENROWSET...

I think that your sql server service account does not have enough privileges on that share. Could you check the service account, and the permissions on the share? The DMV you could use is sys.dm_server_services
I agree with you.. it was working before... after db restore, this issue started happening. But How do i fix this ? What exactly i have to do with sys.dm_server_services syntax, i will do the same
Alright so, you could check (select * from sys.dm_server_services) on the sql server, and see what the sql engine account is. Afterwards, you can go to the share, (\\MySharedFolder\\TEST) right click properties and go to the security tab. If the sql engine account is not added, add it, and give it full control (which might be overkill, I should look into that). And then try again. If it is not added, check the permissions.
let me check and update you.. thanks again
Folder has "Everyone" and "System" access. Still, i am facing the error.
Hm, could you try adding the servic account, just in case? Then that is completely off the table.
18:43
Hello Randi.,.
I have another server... i tested this query and folder connection .. it works great from another server. However this specific server / database which i am trying to access this folder path is not working
i am checking this link.. please give me a min
18:58
They say that kerberos is a possible issue here
aka double hop, or the acc credentails not being passed over
19:20
Hello Randi.. thank you for your help..
Hey, no problem, what's the status?
whatever you mentioned related to authentication is very helpful.. My Network Admin.. has to include the SQL Authentication ( User Account ) in his folder accessible previliage . .. "Everyone" will not be helpful. It has to be specific to the user account
Doing so.. was able to over come
Oh great!
Glad it helped, and have a good new years!
Merry wishes, Happy New Year my friend :)

last day (15 days later) »