Solved

Visual Studio 2012 ftp Log On default

Posted on 2013-12-30
5
475 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

717 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