Solved

Visual Studio 2012 ftp Log On default

Posted on 2013-12-30
5
462 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:BobCSD
  • 3
  • 2
5 Comments
 
LVL 96

Expert Comment

by:Bob Learned
Comment Utility
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
Comment Utility
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 1

Author Comment

by:BobCSD
Comment Utility
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 1

Author Closing Comment

by:BobCSD
Comment Utility
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 1

Author Comment

by:BobCSD
Comment Utility
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

743 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now