473,385 Members | 1,930 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Problem with VS2005 windows form when i switch to design mode

Hi ,

Due an unknown cause VS2005 started to show an error when i switch
from code to design in windows forms projects.
I repaired the installation but the same happens.
The error is:

One or more errors encountered while loading the designer. The errors
are listed below. Some errors can be fixed by rebuilding your project,
while others may require code changes.

No more data is available.
Hide

at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
at Microsoft.Win32.RegistryKey.GetValueNames()
at
Microsoft.VisualStudio.Shell.Design.WindowPaneProv iderService.AppendWindowPanes(RegistryKey
parentKey, ArrayList windowPanes)
at
Microsoft.VisualStudio.Shell.Design.WindowPaneProv iderService.GetRegisteredPanes(String
extension)
at
Microsoft.VisualStudio.Shell.Design.WindowPaneProv iderService.CreateWindowPane(DesignSurface
surface)
at
Microsoft.VisualStudio.Design.Serialization.CodeDo m.DeferrableWindowPaneProviderService.CreateWindow Pane(DesignSurface
surface)
at
Microsoft.VisualStudio.Design.Serialization.CodeDo m.DeferrableWindowPaneProviderService.DeferredWind owPane.EnsurePane()

Any help will be greatly appreciated,
Best regards,
Tiago Teixeira

Oct 26 '07 #1
2 3145
*EEK!!!!* The White window of death *shudder*

Right unfortunately this one is a pain to track down and it can be several
different things. From what I can see in your post it LOOKS like (assuming
here *grin*) you have custom controls on the form you are having issues
with. I have the same problem at work where several of our custom controls
cause the forms to die a horrible white death...

IF you do have custom controls on the form:
a) Are they in the same project or a different project in the same solution?
b) On each build are the references to the custom controls (if (a==true))
set to static version numbers or do they increment?

For some reason (still trying to figure it out even after SP1 for VS2005)
due to custom controls having different assembly versions it struggles to
load them correctly - or so I've found. Say for example you have v1.1.1.1 as
your last "stable" build and could see the form and next build v1.1.1.2 the
solution still "thinks" the old 1.1.1.1 is valid. Also you will find that
the .dll that houses the controls is incremented in version even if there
were no changes to the code. Clean solution and rebuild having CLOSED the
form's design in VS... Should work - If not scream and I'll dig around my
favorites and send you all I have on the issue...

HTH
Brendon

<te**********@gmail.comwrote in message
news:11**********************@50g2000hsm.googlegro ups.com...
Hi ,

Due an unknown cause VS2005 started to show an error when i switch
from code to design in windows forms projects.
I repaired the installation but the same happens.
The error is:

One or more errors encountered while loading the designer. The errors
are listed below. Some errors can be fixed by rebuilding your project,
while others may require code changes.

No more data is available.
Hide

at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
at Microsoft.Win32.RegistryKey.GetValueNames()
at
Microsoft.VisualStudio.Shell.Design.WindowPaneProv iderService.AppendWindowPanes(RegistryKey
parentKey, ArrayList windowPanes)
at
Microsoft.VisualStudio.Shell.Design.WindowPaneProv iderService.GetRegisteredPanes(String
extension)
at
Microsoft.VisualStudio.Shell.Design.WindowPaneProv iderService.CreateWindowPane(DesignSurface
surface)
at
Microsoft.VisualStudio.Design.Serialization.CodeDo m.DeferrableWindowPaneProviderService.CreateWindow Pane(DesignSurface
surface)
at
Microsoft.VisualStudio.Design.Serialization.CodeDo m.DeferrableWindowPaneProviderService.DeferredWind owPane.EnsurePane()

Any help will be greatly appreciated,
Best regards,
Tiago Teixeira
Oct 28 '07 #2
Thanks for the help.

I've no custom controls.
The same happens when i open a new blank windows form solution.
I've already repaired the VS2005 and I also have the latest SP for it.
I think i'll fix this uninstalling and re-installing all, i think it
will be quicker.

Anyway, let me thank you for the all the info you put here to me.

Best regards,
Tiago Teixeira

Oct 29 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Eternal Blues | last post by:
Hello, I'm new here, so this may not be the best place to ask this. Any help is greatly appreciated! I am writing a program which uses Windows Media Player 9 (in Windows 2000) to play MP3,...
3
by: Loïc | last post by:
Hello, I have created a simple webcontrol named MyControl tahat contains one single property. The property name is Columns , his type is ColumnCollection ( inherits from CollectionBase). this...
0
by: Sanjay Pais | last post by:
This is an extension of an earlier post I have created a custom text box and compiled it and dropped it into my toolbox. However when I change the value of my custom property in design mode and...
14
by: Altman | last post by:
Ok I have a control that is inherited from another class. In the child I put msgbox(me.name) in the load event. What always pops up is the name of the parent class and not the name of the...
11
by: Chippy | last post by:
This is driving me NUTZ. All of my forms are keeping the size of the window I design them in, even when I have the AutoResize option set to Yes. The actual form (grey, gridded area) is the size...
7
by: Niall | last post by:
I have converted a vs 2003 solution to 2005 and when I try to switch to design mode for a user control I get: Cannot switch views: Validation (Internet Explorer 6): Element 'Style' cannot be...
7
by: =?Utf-8?B?QW50?= | last post by:
Hi, If I place a button on either a Web form or an HTML form, when I run the page in a browser, the button stretches right across the screen. This happens with our Enterprise Visual Studio at work...
2
by: colin | last post by:
Hi, I seem to have introduced a probem into my application wich cuases the IDE to hang when I switch from debug to reease mode. it doesnt even consume any cpu %, just sits there, with the...
3
by: Mika M | last post by:
I'm programming quite simple Windows Service using C# 2005. I also made setup for it into same solution. When I run setup to install service, it's going fine into C:\Program Files\MyCompany\My...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.