Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Putting Project Somewhere Other than InetPub/wwwroot
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Putting Project Somewhere Other than InetPub/wwwroot
Miscellaneous
Thread ID:
00749664
Message ID:
00749664
Views:
82
I don't want the files for an ASP.NET project in C:\InetPub\wwwroot; I want the files for this project in D:\MarWebProject. I've tried everything I can think of to have the web site created where I want it created:

1. Used IIS Manager to create a virtual directory in D:\MarWebProject. VS.NET will create the project in the correct location but starting the app for debugging yields an error message:
Error while trying to run project: Unable to start debugging on the web server. 
Server side-error occurred on sending debug HTTP request.
Starting without debugging yields a VS error in the browser:
Access denied to D:\MarWebProject directory.  
Failed to start monitoring directory changes.
2. Created the project in VS.NET, copied the files from C:\InetPub\wwwroot to D:\MarWebProject. Well, that doesn't work either; you can't change the path to the real directory in IIS Manager (you can't even hack the MetaBase because it isn't stored in a drive:\directory format or a //machine/directory format)

3. Tried installing the FrontPage Server Extensions into D:\MarWebProject because I noticed that webs created with VS.NET have the _vti folders but webs created with IIS Manager don't. That didn't help either.

I've searched MSDN and Google searched trying to find some answers. Found plenty of information on getting started with ASP.NET but nothing on setting up a proper, well-organized development environment. Surely you don't mean everything has to be dumped on the system drive?

Does anyone know the magic Microsoft spell to make this work?

Roger
Next
Reply
Map
View

Click here to load this message in the networking platform