Help for Newbie!

  • Thread starter Thread starter Damon
  • Start date Start date
D

Damon

Hi,

I am trying to open up a .vbproj in Visual Studio.Net 2003 but it come up
with the following error "Unable to open web project 'EntaWebMain'. The file
path 'C:\Inetpub\wwwroot\EntaWebMain\SDH' does not correspond to the URL
'http://LocalHost:/EntaWebMain.' The two need to map to the same server
location. HTTP Error 404: Object not found."

Does anyone have any idea why this is happening? I'm new to this and it is
very frustrating.

Thanks in advance for any help.

Damon
 
Damon,

Often is the reason for this kind of errors that you have no IIS webserver
installed on your computer.

You can install that by Add Programs -> Microsoft components.

I hope this helps,

Cor
 
Open the IIS Manager (Administrative Tools of Control Panel) and in the Web
Sites, Default Web Site check that you have really a virtual directory named
EntaWebMain pointing to http://LocalHost/EntaWebMain

If you are new it would be a good idea to create a dummy new Web Application
to learn the pieces of the puzzle:

- The .sln solution file in the "My documents\Visual Studio
Projects\WebApplication1" folder whose content points to, say:

Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApplication1",
"http://localhost/WebApplication1/WebApplication1.csproj",
"{1ACFF210-82A5-46B1-B32A-583F6EBF824B}"

- The .vbproj or .csproj project file in the
"C:\Inetpub\wwwroot\WebApplication1" folder

- The WebApplication1.csproj.webinfo file in the
"C:\Inetpub\wwwroot\WebApplication1" folder whose content is:

<VisualStudioUNCWeb>
<Web URLPath = "http://localhost/WebApplication1/WebApplication1.csproj"
/>
</VisualStudioUNCWeb>

- The IIS virtual directory (use the IIS manager) mapped to
"C:\Inetpub\wwwroot\WebApplication1".

If those pieces match, the it should work.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com
 
Hi,

Thanks for your reply. I have installed IIS on my machine but it is still
doing it. ANy ideas?

Thanks for the help

Damon
 
Damon,

Did you already create a new project with all defaults?

Enter enter enter etc.

Cor
 
Back
Top