Link to home
Start Free TrialLog in
Avatar of vulpine
vulpine

asked on

Setting up ASP.net with IIS 5.1

I use windows XP Pro and I want to set up ASP.net. I have installed IIS 5.1, .NET Framework 1.1 and .NET SDK, but I cannot get ASP.net to work! How do I set up IIS so that it will parse ASP.net pages????
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

Have you copy your files typically into the Inetpub folder? Have you create a site, virtual folder following there? My experience tell me .NET Framework installed, then do the 'typical' site setting and your .aspx should run properly. We need more information here, maybe you can tell us what the error message you've received?

Related info that may useful:
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/windowsserver2003/proddocs/standard/aaconaspnetsetup.asp
Avatar of vulpine
vulpine

ASKER

Ok heres what ives done.
I have windows XP Pro. I have Visual Studio .Net 2002 installed and with that .net framework 1.0. I then installed 1.1 through windows update. Then I recently decided to get into ASP.net, so I installed IIS 5.1 from the XP cd. Now the server works fine, I have tested it with some old ASP 3 scripts I had. But when I came to test ASP.net using scripts from a book I purchased they do not run. ie the server does not parse the script it mearly shows blank areas and such. I am wondering whether i need to add an isapi filter or anything in the IIS control panel?

Thanks
iis must be installed AFTER .net is installed to work properly for asp.net. this is a little-known fact. uninstall iis and reinstall it. the safest road would be to uninstall both iis AND .net, then reinstall .net AND THEN iis, in that order.
ASKER CERTIFIED SOLUTION
Avatar of AndresM
AndresM

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vulpine

ASKER

SweatCoder what u say is what i did. I had the .NET framework installed before IIS. I think you mean the opposite, install IIS before .NET? Then it would automatically register it?

Thanks to Andres for solution!
Sweeeeeeet! This was it.
I had .NET 2003 installed but did so after IIS.
Do not know if it makes a difference, I uninstalled IIS and reinstalled.
Then I found this site and ran this command and all was well.
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i
I was having the same problem on IIS 5.0 and ASP.Net 1.1, but it completely vanished after running the aspnet_regiis.exe - i install command on the command promt.