﻿<?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?)  » NullreferenceException adding a new BO</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Mon, 08 Jun 2026 22:55:29 GMT</lastBuildDate><ttl>20</ttl><item><title>NullreferenceException adding a new BO</title><link>http://forum.strataframe.net/FindPost3306.aspx</link><description>I get NullreferenceException , Object not set when I right click on the white area in the BOM&lt;/P&gt;&lt;P&gt;I want to add a new BO to the project how can I do this?</description><pubDate>Wed, 04 Oct 2006 15:53:46 GMT</pubDate><dc:creator>JonMny</dc:creator></item><item><title>RE: NullreferenceException adding a new BO</title><link>http://forum.strataframe.net/FindPost3312.aspx</link><description>Thanks, that worked</description><pubDate>Wed, 04 Oct 2006 15:53:46 GMT</pubDate><dc:creator>JonMny</dc:creator></item><item><title>RE: NullreferenceException adding a new BO</title><link>http://forum.strataframe.net/FindPost3311.aspx</link><description>Jon,&lt;/P&gt;&lt;P&gt;Paul is exactly right.&amp;nbsp; Business objects are not created through the BO Mapper, just mapped to the schema and build the partial classes.&amp;nbsp; If you need some more explanation as to how to add a business object to a project you are welcome to post here again...but I recommend looking at the tutorial in the documentation.&amp;nbsp; It takes you step by step in creating a BO and binding it to controls.</description><pubDate>Wed, 04 Oct 2006 15:46:04 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: NullreferenceException adding a new BO</title><link>http://forum.strataframe.net/FindPost3307.aspx</link><description>jon&lt;/P&gt;&lt;P&gt;&amp;nbsp;You need to add a a new business object from within the VS solution. right click on the project\add new item. Select a stratframe business object. Name it. Now go to the BOM and the bus obj should be there with a red x indicating that it has not been mapped. click configure and select the table. then build partial or build all. Once this is done rebuild the solution in VS if you are using a separate Bo project so the other projects will be able to "see" it.</description><pubDate>Wed, 04 Oct 2006 15:38:31 GMT</pubDate><dc:creator>Paul Chase</dc:creator></item></channel></rss>