[Solved] Error connecting to undo manager of source file

Here is the solution

1) Delete problematic  xxx.designer.cs

2) Right Click the file xxx.asc or xxx.aspx and click popup menu button “Convert to Web Application”

3) Compile !

Thats it.