Registering ASP.NET after IIS Installation

Posted by Johan Cyprich on 11 Aug 2009 | Tagged as: How To

If the IIS web server is installed after the .NET Framework was installed, ASP.NET web pages will not work. This issue will also occur if the web server is reinstalled. The reason for this is that the ASP.NET file extensions are not being associated with the IIS mappings.

How To Fix

This can be fixed with the following procedure:

  1. Go to the Windows command prompt by opening the Start menu, select Run, type cmd and press OK.
  2. When your in the command prompt, type

    "%windir%\Microsoft.NET\Framework\.NET_Version\aspnet_regiis.exe" –i

  3. Then register Aspnet_isapi.dll with the following command:

    "regsvr32 %windir%\Microsoft.NET\Framework\.NET_Version\aspnet_isapi.dll"

Example for Registering .NET 2.0/3.0/3.5

"%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe" –i
"regsvr32 %windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll"

If you running .NET 3.0 or 3.5, you need to use the above example for .NET 2.0. This version of .NET is installed with 3.0/3.5. The newest versions do not have the aspnet_isapi.dll files in their folders. This isn’t a problem because .NET 3.0/3.5 are simply v2.0 with extensions. More appropriates version numbers for the latest Frameworks should be 2.1 and 2.2 since they don’t add a great deal to v2.0.



Tweet This Tweet This Post!

Related posts:
    Problems Installing the DotNetNuke StarterKit
    Installing Fireboard in Joomla 1.5
    How To Use Microsoft SQL Server with Joomla 2.5
    Installing MediaWiki on 1&1

Share this post:

del.icio.us:Registering ASP.NET after IIS Installation digg:Registering ASP.NET after IIS Installation spurl:Registering ASP.NET after IIS Installation wists:Registering ASP.NET after IIS Installation simpy:Registering ASP.NET after IIS Installation newsvine:Registering ASP.NET after IIS Installation blinklist:Registering ASP.NET after IIS Installation furl:Registering ASP.NET after IIS Installation reddit:Registering ASP.NET after IIS Installation fark:Registering ASP.NET after IIS Installation blogmarks:Registering ASP.NET after IIS Installation Y!:Registering ASP.NET after IIS Installation smarking:Registering ASP.NET after IIS Installation magnolia:Registering ASP.NET after IIS Installation segnalo:Registering ASP.NET after IIS Installation gifttagging:Registering ASP.NET after IIS Installation

Follow Me:

Did you find this post interesting and useful? You can keep up to date on this blog by subscribing to my RSS feed, or you can have new posts sent to you by e-mail. You can also follow me on Twitter.


Trackback This Post | Subscribe to the comments through RSS Feed

Leave a Reply

CommentLuv badge