﻿<?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 Setting Parent Relationship in designer</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 01:14:32 GMT</lastBuildDate><ttl>20</ttl><item><title>Error Setting Parent Relationship in designer</title><link>http://forum.strataframe.net/FindPost31931.aspx</link><description>&lt;font color="#000000" size="3" face="Times New Roman"&gt;&lt;/font&gt;&lt;p style="margin: 0in 0in 10pt;" class="MsoNormal"&gt;&lt;font color="#000000" size="3" face="Calibri"&gt;I’m getting a “Set Parent Relationship” error message when Itry to set the parent object on a business object instance on a form. I’vechecked to make sure that the relationship has been established on the correctobject in the component designer and have rebuilt the solution a number oftimes.&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;No matter what I try it can’tseem to find the parent object. The code for the relationship appers to be okin the InitializeComponent sub in the business object’s designer file. &lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;Does any code get added someplace else?&lt;/font&gt;&lt;/p&gt;&lt;font color="#000000" size="3" face="Times New Roman"&gt;&lt;/font&gt;</description><pubDate>Thu, 21 Mar 2013 16:57:51 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: Error Setting Parent Relationship in designer</title><link>http://forum.strataframe.net/FindPost31944.aspx</link><description>Hi Trent,&lt;br/&gt;&lt;br/&gt;Thanks for the info. The BO is just on disk. Since it was just happening to this one object I'm writing it off as a VS 2012 quirk. If it happens again I'll spend more time on it.&lt;br/&gt;&lt;br/&gt;-Larry</description><pubDate>Thu, 21 Mar 2013 16:57:51 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: Error Setting Parent Relationship in designer</title><link>http://forum.strataframe.net/FindPost31943.aspx</link><description>Larry:&lt;br/&gt;&lt;br/&gt;Do you place your BO assembly in the GAC or is it just on disk?&amp;nbsp; If you have things stored in the GAC, the AppDomain in the development environment acts a little different.&amp;nbsp; Generally in this case you have to build your assembly and let it get added back to the GAC, then get out of VS, come back in and it will load the NEW BO assembly.</description><pubDate>Thu, 21 Mar 2013 09:21:36 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Error Setting Parent Relationship in designer</title><link>http://forum.strataframe.net/FindPost31942.aspx</link><description>Hi Ben,&lt;br/&gt;&lt;br/&gt;Screen shot of error message is attached. I've checked the object and the parent relationship is defined. I rebuilt the solution, deleted and re-entered the relationship, restated VS a number of times and I still get the error.&amp;nbsp;Finally I&amp;nbsp;created a new object (ApptWindowBO) mapped it to the same table and replaced the instances of AppointmentWindowBO on my forms with the new BO and everything worked as it should. I'm assuming that something is messed up in the original object's designer file unless the relationship information is being stored someplace else in VS.&lt;br/&gt;&lt;br/&gt;-Larry</description><pubDate>Wed, 20 Mar 2013 14:34:04 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: Error Setting Parent Relationship in designer</title><link>http://forum.strataframe.net/FindPost31941.aspx</link><description>OH MY. I thought I was losing my mind. It really is happening.&amp;nbsp; I thought my Intellisense was just screwed up. I feel better now.</description><pubDate>Wed, 20 Mar 2013 14:28:48 GMT</pubDate><dc:creator>Terry Bottorff</dc:creator></item><item><title>RE: Error Setting Parent Relationship in designer</title><link>http://forum.strataframe.net/FindPost31938.aspx</link><description>VS 2012 has many more issues than VS 2010 ever did. &amp;nbsp;I have found that if you partially type a line of code, leave the document to check something, then return, it kills Intellisense. &amp;nbsp;You have to close the document and reopen it to get Intellisense to return. &amp;nbsp;&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Out of curiosity, Larry, what were the details of the error message you were getting? &amp;nbsp;Do you remember the text of the message?</description><pubDate>Wed, 20 Mar 2013 08:01:07 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Error Setting Parent Relationship in designer</title><link>http://forum.strataframe.net/FindPost31937.aspx</link><description>Hi Larry,&lt;br/&gt;Glad you got it working somehow.&amp;nbsp; Can you please tell us what was the name of the business object?</description><pubDate>Wed, 20 Mar 2013 07:35:27 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Error Setting Parent Relationship in designer</title><link>http://forum.strataframe.net/FindPost31936.aspx</link><description>Edhy,&lt;br/&gt;&lt;br/&gt;Tried that too. Still didn''t fix it. There must be something in the object's designer file or something else I can't see.&lt;br/&gt;&lt;br/&gt;I finally worked around the issue by creating a new business object with a slightly different name and replacing the &lt;br/&gt;instance on each of my forms and child forms. The new object worked fine. I'm using VS 2012 and it seems to have more &lt;br/&gt;strange issues than VS 2010. I use the panel manager control a lot and there have been times when VS 2012&lt;br/&gt;"forgets" the controls I've dropped on the pages and I end up having to clean up the form's designer file and&lt;br/&gt;re-drop the controls on the pages.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;-Larry</description><pubDate>Wed, 20 Mar 2013 00:22:08 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: Error Setting Parent Relationship in designer</title><link>http://forum.strataframe.net/FindPost31935.aspx</link><description>Hi Larry,&lt;br/&gt;&lt;br/&gt;Then you have to review the relationship created at the Business Object Layer (the main class).&amp;nbsp; Try this:&lt;br/&gt;&lt;ol&gt;&lt;li&gt;Reset that relationship to default to remove it and close the BO.&lt;/li&gt;&lt;li&gt;Rebuild the Project&lt;/li&gt;&lt;li&gt;Re-create the relationship, and rebuild project.&lt;/li&gt;&lt;li&gt;Try to assign the Parent BO.&lt;br/&gt;&lt;/li&gt;&lt;/ol&gt;</description><pubDate>Tue, 19 Mar 2013 19:03:19 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Error Setting Parent Relationship in designer</title><link>http://forum.strataframe.net/FindPost31934.aspx</link><description>Hi Edhy,&lt;br/&gt;&lt;br/&gt;Tried that. It doesn't fix the problem. </description><pubDate>Tue, 19 Mar 2013 18:34:53 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: Error Setting Parent Relationship in designer</title><link>http://forum.strataframe.net/FindPost31933.aspx</link><description>Hi Larry,&lt;br/&gt;&lt;br/&gt;Try the following:&lt;br/&gt;&lt;ol&gt;&lt;li&gt;Close VS.&lt;/li&gt;&lt;li&gt;Open it again.&lt;/li&gt;&lt;li&gt;Build the Solution.&lt;/li&gt;&lt;li&gt;Try to assign the Parent BO.&lt;br/&gt;&lt;/li&gt;&lt;/ol&gt;</description><pubDate>Tue, 19 Mar 2013 18:15:06 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Error Setting Parent Relationship in designer</title><link>http://forum.strataframe.net/FindPost31932.aspx</link><description>The title should have been 'Error Setting Parent Object in Designer'</description><pubDate>Tue, 19 Mar 2013 17:53:18 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item></channel></rss>