If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > HTTP Error 404: Not Found

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-23-03, 18:27
codefreak codefreak is offline
Registered User
 
Join Date: Sep 2003
Posts: 10
HTTP Error 404: Not Found

Hi,
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

Error:
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.
__________________
Thanks.
Reply With Quote
  #2 (permalink)  
Old 12-01-03, 00:46
mmcclellan mmcclellan is offline
Registered User
 
Join Date: Dec 2003
Posts: 1
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.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On