views:

529

answers:

5

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?

+5  A: 

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.

sgwill
+2  A: 

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.

Gabriel
A: 

Open desiner.cs file Type some text in it Delete the text you have typed. Save and build the application.

Jitendra Kumar
A: 

Closing the solution and deleting the Temporary ASP.Net files directory fixed this for me. [link]

Mufasa
A: 

this one has worked for me:-- "Open desiner.cs file Type some text in it Delete the text you have typed. Save and build the application"

Thanks a lot Jitendra Kumar!!

Yit