Solved

Visual Studio 2012 ftp Log On default

Posted on 2013-12-30
5
469 Views
Last Modified: 2013-12-31
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!
0
Comment
Question by:Starr Duskk
  • 3
  • 2
5 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 39748328
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
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 39748341
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
 
LVL 2

Author Comment

by:Starr Duskk
ID: 39748913
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
 
LVL 2

Author Closing Comment

by:Starr Duskk
ID: 39749059
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
 
LVL 2

Author Comment

by:Starr Duskk
ID: 39749066
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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question