Visual Studio 2003.NET and Virtual Server

Soldato
Joined
17 Jul 2005
Posts
3,193
Hi guys

Before any of ya say google, i've googled but majority of the solutions don't seem to work (and are all outdated, so presume people are using XP)

Brief outline of my setup..

Running Visual Studio .NET 2003 on a Vista machine (32 bit).

I've got Virtual Server 2004 running on the same machine which has Windows Server 2003 installed. This 2003 server has SQL 2005 installed (and working fine) and IIS with ASP.NET and Framework 2.0.

I can connect to the virtual server fine from all of the PC's on my network (not just the host machine), and can access the web server side of things. I've tested html, asp and aspx. files and they all work and run fine on all PC's.

Problem comes when trying to create a ASP .NET Web application through VS 2003. I get the following error...

'The default web access mode for this project is set to file share, but the project folder at http:\\serverip\WebApplication1' cannot be opened with the path \\serverip\WebApplication1. The error returned was...

Unable to create web project 'WebApplication1' The UNC Share \\mmpc2\WebApplication1 does not exist or you do not have access.

Now I've created a folder on my virtual server at root called WebApplication1. I've set a share and I also created a user on the Virtual Server Windows 2003 that matches my logon to Vista on the host machine. I've give all the apprpriate permissions to this folder. I've also configured this location in IIS on the server as a Virtual Directory that points at the correct location.

I've added a mime type that sets .tmp to text/plain.

It's strange because I can sit at the host machine and type http:\\serverip into IE and it'll load the directory... I can also edit, run and create aspx files.. can't understand the problem with VS!!!

Any more ideas? Is this simply a problem with Vista not authenticating or something? Any workarounds?

I'm currently working with IIS installed on the host machine, but ideally I would like to contain all my projects on the virtual server for neatness! (prefer to keep host machine free of crap)

Thanks for any advice
Steve
 
Daft one that always gets forgotton at work by people creating shares.

Have you set both the NTFS (Security Tab) and share permissions up? Quite often the lads at work forget the share permissions and only do the NTFS ones
 
first thing to do is narrow it down

is this a windows config error, or a VS error.

Try going to the file directly by doing start run \\mmpc2\WebApplication1

and see if it works. If it gives you the same error you know you've got DNS / permissions issues going on

if it works fine, its something peculiar about VS.
 
Back
Top Bottom