Forum  Commercial Foru...  Commercial Foru...  Designer error: The designer loader did not provide a root component but has not indicated why
Previous Previous
 
Next Next
New Post 9/12/2009 7:02 AM
  palli
11189 posts
1st Level Poster




Re: Designer error: The designer loader did not provide a root component but has not indicated why 

Hi Michael,

It is very hard for me to narrow this down knowing allmost nothing about your form.

I did however make a very rough test, the way I do it at work when I have something like this happening. Problems like that are allmost always caused by some init code that you need to find, and when you have found it you often find that you are missing something or can do things a little differently to prevent this from happening, even enclosing your code with in if ! DesignMode etc... especiall for all the loadcodes. In this case it is not enough to enclose the Form's Load in such an if statement.

What I suggest you do is make a copy of your project. Then open the form in question and start removing sections to find out what is causing this. I did exactly that and found that if you remove one of the tabs in the lower part of the screen, in the Purchase Details section, this stops. This wasn't until after I removed the header, the Purchases section and on the second tab I removed down there, this stopped.

Just go on like this, isolating the problem downto what's relevant and then check if there is something you can do about it. If not, you now have a very much simple project that we are more able to check for problems.

Hope this helps,

Palli

 

 

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 9/12/2009 8:33 AM
  msawczyn
190 posts
5th Level Poster


Re: Designer error: The designer loader did not provide a root component but has not indicated why 

Thanks for the advice. I understand better now and will work toward getting that type of example together.

 
New Post 9/12/2009 9:34 AM
  palli
11189 posts
1st Level Poster




Re: Designer error: The designer loader did not provide a root component but has not indicated why 

Hi Michael,

You are welcome and good luck with it.

FYI, I work daytime as a professional programmer here, so I do have problems like that all the time. When I do, I proceed exactly like I described to you, and when I do find the problem, it is more and more often my fault, not the framework's. In the case it's the framework, then due to the narrowing, I do have an allmost ready sample application that I can use for the report.

So, this is a win-win situation.

Please let us know what you find out if this is something that the community can benefit from.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
Previous Previous
 
Next Next
  Forum  Commercial Foru...  Commercial Foru...  Designer error: The designer loader did not provide a root component but has not indicated why
CompanionKit Bottom
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS