且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

尝试从ASP.NET使用Web服务时出现错误403

更新时间:2021-07-27 23:55:54

此问题与连接行为有关,并且此问题仅在本地服务器上存在.

This problem related connection behaviour and this problem will exits on local server only.

将站点托管在实时服务器上时,您需要删除代理详细信息,因为实时服务器与所有Web服务器都可以直接建立互联网连接.

When you hosted your site on live server ,you need to remove proxy details becouse live server have direct internet connection with all web server.

尝试使用此链接如何在webconfig中定义代理列表.您必须绕过proxyserver http://msdn.microsoft.com/en-us/library/kd3cf2ex.aspx

Try this link how to define proxy list in webconfig.You have to bypass proxyserver http://msdn.microsoft.com/en-us/library/kd3cf2ex.aspx

在服务器端调用中定义代理 http://forums.asp.net/t/1106772.aspx

Define proxy in server side call http://forums.asp.net/t/1106772.aspx