If you continue to have problems with gaining access to a web service you may try these simple steps to isolate the problem.
Attempt to enumerate the web service interface through a web browser
Open Internet Explorer and type in the URL of the web service you are attempting to communicate with. If you see the web service interfaces enumerated as a list of methods, that indicates the ASP.NET account and version are specified correctly on the web service properties section. If it fails, review the Web Site Settings section above.
Specify a local administrator for the identity settings
Using the Web Configuration Utility, use a local administrator for the identity settings using the clear text option. Make sure the password in the web.config matches what you think you have entered. The local administrator typically has sufficient privileges to run the web service. If the web service starts to work, review the difference in permissions between the local administrator and the account you wish to use with your system administrator.
Specify a local administrator for the web site Directory Security anonymous access account
The web site may also have security context controlled through the anonymous access account specified in IIS.
- Open Internet Information Services through the Computer Management Console.
- Select the web site to configure.
- Select the Actions | Properties menu option.
- Select the Directory Security tab.
- Click the Edit... button under the Anonymous access and authentication control section.
- Enter the local administrator user account and password to use for authentication.
If the web service starts to work, review the difference in permissions between the local administrator and the account you wish to use with your system administrator. Enable Logging
Using the Web Configuration Utility, enable logging for the web service in question. Look in the web services log directory for output to see detailed output.
|