访问MS CRM 自定义web service 碰到的错误: FIX Request format is unrecognized for URL unexpectedly ending in

Adding a new web service to an application today so that I can delay loading some web user controls and ran into this 500 Error when calling the web service:

Request format is unrecognized for URL unexpectedly ending in /GetHtml

Found this KB article with the fix:

Add the following to web.config since GET and POST are disabled by default in ASP.NET 2.0 and greater:

<configuration>
    <system.web>
    <webServices>
        <protocols>
            <add name="HttpGet"/>
            <add name="HttpPost"/>
        </protocols>
    </webServices>
    </system.web>
</configuration>
posted @ 2011-03-18 13:14  无尽思绪  阅读(634)  评论(0编辑  收藏  举报