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/mywebsite

http://localhost/mywebsite

Scheduled Pinned Locked Moved ASP.NET
windows-adminquestion
4 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.
  • V Offline
    V Offline
    vinayh
    wrote on last edited by
    #1

    I just installed IIS and placed my website into the C:\Inetpub\wwwroot folder. Now I can't access it? I did not create a User name or Password so I don't know why I am being promted for one. When I try to access http://localhost/mywebsite , i get HTTP 401.1 - Unauthorized: Logon Failed. I cant even go to http://localhost/ with out getting the user and pass prompt? Anyone know how I can get ride of this. What a pain. How am I not authorized to view this?

    Vinay

    A T A 3 Replies Last reply
    0
    • V vinayh

      I just installed IIS and placed my website into the C:\Inetpub\wwwroot folder. Now I can't access it? I did not create a User name or Password so I don't know why I am being promted for one. When I try to access http://localhost/mywebsite , i get HTTP 401.1 - Unauthorized: Logon Failed. I cant even go to http://localhost/ with out getting the user and pass prompt? Anyone know how I can get ride of this. What a pain. How am I not authorized to view this?

      Vinay

      T Offline
      T Offline
      test 09
      wrote on last edited by
      #2

      Check permissions for mywebsite folder and in iis may be you have disabled anonymus access... Have a look at this link

      1 Reply Last reply
      0
      • V vinayh

        I just installed IIS and placed my website into the C:\Inetpub\wwwroot folder. Now I can't access it? I did not create a User name or Password so I don't know why I am being promted for one. When I try to access http://localhost/mywebsite , i get HTTP 401.1 - Unauthorized: Logon Failed. I cant even go to http://localhost/ with out getting the user and pass prompt? Anyone know how I can get ride of this. What a pain. How am I not authorized to view this?

        Vinay

        A Offline
        A Offline
        Ankur m
        wrote on last edited by
        #3

        Go to IIS (Run->inetmgr) Expand the Web Sites node, Right Click Default Web Site, select New-> Virtual Directory. Give alias and the path to your application and you are done. OR Right click the website root folder, select Properties. Select Web Sharing tab, Select 'Share this Folder'. You are ready Both the methods I have told you will enable you to run your website. I am assuming your are a beginner. And these are the simplest ways that will work for you. Web hosting in itself is a very big topic. :rolleyes:

        ..Go Green..

        1 Reply Last reply
        0
        • V vinayh

          I just installed IIS and placed my website into the C:\Inetpub\wwwroot folder. Now I can't access it? I did not create a User name or Password so I don't know why I am being promted for one. When I try to access http://localhost/mywebsite , i get HTTP 401.1 - Unauthorized: Logon Failed. I cant even go to http://localhost/ with out getting the user and pass prompt? Anyone know how I can get ride of this. What a pain. How am I not authorized to view this?

          Vinay

          A Offline
          A Offline
          A5KEXTREME
          wrote on last edited by
          #4

          Try this To resolve your Logon failure issue , try the following steps : 1. Go to Control Panel -> Administrative Tools -> Internet Information Services 2. Next, select Local comupter "Web Site" -> "Default Web Site" 3. Then click on the directory containing your site or if you are in the rool, click the folder with the "right Default Web Site". 4. Then under the "directory security" tab click the "Edit" under "anonymous access and authentication control". 5. Uncheck "Integrated Windows authentication" and then check "anonymous access " on top. Be sure to check "Allow the ISS .... control" Now you go and try new website. It should work. or have a look at this link http://support.microsoft.com/kb/896861[^] http://forums.iis.net/t/1155585.aspx[^] http://forums.techarena.in/networking-security/1267593.htm[^]

          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