PDA

View Full Version : Building Web Applications with Kinook


dawson
12-03-2003, 11:30 AM
Hi,
I am trying to build a .NET Solution that contains a web project. Everything is C#.

The solution file has a reference to the Web Application that is http:\\localhost\logonapp\LogonWebforms.csproj. The project is located at C:\MyFiles\LogonApp\LogonWebForms.

When I build the solution using BuildIt, I create virtual directory called "logonapp" that points to the web application files (ie. C:\MyFiles\LogonApp\LogonWebforms). I use the following script:
vbld_CreateVirtualDir "C:\MyFiles\LogonApp\LogonWebforms", "logonapp". Then I build the solution.

Everything looks good in IIS, the virtual directory is there and pointing the right location with the proper .csproj files. However, during the project build the output states the following error:


Unable to open Web project 'logonapp'. The file path 'C:\Inetpub\wwwroot\logonapp' does not correspond to the URL 'http://localhost/logonapp'. The two need to map to the same server location. HTTP Error 404: Object Not Found------ Build started: Project: LogonComponents, Configuration: Debug .NET ------

I can't figure out why this happens. Any help would be greatly appreciated.

Regards,
Dawson

kinook
12-04-2003, 08:38 AM
The Make VS.NET action ultimately invokes the devenv compiler to perform the build, and that error message is actually produced by VS.NET. Something about your configuration is causing VS.NET to think the web site 'logonapp' maps to 'C:\Inetpub\wwwroot\logonapp' rather than 'C:\MyFiles\LogonApp\LogonWebforms'. In your IIS configuration, do you have a logonapp web app named 'logonapp' in additional to a virtual dir?