Solved

Visual Studio 2012 ftp Log On default

Posted on 2013-12-30
5
464 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 1

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 1

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 1

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
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…
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

914 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

20 Experts available now in Live!

Get 1:1 Help Now