Quantcast
Viewing all articles
Browse latest Browse all 26542

IIS ignores protocol permission in web.config

Hey

I've recently upgraded my web application (and IIS application pool) from a v1.1 to v4 pool.

My application has a folder with .asmx services expecting POST requests.

Before the migration, a <location> tag in the web.config specifying the POST permission did the trick and worked constantly:

<webServices>

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

</webServices>

Following the migration, after a seemingly random server uptime, the permission is being ignored and the POST requested are denied.

This of course can be fixed by causing an application pool (explicit recycle / changing the web.config / restarting the website),

but eventually this phenomena would repeat itself.

I've tried to apply the POST permission to the whole website by moving the permission out of the <location> tag

Alas, the problem still occurs

I'd appreciate your help with this.

Thanks,

Chen


Viewing all articles
Browse latest Browse all 26542

Trending Articles