Visual Studio 2012 ftp Log On default

When I use the Website / Copy Website feature in Visual Studio 2012, it pops open a "Log On" panel holding previous settings to a website to publish to. It has the server IP and path loaded by default, as well as the User Name, etc. The IP and path are not editable.

I have to cancel and click "Connect" to load the settings I really want.

This would be a great tool if the default settings were what I needed, but it is taking me to a path I publish to very rarely. I would like to have it default to the path I publish to multiple times a day.

I have looked at all the possible settings available from the Visual Studio menu items and can't find where this data is stored.

Can someone help me find this so I can edit it or remove it?

thanks!
LVL 2
Starr DuskkASP.NET VB.NET DeveloperAsked:
Who is Participating?
 
Bob LearnedCommented:
Take a look here:

Remove Connections from MRU of Visual Studio 2005 Copy Web Site Tool
http://csc-technicalnotes.blogspot.com/2009/02/remove-connections-from-mru-of-visual.html

To remove a connection to a remote site that no longer exists, edit contents of:
C:\Documents and Settings\[user name]\Local Settings\Application Data\Microsoft\WebsiteCache\[Web Site Name]\PublishState.xml

Remove obsolete <RemoteSite> sections and corresponding <PublishStatus> sections.
0
 
Bob LearnedCommented:
When you publish a web site, you need to create a settings file.  I am not sure about how the Copy Web Site works--researching...
0
 
Starr DuskkASP.NET VB.NET DeveloperAuthor Commented:
That put me on the right track.

The paths have changed for Windows 7.

C:\Users\[UserName]\AppData\Local\Microsoft\WebsiteCache\WebSite(39)\PublishState.xml

I'll see if I can do it. thanks!
0
 
Starr DuskkASP.NET VB.NET DeveloperAuthor Commented:
worked perfectly! I also found it appears all the published files are stored there too, which I wanted to clean up as well, so I created a "default" version with just what I want for future if and when it gets mucked with junk again.

thanks!
0
 
Starr DuskkASP.NET VB.NET DeveloperAuthor Commented:
BTW, I was able to edit this in visual studio and expand it into editable XML while I was using the project (it's in one long line) and save it and it didn't muck anything up.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.