get_aspx_ver.aspx

 18 Jul 2003 | Programming

Finally I get a solution to my missing get_aspx_ver.aspx 404 and alert email:

"VS.NET looks for this file if it needs to determine what version of the framework you're using. Since it doesn't care about the contents of the page, it just looks in the headers and ignores the Internal 500 message. -- The file doesn't exist, but VS has to call *something* to get a response header."

"It's not actually a problem, it's "supposed to work that way". Heh whatever. It's still a pain. Suggested workarounds from Microsoft include changing your error handler to ignore calls to the file or to just create an empty one."

Comments

On 14 Aug 2003, Kent Tegels wrote:

Thanks for posting this, it was driving me nuts figuring out where and why.

On 20 Aug 2003, an anonymous reader wrote:

On 31 Aug 2003, an anonymous reader wrote:

I am trying to make a new app on a remote FPSE 2002 server and I get an error message returned that says HTTP 500 error. I check the logs and it checks for the same file name in the path for the app and also the root path. I tried placing an empty file but to no avail.

Any suggestions?

On 10 Oct 2003, Thomas Baker wrote:

If the page being looked for is get_aspx_ver.aspx then you have the "problem" above which is no problem at all - just ignore it.

But if the page giving the error is something else altogether then it could be any number of problems with that page.

On 05 Nov 2003, Scott Cate wrote:

Thanks, this just solved a 404 Database mystery? What's this page in my 404Table?

On 05 Dec 2003, Drew wrote:

this should help you..

in global.asax, put this in

protected void Application_BeginRequest(Object sender, EventArgs e)
{
string url = Request.ServerVariables["URL"].ToString();
if(url.IndexOf("get_aspx_ver.aspx") >= 0)
Response.End();
}

Add a Comment

All fields are optional (except comment!). Email addresses will never be used for spam and will not be displayed on the site. IP is logged.

Your name:
Your email address:
Your comment:
No HTML. Put spaces around URLs. Use absolute URLs with protocol (for example, /news/).

Mail me when someone replies to this thread (How do I unsubscribe?)