Link to home
Create AccountLog in
Avatar of Christoff Botes
Christoff BotesFlag for South Africa

asked on

Error when invoking a web service

Hi Experts,

We have a VB.Net 2005 desktop application that uses a web service to peform updates to a SharePoint 2003 portal.  When invoking the web service from the machine on which it is hosted via Internet Explorer and running the required methods, all works fine.  

When we invoke the web service from the VB.Net application from a network machine, we get an error that reads "Request failed with HTTP status 401: Unauthorized".  We are also not able to open the web service via IE from the remote box.  IE displays a message that "You are not authorized to view this page" after prompting for a network username and password.....

The application pool of the web service is set to run under the same domain account as the SharePoint services.  When we change the account under which the web service runs to "Network Service" the "..status 401 ..." is solved but we run into "The Web site referenced here is not in the configuration database"

Sharepoint's databases are on a different machine than the other SharePoint components.  

We are now unsure of which application pool to use and under which accounts it should run.

Please assist
SOLUTION
Avatar of Naga Bhanu Kiran Kota
Naga Bhanu Kiran Kota
Flag of India image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
ASKER CERTIFIED SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account