Asp.net question about IIS and virtual directory

Discussion in 'C#' started by progfrog, Jun 12, 2008.

  1. #1
    hi everyone!


    I'm new in asp.net area and i tried to do something simple that didn't come out well: i added a new virtual directory to the IIS server that contains a simple html file. when i tried to run it with the iis in this path: http:// localhost/MyFolder/example/1.htm (something like that.. i just did the browse and added the file)

    A pop -up messege came out and requierd a username and password. since i didn't have them, it says that i'm not authorized to run the page, why?

    is it concern with the fact that i'm not the admin of the pc since i'ts a computer that belongs to my collge?

    need you asap

    :(
     
    progfrog, Jun 12, 2008 IP
  2. dgxshiny

    dgxshiny Greenhorn

    Messages:
    65
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    23
    #2
    Check the permissions on the physical folder itself. If you cannot change those permissions, you can put it in a folder parallel to any other website on the server (like the c:\inetpub\wwwroot folder).
     
    dgxshiny, Jun 12, 2008 IP
  3. centsi

    centsi Active Member

    Messages:
    83
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    56
    #3
    make sure that the IUSR has permissions on the files and directories
     
    centsi, Jun 17, 2008 IP