Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Complete beginner question

Complete beginner question

Scheduled Pinned Locked Moved ASP.NET
helpcsharphtmlasp-netdotnet
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    antbates
    wrote on last edited by
    #1

    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.

    L 1 Reply Last reply
    0
    • A antbates

      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.

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #2

      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.

      A 1 Reply Last reply
      0
      • L leppie

        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.

        A Offline
        A Offline
        antbates
        wrote on last edited by
        #3

        I had Windows 2000 installed first, then added in IIS 5. After that, I installed VS.NET. After that I upgraded to XP. Do I need to re-install VS.NET?

        M C 2 Replies Last reply
        0
        • A antbates

          I had Windows 2000 installed first, then added in IIS 5. After that, I installed VS.NET. After that I upgraded to XP. Do I need to re-install VS.NET?

          M Offline
          M Offline
          Martin Haesemeyer
          wrote on last edited by
          #4

          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!

          1 Reply Last reply
          0
          • A antbates

            I had Windows 2000 installed first, then added in IIS 5. After that, I installed VS.NET. After that I upgraded to XP. Do I need to re-install VS.NET?

            C Offline
            C Offline
            Christian Graus
            wrote on last edited by
            #5

            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

            A 1 Reply Last reply
            0
            • C Christian Graus

              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

              A Offline
              A Offline
              antbates
              wrote on last edited by
              #6

              I registered the files and re-installed IIS. Seems to work now. Great! Thanks for all your help guys, would have been lost otherwise.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups