Sharepoint document library share and windows service access
I have a windows service that I am trying to use to access a MOSS 2007 file share (from a library)
In windows explorer I can access the share using the credentials I want to use by just inputting \\server\folder\library just like a normal file share.
WHen my server attempts to access the same share I get an access denied error.
On my local machine I can do everything but on our windows 2008 server it cannot. I can't get any other information other than 'access denied' so is there a way to get a more detailed error or trace what is happening?
So again:
In windows 2008 I can access the share in explorer but windows service cannot
On my local machine (XP) the service can access the share.
I am impersonating a specific account in my app.config and telling the service to use the same account under the 'log on' tab in the service properties.
the accounts I am using have access to the document library.
July 12th, 2010 2:38pm
hi,
I know this problem. Go in to Services.msc click on that service and go to properties of that service.
In that Go to Log On tab here you give user as SharePoint Site administrator user. And now check the Windows service.
Hope this will helpful.Thanks Shrivallabh Kulkarni
Free Windows Admin Tool Kit Click here and download it now
July 12th, 2010 4:51pm
one possible issue, the service does not run on the same server as sharepoint. It runs from another server. I have tried telling the service to log on as a user that has access to the sharepoint server and that user also has access on the server where the
service is run from.
I've tried all of this.
July 12th, 2010 5:40pm
no one has any ideas?
Free Windows Admin Tool Kit Click here and download it now
July 13th, 2010 6:12pm
I think we've tried just about everything.....
Server can't do it, local machine still can....
July 16th, 2010 6:22pm
I have found one way to do this.....
I have to programatically create a drive share that maps to the sharepoint share and then i can access the files. using just the UNC name I cannot.
Free Windows Admin Tool Kit Click here and download it now
July 19th, 2010 2:02pm


