Opening an ASP.NET project
-
Hi, When trying to open an ASP.NET project (found on this site), I have the following error: Unable to open Web project 'Account'. The file path 'C:\Documents and Settings\Administrator\My Documents\Visual Studio Projects\UserAccountLogin' does not correspond to the URL 'http://Localhost:/Account'. The two need to map to the same server location. HTTP Error 404: Object Not Found. What do I have to do to open this project in Visual Studio ? Regards, Matthieu
-
Hi, When trying to open an ASP.NET project (found on this site), I have the following error: Unable to open Web project 'Account'. The file path 'C:\Documents and Settings\Administrator\My Documents\Visual Studio Projects\UserAccountLogin' does not correspond to the URL 'http://Localhost:/Account'. The two need to map to the same server location. HTTP Error 404: Object Not Found. What do I have to do to open this project in Visual Studio ? Regards, Matthieu
This is a common problem. Look at the .webinfo file and make sure the path specified there matches where you have the project. You must also make sure the the application is configured in IIS.
-
This is a common problem. Look at the .webinfo file and make sure the path specified there matches where you have the project. You must also make sure the the application is configured in IIS.
But what do I have to do to configue the application in IIS ? Thanks a lot, Matthieu
-
But what do I have to do to configue the application in IIS ? Thanks a lot, Matthieu
Go to Administrative Tools / IIS and right clik on Default Website then new/virtual directory and map it to the directory where you put your files (I see from your post that it's under My Documents/ Visual Studio Project/ that by default is not Web Shared) Also make sure to share on the network the directory with your files otherwise ASP user won't have permission to access it. Be sure to be working online. Check it in IE/File menu. Edd