get_aspx_ver.aspx

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."

23 Replies to “get_aspx_ver.aspx”

  1. 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?

  2. 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.

  3. 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(); }

  4. Hi, Stupid question, in which Global.asax should I put this script? I have a lot of global.asax on my machine. Thanks Marc

  5. The one that your website uses. You should have one in the root directory for each website you’ve created on that box.

  6. I have placed the global.asax in every directory I can find, and I still get the error. I have already uninstalled everything and reinstalled it. I am under Win XP and VS 2003 Enterprise. I have also done the Aspnet_regiis.exe -1 fix also with no effect.

  7. Funny that microsoft do strange things in application architecture design. 🙂 The better solution to solve this problem is just to make an empty pure HTML file and rename it to get_aspx_ver.aspx and put it to your application main folder. Then you do not get any error and all microsoft can get all the headers he likes!!! Viva Microsoft!!!!

  8. Robert, I used something like this for get_aspx_ver.aspx content and it did worked: Page not found…

  9. Robert, you may have a custom error handler setup for 404s. Try turning custom errors to Off in your web.config, or temporarily disabling the custom errors for 404. If this fixes it then your custom error redirection might be broken for this error.

  10. Put this into a notpad and Save as Get_aspx_ver.ASPX And then put it in your APP folder cursor:hand; } Get_Aspx_ver.aspx error. The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) may have been removed, had its name changed, or is temporarily unavailable. Review the following URL and make sure that it is spelled correctly. Requested Url: /appError.aspx

  11. This sounds like the error I get when I try to copy a VS.NET web project from one server to another. When I try to do this, I get “Unable to copy. VS.NET has detected that the specified Web server in not running ASP.NET version 1.1.” when in fact the server (WIn XP sp2) is running 1.1. The server I am copying from cannot determine that the ASP.NET version on the destination. Is this related to get_aspx_ver.aspx and custom error mappings on the destination IIS? I have tried cd windows/microsoft.net/framework/1.1.4322 aspnet_regiis -i on the destination server and it has no effect. Also I did regsvr32 aspnet.dll Succeeded but no effect. Also reinstalled VS.NET 2003 and 1.1, no effect, still can’t use project copy to that server from any other server.

  12. I just got the same problem tonight. Visual Studio .NET has detected that the specified Web server is not running ASP.NET version 1.1 I tried aspnet_regiis -i and that didn’t help. Any ideas? Also read and tried what MSDN said to do (although it mostly applied to Win2003). My dev box is XP.

  13. I faced the similar issue [Visual Studio .NET has detected that the specified Web server is not running ASP.NET version 1.1. You will be unable to run ASP.NET Web applications or services]. Following resolution worked for me. RESOLUTION (http://support.microsoft.com/default.aspx?scid=kb;en-us;817267) To resolve this problem, change the status of ASP.NET 1.1 to Allowed in the Web Service Extension list in IIS 6.0. To do this, follow these steps: a. Click Start, point to Programs, and then click Control Panel. b. Double-click Administrative Tools, and then double-click Internet Information Services (IIS). c. Click Web Service Extensions. d. In the details pane, click ASP.NET v1.1.4322 in the Web Service Extension list. e. Click Allowed to change the status from Prohibited to Allowed. ——————————– From: Vinni

  14. HI Vinni, Thanks for the solution. It worked for me. I was trying to resolve the issue from 4 days but in vain. Your solution really helped me.

  15. Go IIS Manager… Select the properties of the web instance. On the ASP.Net tab make sure you have the 1.1.4322 ASP.Net Version selected. This error occurs when the application framework does not match the ASP.Net version selected.

  16. @ Vinni I am currently using IIS 5.1. there is no web service extensions in version 5.1 . My devbox is XP. I have tried every thing including regiis -i,regiis -r ( with the correct version number corresponding to version 1.1) Any ideas how to solve this problem???

  17. i am having issue of application end being fired again and again, i have logged the last event that triggers it and it says change in global.asax. i dont change global.asax through the application and i am clueless on how to handle this one. i have verified the error on several machines and it doesnt have a scenario to trigger that. sometimes it doesnt occur for days and some days i get it multiple times. clients are becoming louder as they lose their work while using my application. any help on this will be appreciated. thanks guys.

Leave a Reply

Your email address will not be published.