﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Issues  » Error Creating New Business Object</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 11:51:30 GMT</lastBuildDate><ttl>20</ttl><item><title>Error Creating New Business Object</title><link>http://forum.strataframe.net/FindPost13178.aspx</link><description>All I did was click OK after naming the new business object and I received this error (white screen of death):&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: SalesOrderStatusesBO --- The base class 'System.Object' cannot be designed. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Weird, huh? &lt;/P&gt;&lt;P&gt;Bill</description><pubDate>Wed, 23 Jan 2008 09:24:51 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: Error Creating New Business Object</title><link>http://forum.strataframe.net/FindPost13676.aspx</link><description>Good...I am glad it made sense :)</description><pubDate>Wed, 23 Jan 2008 09:24:51 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Error Creating New Business Object</title><link>http://forum.strataframe.net/FindPost13657.aspx</link><description>An excellent, straight answer...thanks!!&amp;nbsp; :D</description><pubDate>Tue, 22 Jan 2008 17:28:19 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: Error Creating New Business Object</title><link>http://forum.strataframe.net/FindPost13655.aspx</link><description>[quote]Weird, huh? [/quote]&lt;P&gt;Actually, no.&amp;nbsp; I know that at first some of these errors and messages do not make a lot of sense, but it all comes down to the assemblies being loaded into the AppDomain of the development environment.&lt;/P&gt;&lt;P&gt;As you have already noticed, you cannot see the strong-typed field names of a BO until the project has been built.&amp;nbsp; This is because the type editors (builders) must be able to create an instance of that object in order to reflect it (reflection).&amp;nbsp; So when this object is created, it must first load it's assembly which is loaded into the current AppDomain.&amp;nbsp; WHen you make a change, and this type of object is in use or there is another assembly on disk with the old name, then you can start seeing this type of behavior.&amp;nbsp; This is why when you get out of Visual Studio and come back in some of these problems go away...the AppDomain is cleared and reloaded from the new assembly.&lt;/P&gt;&lt;P&gt;[quote]&lt;STRONG&gt;The designer loader did not provide a root component but has not indicated why.&lt;/STRONG&gt;[/quote]&lt;/P&gt;&lt;P&gt;This message can from from a number of different places, but this is an example of when you could see this.&amp;nbsp; When a type editor is invoked, many times the root component is referenced which gives a reference of the BO (or root component being modified) which is called through the IDesignerHost interface.&amp;nbsp; Bottom line is that when you start renaming or making some changes like this, you are going to run into some of this type of behavior....so this is actually normal :)&lt;P&gt;This message can also appear when the form is being loaded through the InitializeComponent method when designing the form.&amp;nbsp; There is no direct answer, but it generally comes from making a change to a class that either removes functionality or it can no longer reference the type.&amp;nbsp; Hope this helps...I know that it wasn't a very straight answer :)</description><pubDate>Tue, 22 Jan 2008 17:20:27 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Error Creating New Business Object</title><link>http://forum.strataframe.net/FindPost13648.aspx</link><description>Hey Bill.&lt;/P&gt;&lt;P&gt;I bet Trent will know a deeper reason for this problem, but I don't. Just to let you know that I get those all the time, and it is always a "get out and back again" kind of solution. I just live with it.</description><pubDate>Tue, 22 Jan 2008 16:09:32 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Error Creating New Business Object</title><link>http://forum.strataframe.net/FindPost13634.aspx</link><description>Another instance of the WSOD:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The designer loader did not provide a root component but has not indicated why.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;What is up with that?&amp;nbsp; This has been happening with a good bit of frequency lately.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Should I be alarmed?&lt;/P&gt;&lt;P&gt;Closing the designer and reopening it brings everything back, but there must be a root cause somewhere for this behavior.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR&gt;Bill</description><pubDate>Tue, 22 Jan 2008 13:21:45 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item></channel></rss>