Long time back I had writtten article on How to Install IIS Server on Windows 7:? With this step I ws able to run asp pages and parse them well.
Still, we have’nt installed ASP.NET, that means we can’t run any .ASPX files. You may end up getting following error .
Why it happens ?
After installing the Microsoft .NET Framework Software Development Kit (SDK) or Visual Studio .NET, Microsoft Internet Information Service (IIS) mappings are created to associate the new file extensions and settings for ASP.NET. If IIS is not installed when the SDK or Visual Studio Setup is run, or uninstalling and reinstalling IIS after the SDK or Visual Studio Setup was run, those settings will not be in place. Unexpected behavior can be experienced when trying to view ASP.NET pages because IIS does not have the correct mapping for the ASPX file extension.
To install ASP.NET follow the steps:
Before we proceed I would like to suggest Log in to Administrator account else you may end up with insufficient priveledge message errors.
Go to the place where you installed the .NET Framework: ‘C:\WINDOWS\Microsoft.NET\Framework’
There should be a folder similar to ‘v1.1.4322′ (your version of .NET).That is if you have Latest Dot NET 4.0 then the folder name would change correspondingly. Note the same and let’s continue:
Open the MSDOS Command Prompt (Start WIn+R and type ‘cmd’).At the command prompt type (replace ‘vxxxxxx’ with your version):
%windir%\Microsoft.NET\Framework\vxxxxxx\aspnet_regiis.exe -i
After it finishes, you have one more step:
1.Open ‘Run’ from ‘Start Menu’ and type:
regsvr32 %windir%\Microsoft.NET\Framework\vxxxxxx\aspnet_isapi.dll
Again, by replacing ‘vxxxxxx’ with your version.
2.Press OK, wait, and you should receive a confirmation message.
To test it, make a test.aspx file in the folder that you typed in the ‘Local Path’ (‘C:\Server\iis’ for example) with your code.
Finally you would be able to run Aspx pages in IIS server flawlessly!





{ 3 comments… read them below or add one }
Hey! Is it okay if I go a bit off topic? what is IIS ? Thank you for the help I hope! Elton
Thanks this made for intresting reading. I adore your wordpress theme, i frequently come back here and i dont know why. I just genuinely like your site lol… I recently read something simular to this i think they may of stolen your blog?
I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post.