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. http://localhost not working.

http://localhost not working.

Scheduled Pinned Locked Moved ASP.NET
helphtmlsysadminwindows-admin
3 Posts 3 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.
  • S Offline
    S Offline
    siddisagar
    wrote on last edited by
    #1

    i have given inetmgr in run my iis opened .I created one virtualDirectory and placed one.html and one.aspx files with same content. i am able to run one.html from browser . but i am getting page can't be displyed error for one.aspx page. My main problem http://localhost couldn't display default server page . So pls tell me what i have to do. Thanks inAdvance.

    H I 2 Replies Last reply
    0
    • S siddisagar

      i have given inetmgr in run my iis opened .I created one virtualDirectory and placed one.html and one.aspx files with same content. i am able to run one.html from browser . but i am getting page can't be displyed error for one.aspx page. My main problem http://localhost couldn't display default server page . So pls tell me what i have to do. Thanks inAdvance.

      H Offline
      H Offline
      Harini N K
      wrote on last edited by
      #2

      Hi, 1. If you are adding any .aspx, that file should be a valid .aspx file. i.e Page should have '<% @Page Language='C#' %>. Otherwise it will not display. 2. If the page is valid then you need to set default page. Open Inetmgr -> Right Click your web application -> Go to second tab 'Documents' -> Remove all files from the list -> And add your default page name. 3. If application files are in main folder (i.e wwwroot/inetpub) .. then it can be accessed using the link 'http://localhost. 4. If in some other folder then 'http:// (make sure that you have added default document as given in step 2). Hope this helps. Harini

      1 Reply Last reply
      0
      • S siddisagar

        i have given inetmgr in run my iis opened .I created one virtualDirectory and placed one.html and one.aspx files with same content. i am able to run one.html from browser . but i am getting page can't be displyed error for one.aspx page. My main problem http://localhost couldn't display default server page . So pls tell me what i have to do. Thanks inAdvance.

        I Offline
        I Offline
        icestatue
        wrote on last edited by
        #3

        Check and make sure that C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll is assigned to the Aspx extention in you application mapping dialog. You may have not installed .NET

        nothing

        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