Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Acces denied

Status
Not open for further replies.

AsWaM007

Programmer
Joined
Nov 24, 2005
Messages
5
Location
DE
I have an Exe file that does querry into sharepoints lists and SQL database, and it works great...
When i put this code in a WebService, even if i grant acces to NT AUTHORITY\NETWORK SERVICES to the SQL database i still have an "Acces denied" Error...
Can you help???
 
A WebService runs under the IIS worker thread/process, so you would need to grant permissions to that object, not the database.

Chip H.


____________________________________________________________________
Donate to Katrina relief:
If you want to get the best response to a question, please read FAQ222-2244 first
 
Thanks for your advise! but you know at the begining the error i had was something like check rights for NT AUTHORITY\NETWORK SERVICES. I also tried to grant acces to IWAM_ICMSDEV which is the local name of my IIS worker (at least i think so) but it does not change anything... what other name should i grant acces to?
should i use another authentification system?
should i specify it in web.config?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top