How can I delete/clear the site Publishing credentials (password, etc.) for a local site without opening that site?
-
Saturday, October 27, 2012 6:10 PM
EW4SP2 freezes when I open my local site (as explained here).
I think the solution might be to clear the publishing credentials. But I can't open the local site so do that so I need to just erase/clear/reset that file outside of EW4.
Anyone know where that's stored?
All Replies
-
Saturday, October 27, 2012 7:40 PM
If the problem is indeed your login credentials/connection settings, then you don't even need to do that. Simply create a new folder somewhere, then copy (using Windows Explorer) your current site content from its current location into that new folder.
Now when you open EW, use "Site|New Site..." to open that folder a s new site. As a new site, it will have no Connection Settings established, so if that was in fact the problem, you will be able to open and edit the site.
Anyway, give that a try and see what happens... ;-)
cheers,
scottPlease remember to "Mark as Answer" the responses that resolved your issue. It is common courtesy to recognize those who have helped you, and it also makes it easier for visitors to find the resolution later.
-
Saturday, October 27, 2012 9:37 PMCopying your site files to a new folder and having EW open it as a fresh new site is worth a try to fix the freeze, but I doubt it will have anything to do with publishing credentials. (A) They didn't change (per your other thread) and (B) EW doesn't use them (or care if you have set any) to open a local site.
-
Saturday, October 27, 2012 11:20 PM
Good point, Kathy. Personally, I don't think that's the problem either. No amount of malformed publishing settings/credentials should cause a program abend. Given the offer (in the OP's other post) to debug the program when it crashes, I think the problem is an unhandled runtime exception, and if I were a betting man, I would bet that it's in one or more dotNET or WPF modules. Just sayin'...
cheers,
scottPlease remember to "Mark as Answer" the responses that resolved your issue. It is common courtesy to recognize those who have helped you, and it also makes it easier for visitors to find the resolution later.
-
Sunday, October 28, 2012 12:02 AM
I created a new folder, opened that "site" and closed it.
Then copied my files from the "problem" folder and tried to open that site again. Same problem (EW freezes when opening that site).
BTW, the reason I think the problem MIGHT be publishing credentials is that I've seen something similar to this where I was trying to publish and it hung. I had to do a restart and it kept freezing like it is now when opening that site. It SEEMED like maybe it was trying to finish publishing when I opened the local site.
-
Sunday, October 28, 2012 3:12 AM
If you followed the procedure I suggested and created a new site, then it cannot have been the publishing credentials causing the issue. A new site has no publishing credentials until you open the site and use "Add a publishing destination" to invoke the "Connection Settings" dialog and enter your connection parameters and credentials.
Therefore, since EW crashed immediately upon trying to open the site after the files were transferred into that new folder, no publishing destination yet existed, and the problem must be with one of the files comprising the site.
cheers,
scottPlease remember to "Mark as Answer" the responses that resolved your issue. It is common courtesy to recognize those who have helped you, and it also makes it easier for visitors to find the resolution later.
-
Sunday, October 28, 2012 3:21 AM
Ditto what Scott said.
You can try creating another new site, and moving files over one or several at a time, opening and closing the new site, until you narrow down the file or files that cause the freeze. Then you can create a site without those files, then recreate the missing file(s) cleanly and see if that solves it.
Also, copy only your files over, not the vti folders EW makes. It will recreate them as needed in the new site.- Edited by KathyW2 Sunday, October 28, 2012 3:25 AM

