Saturday, March 24, 2012

VS 2003 Web App vs. ASP.NET 1.0

I tried to open a new ASP.NET Web application using Visual Studio .NET 2003, and got a message that I had an ASP.NET mismatch.

I am using Windows XP Professional (serv pak 1a), which includes IIS version 5.1.

Here is the Error Message >>
ASP.Net Version Mismatch - Visual Studio.NET has detected that the Web server is running ASP.NET version 1.0. The Web Application you are creating or opening can be configured with ASP.NET 1.0. However the application will not be able to use new features from ASP.NET 1.1.

My question is how do I upgrade ASP.NET 1.1 on the server? Does this mean that I have to update my Windows XP Professional, which comes with IIS 5.1 ?The simplest thing to do would be to go to WindowsUpdate.com.
You'll probably get a lot more than .NET 1.1, by the way, like security fixes.
I'm having this same problem, though I'm running Win2k Pro. The thing is, I've made sure all critical and windows updates are installed, plus I've run the ASP.NET v1.1 redistributable package install and checked windows update again after that just to make sure I'm not missing anything. I'm really not sure what else to do beyond uninstalling IIS and reinstalling.

Any suggestions? Am I just missing something simple here? Thanks for any advice you can offer.

-jc
You may need to run "aspnet_regiis.exe -i" from your .net framework 1.1 folder.
Oh now don't I feel like an idiot :D

That was all I needed to do and everything is running perfect now. Thank you for pointing out the obvious (well not obvious to me!) I even remember reading that I might need to run that and I totally spaced it out. Ah well, it's all working now so I'm happy enough.

Thanks again!

-jc
Don't feel like an idiot. I had the same problem, how were we to know?. The help button on the dialog gave you information for another situation. Thanks to JimmyM, or I might still be doing worthless searches on MSDN.

Fred

0 comments:

Post a Comment