webservice request form is unrecognized for url unexpectedly ending in

这个错误是在发布了webservices后报出的,在web.config中加入

<configuration>
    <system.web>
    <webServices>
        <protocols>
            <add name="HttpGet"/>
            <add name="HttpPost"/>
        </protocols>
    </webServices>
    </system.web>
</configuration>

加入后报http 500服务器内部错误,然后将ie进行设置internet选项-高级-显示友好错误信息 对勾去掉,显示出详细信息,原来是权限不够造成的

原文地址:https://www.cnblogs.com/songling/p/2425769.html