Ask a Question related to ASP.NET Web Services, Design and Development.
-
Scott O'Donnell #1
request failed with HTTP status 407: Proxy Authentication Required
Hi all.
I have been strugling with trying to get access to a web reference in my web
project that is outside my firewall (ISA 2000 server running on Win 2k3
server). I have researched this issue thoroughly reading up on kb articles:
307220; 330221; 318140 as well as numerous posts related to proxy issues but
have had no luck resolving this issue.
As of this writing I have done the following in various combinations:
1) modified web.config and/or machine.config with:
<code>
<identity impersonate="true" userName="myUserName" password="myPassword" />
<system.net>
<defaultProxy>
<proxy usesystemdefault="false" proxyaddress="http://myServer:8080"
bypassonlocal="true"/>
</defaultProxy>
</system.net>
</code>
2) modifications to VB class:
<code>
Dim ws As New myWebService
Dim oProxy = New WebProxy(myProxy, True)
ws.Proxy = oProxy
Dim oCredentials As New NetworkCredential("myUserName",
"myPassword", "myDomain")
ws.Credentials = oCredentials
Dim strMyResult As String = ws.MyMethod(myParam)
</code>
In my dev environment I can modify the configuration of the proxy server.
When I turn off authentication everything works fine. If I turn on
authentication (any type (all permutations of Basic/Digest/Integrated)) the
request fails with a 407 error.
I have done everything I can to resolve this issue on my own. Any help
would be greatly appreciated!
Thanks in advance for your time.
Scott
Scott O'Donnell Guest
-
web server gets "The Request Failed with HTTP Status 400: Bad Requ
On the development server we don't get this issue. Security is a concern on the live server. What do I do to make the production server run the... -
The request failed with HTTP status 401: Unauthorized.
I have a web service that has been working before but now I am getting: The request failed with HTTP status 401: Unauthorized. This is to the... -
The request failed with HTTP status 403: Access Forbidden
I was doing a load testing on web application and got this error from my web service when I increased trxs. anyone knows anything about this? Is... -
request failed HTTP status 417
I wrote a web service and a seperate client program that works fine on the local machine. When I deploy the service to an internet host and try to... -
The Request Failed with HTTP Status 401: Access Denied
I have a webservice that returns a simple string. The security for this is set to windows authentication in IIS (XP Professional) and anonymous...



Reply With Quote

