Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

ASP.Net not opening existing project!

After installing 80GB hard disk into my computer system, I installed Visual Studio 2003 software into my system. When I want to run my existing project, it displays the error:

"Unable to open Web Project 'Project_Joe'. The file path 'C:\Inetpub\wwwroot\Project_Joe' does not correspond to the URL 'http://Localhost:/Project_Joe'. The two need to map to the same server location. HTTP Error 404: Not found"

I cannot even create a new project because it displays an ASP.Net Version Mismatch error.

What should I do? :(

Please email the solution to mrwolf_86@hotmail.com
[633 byte] By [dreamkiller] at [2007-11-11 10:12:43]
# 1 Re: ASP.Net not opening existing project!
What is the ASP.NET version mismatch error? What version of .NET was your application created under?
pclement at 2007-11-11 23:12:00 >
# 2 Re: ASP.Net not opening existing project!
The error says that it needs ASP.Net 1.1 or make the application compliant to ASP.Net 1.0, but when I choose ASP.Net 1.0, I don't see any action performed. Where could I get ASP.Net 1.1, does Visual Studio 2005 has ASP.Net 1.1 or 2.0? :(
dreamkiller at 2007-11-11 23:13:05 >
# 3 Re: ASP.Net not opening existing project!
ASP.NET 1.1 is Visual Studio 2003. In what version of Visual Studio did you develop this application?

Could you provide the *exact* ASP.NET error message please?
pclement at 2007-11-11 23:14:03 >
# 4 Re: ASP.Net not opening existing project!
I have resolved the issue of ASP.Net by installing Visual Studio 2005. Now I am very new in this Visual Studio 2005, I need to add 'System.Data.SqlClient', where could I add this library from? :confused:
dreamkiller at 2007-11-11 23:15:04 >
# 5 Re: ASP.Net not opening existing project!
It's included in the .NET Framework. From the menus you can bring up the Add Reference dialog and then select it from the list to add to your project.
pclement at 2007-11-11 23:16:03 >
# 6 Re: ASP.Net not opening existing project!
Thanks, I have found the 'Add Reference' menu! My next problem is, I have installed Oracle 9i in my computer system so it is using the localhost port, so I am unable to run my ASP.Net web applications from the localhost. From which file or scripts shall I be able to configure the localhost for the web applications, also tell me the file's location if possible!
dreamkiller at 2007-11-11 23:17:13 >
# 7 Re: ASP.Net not opening existing project!
If port 80 is in use by Oracle then you will probably need to change this in IIS under the Web Site properties (Control Panel...Administrative Tools...Internet Information Services applet). For the address you would need to specify http://localhost:PortNumber/appname in the browser.

During development you can also use the Visual Studio web server, instead of IIS, and specify a port or use random generated ports. The configuration for this is on the Web tab for the Properties of the web application project.
pclement at 2007-11-11 23:18:11 >