Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2003

    Unanswered: HTTP Error 404: Not Found

    I am trying to build an ASP.NET project and I am getting popular error:
    The default Web access mode for this project is set to file share, but the project folder at 'http://localhost/WebApplication1' cannot be opened with the path 'c:\inetpub\wwwroot\WebApplication1'.

    I have a virtual directory in Default website pointing to c:\inetpub\wwwroot\WebApplication1

    Unable to create web project 'WebApplication1'. The file path 'c:\inetpub\wwwroot\WebApplication1'
    does not correspond to the URL 'http://localhost/WebApplication1'.
    The two need to map to the same server location. HTTP Error 404: Not Found.
    Ofcourse name of my actual project is different. This project is already developed. I am just trying to build it but

    I cannot even open it using VStudio .NET 2003. When I try to open the project I get above error.

    I tried putting MIME type/extensions of .tmp text/plain. I restarted IIS after doing this but no luck.

    Any ideas?
    Thanks in advance.

  2. #2
    Join Date
    Dec 2003

    file path does not coorespond to URL

    Hi there, I was getting the same error and tried many solutions found from forums with no luck. I was trying to get a website working and carelessly changed some settings in IIS. If you havent found a fix yet, try this. Note these steps are from XP pro, win2000 should have similiar steps.
    Open IIS console, expand to the Default Web Site folder and right-click, select Properties. Select the Web Site tab. In the Web Site Identification area, make sure (All Unassigned) is selected from the drop down list. I had my IP address listed in this drop-down box and it was using the IP instead of localhost. Hope this helps.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts