Changing web server for my project

James

Well-known member
Joined
Oct 3, 2002
Messages
78
Hi all,

In the last couple of weeks Ive been learning to use ASP.net. When I started learning, I used my PC as a web and sql server. Since more that one developer will be accessing the projects Ive decided to setup another PC to be the web and sql server so the resources on my PC will not be used by other developers. I already have all my files in the virtual directory on the new server but I dont know how I can get my Visual Studio .net projects to point to the new server. Is there a way that I can change the server that my projects are connect to? Im using Visual Studio.net


Please help.

James
 
You can map a drive to the server, but you wont be able to view/modify the Solution on 2 PCs at the same time unless you use Source Safe (Source Control).
 
I want the solution to stay on my PC. However, when I press the save button I want my files to also be updated on the server. I have a drive mapped but if I save the file it still saves to C:\inetpub\wwwroot\... instead of my map drive. When I open the solution I see that the project is connecting to the server on my PC. I want it to connect to the new server on another PC.

Thanks,

James
 
Right-click on the shorcut you use to open .NET, > properties > Start In.
Place the path of the folder on the server into Start in.
 
or open (in .NET) menu item Tools > Options > Projects and Solutions > and change the project location.
 
I could not get it to work. I wasnt trying to save my solution file, just the files that are stored on the server. The only way to solve my problem is to create a new project and and have the server location point to the new server.

Thanks,

James
 
Ok, I found the solution. Open your solution file in notepad and change the server location at the top.

James
 
Back
Top