Error Connecting To Undo Manager Of Source
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error Connecting to Undo Manager of Source File XYZ up vote 21 down vote favorite 2 I've been getting an error recently while debugging an ASP.NET application in Visual Studio 2008: 'Error connecting to undo manager of source file XYZ' Any idea how I can get rid of the error? asp.net visual-studio visual-studio-2008 share|improve this question asked May 21 '09 at 12:45 sgwill 3,42362637 add a comment| 9 Answers 9 active oldest votes up vote 16 down vote Even simpler: My experiment consisted of simply opening the designer.cs file, typing a character somewhere in the file, deleting the new character, saving the file and recompiling. Found on That One Developer Blog and it worked perfectly for me. share|improve this answer answered Aug 3 '09 at 2:37 Gabriel 1,2121119 1 For anyone arriving here looking for the same error with later versions of VS and with WPF, I found the same issue, which was only fixed after following this process, but NOT saving the file. –pm_2 Nov 13 '13 at 14:40 add a comment| up vote 14 down vote accepted Wouldn't you know it; just after I post this I find a workaround in Scott Hanselman's Blog, in the comments: 1) Right-click the designer file and select delete 2) Right-click the aspx file and select Convert to Web Application Thanks to Matthew, whomever you are. share|improve this answer edited May 21 '09 at 14:58 answered May 21 '
Studio 2005 sp1 Read the resolution here http://www.hanselman.com/blog/ErrorConnectingToUndoManagerOfSourceFileQuotwhateverDesignerquot.aspx No Comments Terms Of Use - Powered by Orchard
simply edit both the .aspx and .cs files and recompile. You don't have to change the http://paraswadehra.blogspot.com/2012/11/error-connecting-to-undo-manager-of.html files, you can just add and delete a character - enough to set the "changed" flag, and that should solve your problem. Hope it helps! -Paras http://development.thatoneplace.net/2009/03/error-connecting-to-undo-manager-of.html Wadehra Twitter: @ParasWadehra Posted by Paras Wadehra at 11:57 AM Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest Labels: Error, Paras, ParasWadehra, source file, Undo error connecting Manager, Visual Studio, Wadehra No comments: Post a Comment Newer Post Older Post Home Subscribe to: Post Comments (Atom) Blog Archive ► 2015 (2) ► December (1) ► November (1) ► 2014 (13) ► December (1) ► November (1) ► October (1) ► August (2) ► June (1) ► May (1) ► error connecting to March (3) ► February (1) ► January (2) ► 2013 (8) ► October (1) ► September (1) ► July (1) ► June (1) ► May (1) ► February (3) ▼ 2012 (12) ► December (4) ▼ November (3) Nokia DVLUP program Mobile App Hackathon Error connecting to undo manager of source file ► October (1) ► September (1) ► June (1) ► May (1) ► January (1) ► 2011 (5) ► November (1) ► September (1) ► June (1) ► March (1) ► January (1) ► 2010 (2) ► August (2) ► 2008 (1) ► March (1) INETA Community Champion Amazon Contextual Product Ads About Me Paras Wadehra Paras is a Microsoft MVP, mobility architect, experienced speaker, and a vocal developer advocate. Paras is also a seasoned developer/architect with over 15 years of experience in the industry. View my complete profile Subscribe Contact Me Name Email * Message * Tweets by @ParasWadehra Powered by Blogger.
couple of times where I get an error that states:Error connecting to undo manager of source file "MyControl.ascx.designer.cs" (I've seen it with an aspx.designer.cs too.)I don't know what the cause is, but I have a sneaking suspicion that the culprit in both of my cases was merge operations from source control interactions where, for whatever reason, my designer became out-of-sync or something with its ascx/aspx counterpart.After searching around the net, it seemed the most popular method of correcting the problem was to delete the designer completely, then run the option to convert the project to a Web Application.That option didn't sit right with me. I searched on.I found an article by Scott Hanselman that discussed excluding the designer from the project, recompile, re-include, recompile again. That seemed a much more fitting solution to me; but I wondered if it could be even easier. So I tried an experiment.My experiment consisted of simply opening the designer.cs file, typing a character somewhere in the file, deleting the new character, saving the file and recompiling. The problem disappeared for me after that. (I will note that I cleaned the solution and rebuilt it prior to trying this, and that may be a required piece of the solution to the problem, but I would try the simple step first, then add in the clean/rebuild after.)I'm using Visual Studio 2008 SP1. I hope this helps someone else out there. Added to Source Control by That One Guy at 9:46 AM Labels: ASP.NET, Visual Studio 11 comments: Anonymous said... Rock on! This was the only thing that worked for me after trying several of the other suggestions! March 25, 2009 at 7:48:00 AM MDT That One Guy said... @Anonymous:Sweet! I'm glad we could help. It is incredibly annoying when that happens. :) March 25, 2009 at 8:36:00 AM MDT reeta said... Heaps thanks for such a simple solution. May 7, 2009 at 10:42:00 PM MDT That One Guy said... @reeta: I'm glad it worked for you too! Were you able to fix it without cleaning the solution? May 7, 2009 at 11:50:00 PM MDT Anonymous said... I use Visual Studio 2005 and I had to delete the .designer.cs file and then right click on the aspx file and choose "Create Web Application" as per 1 of the comments in http://www.hansel