| Author |
Message |
complete Ronin
Joined: 12 Apr 2007 Posts: 27
|
Posted: Tue Dec 18, 2007 11:15 pm Post subject: setting up IIS for ASP.NET |
|
|
Just when I thought things were going smoothly, I decided to install some ASP.NET sample code. The installation gave me an error saying that I needed to install the latest version of IIS.
So went into the control panel to add IIS like this:
But now, something strange is happening. It is almost as if I have taken one step forward and two steps backwards. Even the most simple ASP.NET program (one I generate without modifying any code at all) produces this in the browser window when I build it and run it:
Is there some sort of special routine I need to do for IIS? |
|
| Back to top |
|
 |
aschenta *narf*
Joined: 07 May 2003 Posts: 542 Location: Windsor Ontario Canada
|
Posted: Wed Dec 19, 2007 8:00 am Post subject: |
|
|
run "aspnet_regiis.exe - i" from the .net framework folder. You have to enable it for use in IIS.
example:
CD "c:\Windows\Microsoft.NET\Framework\v2.0.50727"
aspnet_regiis.exe -i
Replace that with the appropriate location of the appropriate framework version.
Within IIS itself if you are registering .NET 2.0 or above you may get an ASP.NET tab in the website properties. Make sure the correct .NET version is selected. |
|
| Back to top |
|
 |
|