Last post Apr 24, 2011 08:08 PM by SuperRom
Feb 18, 2011 12:14 AM|SuperRom|LINK
Greetings fellow Progs,
THere is one page on my site that I am unable to page. When I attempt to page it I get the following error below:
I checked everything, yet I am unable to page the page. I am working on windows server 2008/ iis 7.
Any help would be appreciated.
Feb 18, 2011 01:16 AM|umairaslam22|LINK
Following are the main reasons
1. apache is running
2. your port is blocked
1. Restart your pc as well as visual studio
2. take a new blank project with one single default.aspx (dry run) and press F5
Check what is written in url place when 404 appeared
may b u have given spaces or some special characters in naming your page or folder in which your page resides
Feb 18, 2011 06:10 AM|forusree2111|LINK
Hi, Try to browse the same page from inetmgr and see if the same error 404 page appears.
Feb 18, 2011 06:27 AM|smirnov|LINK
What file extension is it and what directory. It might be blocked by IIS because of unknown/unsupported extension and because of reserved directory (such as app_data).
Feb 18, 2011 04:15 PM|SuperRom|LINK
Feb 18, 2011 07:59 PM|Swift Outlaw|LINK
Check to see if you still get a 404 without the query string. If not, then there is a problem with the way the query string is written.
Feb 20, 2011 01:06 AM|SuperRom|LINK
Below is a sample of the query string. I rechecked my code and every things is great. As can be seen by the
query string. Everything is correclty configured. Whats strange is every other aspx file works.
Feb 20, 2011 02:06 AM|BryianTan|LINK
Try it without the query string and see what happen.
Feb 23, 2011 09:52 AM|Ming Xu - MSFT|LINK
this is the only file with a very long query string needed to display the contents on the page.
According to your description ,for my experience you can use HttpRuntimeSection.MaxQueryStringLength Property to set or get the maximum possible length, in number of characters, of a query string in an HTTP request.
Please check the links below for more information:
Here is a thread which describes about the maximum length of QueryString,please check it and see whether it helps.
Hope it can help you.
Apr 24, 2011 08:08 PM|SuperRom|LINK
Found the answer @ http://www.iis.net/ConfigReference/system.webServer/security/requestFiltering
I came to the realization that it worked on the development environment but not in production. I used the same long URL
within a browser on the server and got the correct 404.15 error and this led me to the answer above. Thanks for all you guys help.