Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change Web Access Method in VS.NET 2005 1

Status
Not open for further replies.

bboffin

Programmer
Nov 26, 2002
553
GB
I have a web project that I started to develop in VWD 2005. I now have a copy of VS.NET 2005 Professional and I want to add my solution to source control. The web project is on my own development PC using the local IIS.

When I try to do this VS tells me
Microsoft Visual Studio cannot add FrontPage Web Sites to source control.

Use Visual Studio to save all Web Site files. Then from the web server, use the Windows Control Panel, Administrative Tools, and the Internet Services Manager to add the files to source control.

In VS.NET 2003 there was no such restriction and what is more I could have simply changed the Web Access method for the project to File Share and the problem would have been avoided.

The advice given is also rather confusing as I have no idea how to put something under source control from the Internet Services Manager.

Can somebody please tell me how to:
a. change the web project's access mode to File Share
or
b. add the files to source control from Internet Services Manager



Bob Boffin
 
You can go to the properties pages of the project. Go to Start Options. Under the Server section, click on Use Custom Server. In the BaseURL textbox type:
 
I see where you mean but the 'Use Custom Server' radio button is grayed out and I can't select it.

Any idea how to get round this?


Bob Boffin
 
I am not sure why it is greyed out for you. Sorry, I don't have an answer for you. Maybe you can find something on MSDN?
 
I finally resolved this but only by creating a new Web Site in VS 2005 and adding all the files from the VWD project to it. I was then able to add the new solution to source control without a problem.

It would appear that there are some incompatibilities in the Solution/Project files between VS 2005 and VWD.

Maybe this is something MS could resolve with a wizard to upgrade from VWD to VS?


Bob Boffin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top