The test form is only available for requests from the local machine
2011-07-27 13:48
801 查看
web service在提供给别人调用时遇到问题,web service的URL能正常访问,但点击任何一个方法的链接均出现这样一行信息“The test form is only available for requests from the local machine.”
查找了下原因, 原来是web.config文件没有添加相应的节导致,只需添加以下节到web.config即可。
<configuration> <system.web> <webServices> <protocols> <add name="HttpGet"/> <add name="HttpPost"/> </protocols> </webServices> </system.web></configuration>
查找了下原因, 原来是web.config文件没有添加相应的节导致,只需添加以下节到web.config即可。
<configuration> <system.web> <webServices> <protocols> <add name="HttpGet"/> <add name="HttpPost"/> </protocols> </webServices> </system.web></configuration>
相关文章推荐
- The test form is only available for requests from the local machine解决
- 使用浏览器测试Web服务时出现提示“The test form is only available for requests from the local machine.”的解决办法
- Service部署到服务器后出现"The test form is only available for requests from the local machine"解决方法
- Webservice error, "The test form is only available for requests from the local machine"
- The test form is only available for requests from the local machine 解决方法
- Service部署到服务器后出现"The test form is only available for requests from the local machine"解决方法
- "The test form is only available for requests from the local machine"解决方法
- Asp.Net 之 WebService部署到服务器后出现" The test form is only available for requests from the local machine "
- 【转】The test form is only available for requests from the local machine 解决方法
- 测试webservice的时候,如果出现这个错误:"The test form is only available for requests from the local machine"
- 20100811 学习记录2:Webservice error, "The test form is only available for requests from the local machine"
- Webservice error, "The test form is only available for requests from the local machine"
- The test form is only available for requests from the local machine解决方案
- WinServer 之 发布WebService后调用出现" The test form is only available for requests from the local machine. "
- The test form is only available for requests from the local machine 解决方法
- 关于发布webservice提示The test form is only available for requests from the local machine
- "The test form is only available for requests from the local machine"解决方法
- [Bug]The test form is only available for requests from the local machine.
- The test form is only available for requests from the local machine.
- The test form is only available for requests from the local machine