Tim Maxey .NET Technology Blog & Resources

Sunday, February 08, 2009

Webservice error on the server, but not my local box

My webservice call to, example: service1.asmx/myfunction just wasn't working on the server, but on my local box it worked great, so I had to add entries in the web config...

This needs to go between your <system.web> tags in the web.config

<webServices>
    <protocols>
        <add name="HttpGet"/>
        <add name="HttpPost"/>
    </protocols>
</webServices>