The request failed with HTTP status 401: Unauthori
I am currently having problems with access rights to the web services on a local Intranet site. The site is installed on a Windows 2000 server and uses integrated windows security to enable access to the site and services. Anonymous access is switched off. All the clients are running on Windows XP and both the server and clients belong to the same domain. The code uses the "CredentialCache.DefaultCredentials" to identify users and when they access the site via the web browser it works quite happily. However, there is also a windows application which utilises Web services which fails with the above message. The code originally worked, but I believe due to an unknown change in our infrastructure is now failing. If I run the application on the server and specify "localhost" it works quite happily. Still running it from the server if I then change "localhost" to the fully qualified name it fails. Yet when I manually use the same address of the services in a web browser it quite happily navigates there and provides the service. At first I was getting a message about the service being closed and I thought it may be to do with a known ".Net" bug. However, I now believe it may be related to security. The only additional information I get relating to the error is as follows " _COMPlusExceptionCode: -532459699".
|