.NET     Console.WriteLine( "All Things .NET" );
.NET Nerd Blog Home
5.16.2003

 
ASP.NET -- Framework 1.1 Version Issues
ASP.NET - upgrading to framework 1.1
Compatibility Considerations and Version Changes from gotdotnet

aspnet_regiis.exe -i (find this in the .net framework directory)

When opening a project built with VS.NET 7.0 and Fwork 1.0, now that I've installed VS.NET 7.1 and fwork 1.1, got message that the asp.net config on this machine is still at 1.0. Should the project be set to be compatible with 1.0?

----
Still not sure what I did to fix it. Couldn't find much help on Google, etc. other than uninstall, reinstall asp.net mappings using aspnet_regiis.exe.
Even after -i (install) of the 1.1 framework, the IIS Mgr mappings GUI still shows 1.0 framework linkage -- for .aspx file, it load aspnet_isapi.dll
Finally went with these steps, and now it works (successfully upgraded the web project into 7.1 and fx 1.1), but not sure if I'm in a good state:

  1. Manually changed mapping in IIS GUI for .aspx to the 1.1 framework path to aspnet_isapi.dll
  2. Browse to page, get one liner error code - 0x80040005 -- not good.
  3. Manually changed it back to use 1.0 path to aspnet_isapi.dll for .aspx files.
  4. Browse to page, get same error - uh, oh...
  5. cmd prompt, run aspnet_regiis.exe -i in the 1.0 dir. This reinstates ASP.NET 1.0 to be the default setup. -lv after this confirms that 1.0 is mapped to all virtual roots
  6. cmd prompt, run aspnet_regiis.exe -i in the 1.1 dir. Now this "upgrades" things to 1.1
  7. Browse to page, get success!
  8. Open web project in vs7.1 IDE --- WOOT!! -- I no longer get the "server is 1.0" prompt, just get the "this project needs upgrading" message!


Only bummer now is, when look at mappings in IIS GUI, I see only the one setting for .aspx is set to 1.1 framework --- all others for other extensions are all mapped to framework 1.0 files. Not sure how good this is, when working in the future with SOAP, xml, web services, etc.

----

MSDN docs about ASP.NET versions on the machine, how to configure which apps run which versions, etc.
Although, can't quite get this working on my work machine. Even though all apps are apparently mapped to 1.1, they still run 1.0 (seen by viewing aspnet_wp.exe path in module list)

Side-by-Side Support in ASP.NET
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322>aspnet_regiis.exe -lk

W3SVC/ 1.1.4322.0
W3SVC/1/ROOT/ 1.1.4322.0
W3SVC/1/ROOT/Printers/ 1.1.4322.0
W3SVC/1/ROOT/webctrl_samples/ 1.1.4322.0


Windows Server 2003

"Secure by Default" - they aren't kidding. You have to enable the "Application Server" role to setup IIS. But now it still does not serve up ASP pages.

Go to IIS Manager, Web Service Extensions, select Active Server Pages, click "Allow".




Powered by Blogger