Error Connecting To Undo Manager Of Source File C#
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 '09 at 12:47 sgwill 3,42362637 add a comment| up vote 4 down vote I have face the same problem. And I solved it by exclude this file from project and rebuild solution. Then include this file again...DONE! GOOD LUCK! share|improve this answer answered Jun 5 '14 at 6:49 TrieuH 42039 add a comment| up vote 3 down vote I faced the same error now. I had to just open the designer file while editing the aspx file and once done, save both. You don't even have to type any text in the designer. That did the trick! share|improve this answer answered Dec 14 '11 at 16:50 Artin 3251411 add a comment| up vote 1 down vote Open desiner.cs file Type some text in it Delete the text you have typed. Save and build the applicatio
little irritating, especially considering this is Visual Studio 2005 SP1. I'm getting this, now, for one file, every time I run my application. The way I "fixed" it was to exclude the file from the Web Application Project, recompile, then re-include, the recompiles. Seems to me that the error handler that threw this message box should spend more time fixing the problem automatically and less time informing me of a problem I can do little about. Maybe that's just me. Technorati Tags: ASP.NET, Bug, Visual Studio «A Toy Train for Z | Blog Home | Teaching Children and http://stackoverflow.com/questions/892754/error-connecting-to-undo-manager-of-source-file-xyz Kids to Program th...» About Scott Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author. About Newsletter Sponsored By Hosting By Comments [7] Share on: Twitter, Facebook, Google+ or use the Permalink Thursday, 14 June 2007 23:22:04 UTCI get that too, amazingly annoying.Ayende RaheinFriday, 15 http://www.hanselman.com/blog/ErrorConnectingToUndoManagerOfSourceFileQuotwhateverDesignerquot.aspx June 2007 02:11:46 UTCA few times I started a compile and came back and noticed that it stopped because of this stupid message which doesn't seem to affect anything.AbduFriday, 15 June 2007 10:35:51 UTCI hope the person who have written this piece of code reads your blog... and he's already fixing it! I got it too, and it's irritating!gloubidouFriday, 15 June 2007 16:00:24 UTCA simpler two-step fix is to:1) Right-click the designer file and select delete2) Right-click the aspx file and select Convert to Web ApplicationI get this frequently too, and I think it stems from some sequence of editing the aspx file while the app is running in debug.matthewWednesday, 04 July 2007 14:15:38 UTCHey Matthew, cheers for the tip! works beutifullyAlejandroWednesday, 08 August 2007 10:47:54 UTCMatthew, thanks a lot for the solution:) it works!!!alinTuesday, 14 August 2007 21:16:28 UTCAwesome solution Matthew! Thanks!!don Comments are closed. Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way. Blog Latest Greatest Hits Dev Tool List Podcast Hanselminutes This Developer's Life Ratchet & The Geek Speaking Speaking/Videos Presentations Tips Books ASP.NET 4.5 ASP.NET MVC 4 Relationship Hacks © Copyright 2016, Scott Hanselman. Design by @jzy
error connecting to undo manager of source file Solution 1: The first fix in my case was to close all instances of Visual Studio, re-open them, recompile and run my application. This fixed http://www.blakepell.com/Blog/2015/01/06/visual-studio-error-connecting-to-undo-manager-of-source-file/ the error in my case. I have also read that making a change, saving it, undoing the change and then saving it again will also fix the error. In my case this was a Winforms application that was calling a C# class library (the file in question being in the C# library). Possible Solution 2: This did not work for me but has error connecting been reported to work for others. Make a change to the file in question, save it, then undo the change and save it again. Possible Solution 3: Scott Hanselman blogged back in 2007 that he was able to exclude the file in question from his project, compile, then include the file and recompile and that fixed the error. Here is a link to his error connecting to entry on that subject: http://www.hanselman.com/blog/ErrorConnectingToUndoManagerOfSourceFileQuotwhateverDesignerquot.aspx Post navigation ← Install-Package : The current environment doesn't have a solution open. Changing column lengths in SQL Azure → Search for: Recent Posts How to target x86/x64/Any CPU in .Net Core Accessing the Session in ASP.NET Core 1 How to get the current route in a view with ASP.NET 5 / MVC 6 Debugging not working in Visual Studio 2015 ASP.NET MVC - Sharing a Session between controllers Archives July 2016 January 2016 December 2015 November 2015 September 2015 August 2015 July 2015 June 2015 April 2015 March 2015 February 2015 January 2015 December 2014 November 2014 September 2014 May 2014 January 2014 December 2013 November 2013 October 2013 September 2013 August 2013 July 2013 June 2013 May 2013 April 2013 March 2013 February 2013 January 2013 December 2012 November 2012 October 2012 September 2012 August 2012 July 2012 June 2012 May 2012 April 2012 March 2012 February 2012 January 2012 December 2011 November 2011 October 2011 September 2011 August 2011 July 2011 June 2011 May 2011 April 2011 March 2011 February 2011 January 2011 December 2010 November 2010 October 2010 September 20