无法解决错误HTTP状态407:需要代理身份验证 [英] Unable to resolve the Error HTTP status 407: Proxy Authentication Required

查看:212
本文介绍了无法解决错误HTTP状态407:需要代理身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在ASP.NET 2.0中有一个Web应用程序,它反过来调用驻留在同一台机器上的Web服务
(在.NET 2.0中为wrtten)。在调用Web服务时,我在Web应用程序中收到以下错误。我已经在服务器中部署了这个appl。

请求因HTTP状态失败407:需要代理身份验证(ISA Server需要授权才能完成请求。拒绝访问Web
代理服务。)。
在System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage消息,WebResponse响应,Stream responseStream,Boolean asyncCall)
在System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(字符串
methodName,Object []参数)

需要注意的一点是:
- Web应用程序和Web服务在一个共同的应用程序池下运行
- 应用程序池在公共域级服务帐户下运行
- Web应用程序和Web服务都在两个单独的网站下设置为单独的虚拟目录
- 这两个网站都使用单独的DNS主机条目和正在运行的端口80 - 使用Windows Integrated Auth.Anonymous Auth的两个站点都已关闭。



相同的代码库在单独的服务器上完全正常工作,具有相似的配置。

有关配置中应该交叉检查的内容的任何指示。我相当确定这不应该是代码问题。

解决方案

您好Saurangshu,
今天我遇到了同样的问题,我找到解决方案来解决它。

访问以下链接以查看解决方案: http://social.msdn.microsoft.com/Forums/en-US/netfxnetcom/thread/c603068f-1527-4530-9209-49251f8dcd31

希望它有所帮助

I have got a web appl in ASP.NET 2.0 which in turn calls a web service
(wrtten in .NET 2.0) residing in the same machine. While calling the web
service i get the below error in the web appl. I have deployed this appl in a
server.

The request failed with HTTP status 407: Proxy Authentication Required ( The
ISA Server requires authorization to fulfill the request. Access to the Web
Proxy service is denied. ).
at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)

Some points to note are:
- The web application and the web service run under a common application pool
- The application pool is running under a common domain level service account
- Both the web appl and the web service are set as separate virtual
directories under two separate websites
- Both these web sites use separate DNS Host entries and are running on
Port 80
- Both the sites using Windows Integrated Auth.Anonymous Auth is turned off.



The same code base is working absolutely fine on a separate server with
similar configurations made.

Any pointers on what should be crosschecked in the configurations. Am pretty
sure this should not be a code issue.

解决方案

Hi Saurangshu,
Today i got the same problem with you, i have found solution to resove it.

visit following links to see solutions: http://social.msdn.microsoft.com/Forums/en-US/netfxnetcom/thread/c603068f-1527-4530-9209-49251f8dcd31

Hope it is helpful


这篇关于无法解决错误HTTP状态407:需要代理身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆