Complete beginner question
-
Hi all, I have Visual Studio .NET, .NET framework, Windows XP pro, IIS 5. The problem is basically that I cannot get aspx pages to run. I made 3 files in notepad - test.html, test.asp and test.aspx in the c:\inetpub\wwwroot directory. They are all the same html file with different extensions. It is really simple and has no asp or aspx code. Accessing http://localhost/test.html or http://localhost/test.asp works fine. When I try to access http://localhost/test.aspx it doesn't work. I get an http error "Cannot find server - The page cannot be displayed". I must stress that I am a total beginner with Visual Studio .NET and ASP.NET!!! Thanks for your help.
-
Hi all, I have Visual Studio .NET, .NET framework, Windows XP pro, IIS 5. The problem is basically that I cannot get aspx pages to run. I made 3 files in notepad - test.html, test.asp and test.aspx in the c:\inetpub\wwwroot directory. They are all the same html file with different extensions. It is really simple and has no asp or aspx code. Accessing http://localhost/test.html or http://localhost/test.asp works fine. When I try to access http://localhost/test.aspx it doesn't work. I get an http error "Cannot find server - The page cannot be displayed". I must stress that I am a total beginner with Visual Studio .NET and ASP.NET!!! Thanks for your help.
-
Make sure you have installed IIS before you install VS.NET. Hope it helps :) "I dont have a life, I have a program." Also, I won't support any software without the
LeppieRules
variable. -
Nope! There is an article somewhere on MSDN library explaining how to register ASP .NET with IIS. You have to use the aspnet_regiis.exe tool from the Visual Studio .NET commandline (i think it was aspnet_regiis /i) This way you can register ASP .NET with VS. Cheers HTH Martin "Situation normal - all fu***d up" Illuminatus!
-
Did you install IIS ? What version of XP is it ? If it's XP home, you don't *have* IIS, if it's professional, I believe it's the same as W2000. There is no way to install IIS when installing Windows, you need to go back after installing and install it from the CD seperately. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002 Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002 Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002
-
Did you install IIS ? What version of XP is it ? If it's XP home, you don't *have* IIS, if it's professional, I believe it's the same as W2000. There is no way to install IIS when installing Windows, you need to go back after installing and install it from the CD seperately. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002 Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002 Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002