473,398 Members | 2,188 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Problems when the project folder is not under Inetpub\wwwrot

My project folder path is c:\Projects\FinWeb. I set up FinWeb virtual folder
in IIS and pointed it to that path. I can access the web site via
http://localhost/FinWeb.

However, when I try to add FinWeb web project to a solution by using Add
Existing Project from Web, the project isn't there (not under localhost). I
can point to c:\projects\FinWeb and add the project this way and everything
works fine, but when the solution is opened again, VS.NET cannot find
http://localhost/FinWeb/FinWeb.csprj file. So I have to go to the physical
page again..

It appears that VS.Net uses localhost web folder and this web folder does
not have FinWeb. It looks like web folder ignores virtual folders? I am not
quite sure why it happens...

Thanks,

-Stan

Nov 18 '05 #1
2 1720
Hi Stan,

From your description, you create a virtual folder with a specified
physical path(other than the wwwroot path), and host a web application in
it. Then, when you try use "add existing proejct from web" in VS.NET , you
need to manually speicify the .csproj file to add it to a solution. Also,
when you close and open the solution again, you'll encounter "VS.NET cannot
find http://localhost/FinWeb/FinWeb.csprj file" error, yes?

What's the OS version and IIS version / vs.net VERSION on your machine?
Regarding on your description, I've also done some tests on my side:

I done the following test on both Win XP Pro and Win2k server machine:
1.create a vritual folder under the default site and point its home
directory to a physical folder(not under wwwroot).

2.Deploy an asp.net web project in the virutal folder created in #1
(Modified the project's .csproj.webinfo file so that it can be correctly
opened in vs.net)

3. Open a certain .net solution and use the "Add Existing project from web"
and specify the project's web path , yes, the csproj file not display in
the folder and I manually browse to the directory and select it. After add
it into solution, it can work well.

4. Close the soluton and open again, the web project can still be opened
correctly without error.

So the different result between our tests are the #4 ,yes? Are you sure
that you can directly open the single Webproject in VS.NET by clicking its
.csproj file? Is the "Web UrlPath" info in the .csproj.webinfo file
specified to the correct thing? Also, you can manually open the .sln file
via notepad to see whether the webproject's info are set as the correct
value.

In addition, have you tried create a new solution and add the web project
and close/open again to see whether the problem occur?

If you have any other findings, please also feel free to post here. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #2
Hi Stan,

Have you got any further ideas on this issue? If there're anything else we
can help, please feel free to post here. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs...
5
by: moondaddy | last post by:
I'm setup with a new ISP where we were given an account which we could setup multiple domains. To do this we were given a root directory where we setup a folder for each domain. then we mapped...
2
by: njr | last post by:
Having copied a number of folders from my development PC (XP) to a development server (W2003) and installed them under wwwroot (and created applications in IIS) I have problems when I include the...
4
by: JM | last post by:
Hi, I am an old programmer who is only just getting back into it after about 10 years, and for the life of me I can not work out what I am doing wrong. Firstly, I've recently downloaded and...
2
by: just_out_for_fun | last post by:
Hi, hope you guys can help. I have set up a simple one table db to play with using VB express and the form sees data already entered but when I use the save button on the form it does not change...
5
by: Richard J Foster | last post by:
Hi there, I have a pair of C# projects in VS2003. The first project, a dll, is referenced in the second via a project reference. The assemblies in question are delay-signed during a...
1
by: TC | last post by:
I'm using Visual Studio 2005 with SourceGear Vault. I'm having trouble with the integrated source code control features. I think the problem is entirely with Visual Studio, not Vault. First, let...
2
by: =?Utf-8?B?VG9ueSBHaXJnZW50aQ==?= | last post by:
Hello. Trying to develop ASP.NET Web Application Project using Visual Studio 2005, SP1, Web Application Projects 2005, .NET Framework 2.0.50727.42, ASP.NET 2.0.50727.210, in Visual Basic on a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.