﻿<?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 » Business Objects and Data Access (How do I?)  » Type error while changing BO property</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Mon, 14 Sep 2026 04:04:06 GMT</lastBuildDate><ttl>20</ttl><item><title>Type error while changing BO property</title><link>http://forum.strataframe.net/FindPost7429.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;I've deleted and recreated these two BOs a number of times now but I can't get past this problem and I've never seen the issue before. I created boMEI and boMEG and all seems to be normal in terms of generated code however, when I go into Properties and click the RequiredFields collection, I get the attached 'type error'. Can you give me some clue as to what I may have done wrong. All the expected fields appear in the ..Designer.vb file and they appear as properties&amp;nbsp;in ..vb code, e.g. in _SetDefaultValues I can say, for instance, "Me.MEISequ = 0"&lt;/P&gt;&lt;P&gt;Cheers, Peter</description><pubDate>Tue, 13 Mar 2007 00:20:17 GMT</pubDate><dc:creator>Peter Jones</dc:creator></item><item><title>RE: Type error while changing BO property</title><link>http://forum.strataframe.net/FindPost7433.aspx</link><description>Hi Trent,&lt;/P&gt;&lt;P&gt;Spot on - I hadn't rebuilt the project. I guess in the past I was doing a rebuild so they would appear in the Toolbox without understanding what else the rebuild did. This time I went from BO creation directly into configuration before I even thought about&amp;nbsp;doing a rebuild to put them in the Toolbox.&lt;/P&gt;&lt;P&gt;Cheers, Peter</description><pubDate>Tue, 13 Mar 2007 00:20:17 GMT</pubDate><dc:creator>Peter Jones</dc:creator></item><item><title>RE: Type error while changing BO property</title><link>http://forum.strataframe.net/FindPost7431.aspx</link><description>This message generally appears when you have defined the BOs but have not yet built your project.&amp;nbsp; If you have built your project and still get this message, then it is generally because the BOs are stored in the GAC and have already been cached in the AppDomain in which case you have to get out and come back into Visual Studio.&lt;/P&gt;&lt;P&gt;So build your project, get out of Visual Studio and come back in and then try to go to the Required Fields collection.&amp;nbsp; If you are using the GAC with the BO, then be sure to place the BO back into the GAC after being rebuilt and before coming back into Visual Studio.&amp;nbsp; If the problem persists after that then let us know and we will look at something else.</description><pubDate>Mon, 12 Mar 2007 21:46:43 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>