I have a website, which runs perfectly in IIS 7.5
. but the same site with same configuration is not working properly in IIS 8.5
. i am passing an system string variable in URL and it shows me
HTTP Error 404.19 - Not Found error.
So i am not able to catch the exact issue. All things are same for both IIS except IIS version only. So i need your thoughts for the problem. So that I can also look into this. Unfortunately I am new in .net, so need basic answer(s). Thanks.
If I pass "&system=value1"
in URL for IIS8.5
then it stops working, even this also didn't generate any log for this. So please help me for this.
I just Came to know that if i use "sys" word in Query String then its giving error. How to avoid this issue now?
I had this issue after switching from an Azure app service to DiscountASP.net. I had to add the following to the web.config
in my site's folder to fix the IIS config:
<system.webServer>
<security>
<requestFiltering>
<filteringRules>
<remove name="facebookexternalhit" />
</filteringRules>
</requestFiltering>
</security>
</system.webServer>
The first time I tried this it did not work. However, I emailed support and they explained THEY had to fix it "at the root." So, fwiw this DOES work, but in a shared hosting environment, you may need to put it in the server's web.config, possibly replacing the rule name to what's appropriate for your hosting provider.