ASPX extension is missing in IIS

Before you can use ASPX pages in an IIS website you need to enable this Webservice Extension in IIS.
If you install IIS after the .NET framework was installed, it is likely that the ASPX extension is not registered in IIS.

To register it manually run the aspnet_regiis.exe application in the .NET framework folder.

Replace the <framework version> with the correct verion.

c:\Microsoft.NET\FRAMEWORK\<framework version>\aspnet_regiis.exe -i

NOTE: If you are running a x64 OS you will need to configure IIS so that is will run 32-bit applications. If not, the apsnet_regiis application will not work. An error message stating “The error indicates that IIS is in 64 bit mode, while this application is a 32 bit application and thus not compatible.”

To enable to run 32-bit applications on 64-bit Windows

1. Open a command prompt and navigate to the C:\Inetpub\AdminScripts directory.
2. Type the following command:

cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 true

3. Press ENTER.
Tagged with:
Posted in .NET

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: