Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Designer Error
 

Designer Error

I am using visual basic 2008 + SP1

It worked well so far.

But now, when I am trying to open the designer with any designer file, I get this error:

To prevent possible data loss before loading the designer, the following errors must be resolved:



1 Error

Why am I seeing this page?





No more data is available.




Instances of this error (1)

1. Hide Call Stack

at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
at Microsoft.Win32.RegistryKey.GetValueNames()
at Microsoft.VisualStudio.Shell.Design.WindowPaneProviderService.AppendWindowPanes(RegistryKey parentKey, ArrayList windowPanes)
at Microsoft.VisualStudio.Shell.Design.WindowPaneProviderService.GetRegisteredPanes(String extension)
at Microsoft.VisualStudio.Shell.Design.WindowPaneProviderService.CreateWindowPane(DesignSurface surface)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.DeferrableWindowPaneProviderService.CreateWindowPane(DesignSurface surface)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.DeferrableWindowPaneProviderService.DeferredWindowPane.EnsurePane()

Help with this error

Could not find an associated help topic for this error. Check Windows Forms Design-Time error list


Forum posts about this error

Search the MSDN Forums for posts related to this error






I have tried to reinstall NET Framework and visual studio but it is still the same.

bugale  Saturday, September 20, 2008 5:06 AM

Just rebuild your solution....and see if it opens....

Sreenath G V  Monday, September 22, 2008 12:07 PM

Hi Bugale

We are changing the issue type to “Comment�because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question�by editing your initial post and changing the radio button at the top of the post editor window. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.

Thank you!

Best wishes

Jun Wang

Jun Wang Tim  Thursday, September 25, 2008 9:19 AM

Hi

Just try one thing..

close all you .Net IDE's and and reset your devenv...

It from visual studio command prompt which you can access it...

Start->Program files->Microsoft Visual Studio 2005-> Tools->Visual studio Command prompt..

approximately you will find it here..

Just open it and type this command..... Devenv /ResetSkipPkgs

This will reset your IDE...

Then open your application rebild all solution then open the form..

Hope this will work you out..'

Sreenath G V  Friday, October 17, 2008 9:23 AM
In my situation when I received this error. I was referencing a third-party control that was no longer installed on the system. I changed the controls to use the default TextBox and Label controls and the error went away. So, for me it was a little misleading as to what the problem was, but because the application has a small UI footprint (not many controls) I made the changes by hand. Having tried to compile the application gave me further details to the problems, so I kept trying to compile the application, resolving the errors, and it finally worked.

In the end, check the references and control usage to make sure everything exists and is registered.
Greg L. Wright | SnapJag.com | IT Consultant
SnapJag  Wednesday, June 10, 2009 6:13 PM

You can use google to search for other answers

Custom Search

More Threads

• About Microsoft Express blend
• Drag drop in VC++.net
• ParentControlDesigner - InvalidCastException
• Menus in Inherited forms
• Query Builder
• Viewing a Form in the Designer
• How to Import a VS 2005 form into VS 2008
• Import 16x16 bmp & use as an icon for forms
• TextBox Context Menu
• Could not find 'WindowsApplication1.Program'