473,586 Members | 2,491 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.Wi n32Error(Int32 errorCode, String str)
at Microsoft.Win32 .RegistryKey.Ge tValueNames()
at
Microsoft.Visua lStudio.Shell.D esign.WindowPan eProviderServic e.AppendWindowP anes(RegistryKe y
parentKey, ArrayList windowPanes)
at
Microsoft.Visua lStudio.Shell.D esign.WindowPan eProviderServic e.GetRegistered Panes(String
extension)
at
Microsoft.Visua lStudio.Shell.D esign.WindowPan eProviderServic e.CreateWindowP ane(DesignSurfa ce
surface)
at
Microsoft.Visua lStudio.Design. Serialization.C odeDom.Deferrab leWindowPanePro viderService.Cr eateWindowPane( DesignSurface
surface)
at
Microsoft.Visua lStudio.Design. Serialization.C odeDom.Deferrab leWindowPanePro viderService.De ferredWindowPan e.EnsurePane()

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

Oct 26 '07 #1
2 3160
*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**********@g mail.comwrote in message
news:11******** **************@ 50g2000hsm.goog legroups.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.Wi n32Error(Int32 errorCode, String str)
at Microsoft.Win32 .RegistryKey.Ge tValueNames()
at
Microsoft.Visua lStudio.Shell.D esign.WindowPan eProviderServic e.AppendWindowP anes(RegistryKe y
parentKey, ArrayList windowPanes)
at
Microsoft.Visua lStudio.Shell.D esign.WindowPan eProviderServic e.GetRegistered Panes(String
extension)
at
Microsoft.Visua lStudio.Shell.D esign.WindowPan eProviderServic e.CreateWindowP ane(DesignSurfa ce
surface)
at
Microsoft.Visua lStudio.Design. Serialization.C odeDom.Deferrab leWindowPanePro viderService.Cr eateWindowPane( DesignSurface
surface)
at
Microsoft.Visua lStudio.Design. Serialization.C odeDom.Deferrab leWindowPanePro viderService.De ferredWindowPan e.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
1693
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, MPEG, etc. The WMP display fills a form which makes the backgrround of my application (with transparent forms at the top and bottom of the screen...
3
1113
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 property contains an elements list and the type of these elements is Column. On a WebForm (in design mode), i insert my MyControl webcontrol . Je...
0
1033
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 switch between design mode to page source and back to design mode i am unable to retrieve the property value I set. Also the property setting in the...
14
3257
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 instance of the object. WHY? Also if I can figure this out I'm hoping that I can put this in the load event of the parent and still get it to work.
11
9852
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 I want it, but the window it opens in is NOT this size. This applies if I open the form directly, even if I then choose "Window, Size to fit...
7
3373
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 nested within element 'div' Here is the html: <div style="z-index: 101; left: 1px; width: 541px; position: absolute; top:
7
1295
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 & the Web developer Express edition I have at home. Has anybody experienced this problem? Many thanks for any ideas on how to fix it.
2
1297
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 debug/release drop down menu stil half visible, and not even the close buton or taskbar menu works - has to be clsoed from taskmanager. It seemed to...
3
2590
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 Service, and Event Log tells... Event Type: Information Event Source: MsiInstaller Event Category: None Event ID: 11707
0
7915
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8339
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7965
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8220
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6617
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5712
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5392
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3838
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3869
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.