﻿<?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  » Business Object not found on page.</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Fri, 22 May 2026 02:18:13 GMT</lastBuildDate><ttl>20</ttl><item><title>Business Object not found on page.</title><link>http://forum.strataframe.net/FindPost12395.aspx</link><description>Hi all,&lt;br&gt;
&lt;br&gt;
I am having a problem using the GridView component and the WebBusinessBindingSource.   When I click update or cancel on the grid, I get the message: The business object 'Customers' could not be found on this page.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
[InvalidOperationException: The business object 'Customers' could not be found on this page.]&lt;br&gt;
   MicroFour.StrataFrame.UI.Web.BasePage.GetBusinessObject(String Name) +150&lt;br&gt;
   MicroFour.StrataFrame.UI.Web.WebBusinessBindingSource.GetBusinessObject() +109&lt;br&gt;
   MicroFour.StrataFrame.UI.Web.WebBusinessBindingSource.GetView(String viewName) +51&lt;br&gt;
   System.Web.UI.DataSourceControl.System.Web.UI.IDataSource.GetView(String viewName) +7&lt;br&gt;
   System.Web.UI.WebControls.DataBoundControl.ConnectToDataSourceView() +226&lt;br&gt;
   System.Web.UI.WebControls.DataBoundControl.GetData() +4&lt;br&gt;
   System.Web.UI.WebControls.DataBoundControl.PerformSelect() +57&lt;br&gt;
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70&lt;br&gt;
   System.Web.UI.WebControls.GridView.DataBind() +4&lt;br&gt;
   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82&lt;br&gt;
   System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +69&lt;br&gt;
   System.Web.UI.Control.EnsureChildControls() +87&lt;br&gt;
   System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +21&lt;br&gt;
   System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +289&lt;br&gt;
   System.Web.UI.Page.FindControl(String id) +40&lt;br&gt;
   System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +252&lt;br&gt;
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3776&lt;br&gt;
&lt;br&gt;
To work from a common ground I have simply taken the C# Web Sample code, added a page (StrataFrame Web Form), dragged on a WebBusinessBindingSource, bound it to the Customers business object, dragged on a grid and bound the grid to the WebBusinessBindingSource.   When running the app, if I click the edit on a row and then click either update or cancel, I get the above exception.&lt;br&gt;
&lt;br&gt;
There must be something amazingly simple that I am missing here ... :crazy:&lt;br&gt;
&lt;br&gt;
Please will someone point me in the right direction to resolve this.&lt;br&gt;
&lt;br&gt;
Many thanks.&lt;br&gt;
&lt;br&gt;
Gavin</description><pubDate>Mon, 19 Nov 2007 15:36:12 GMT</pubDate><dc:creator>gavin.dell</dc:creator></item><item><title>RE: Business Object not found on page.</title><link>http://forum.strataframe.net/FindPost12792.aspx</link><description>Hi Ben,&lt;P&gt;Thanks for your response and the effort that you have gone through in order to assist me.&lt;/P&gt;&lt;P&gt;I re-ran my brief tests (open the updated and&amp;nbsp;installed C# sample projects in VS, run, go to the&lt;BR&gt;Customers Grid, click Edit then Cancel) before updating the assemblies to&lt;BR&gt;confirm that the problem was indeed still there, and obtained the&lt;BR&gt;identical results - Business Object not found on page.&lt;BR&gt;&lt;BR&gt;I then updated the assemblies and registered them using gacutil.&amp;nbsp;&amp;nbsp; I now&lt;BR&gt;cannot get any version of the C# web samples to fail (other than from&lt;BR&gt;InvalidCastExceptions) which is great for me, but doesn't assist either&lt;BR&gt;you or me in knowing what was amiss. :crazy:&lt;BR&gt;&lt;BR&gt;The only conclusion I can draw from here is that the process of&lt;BR&gt;registering the assemblies has resolved whatever the issue was.&amp;nbsp;&amp;nbsp; You will&lt;BR&gt;most likely have more insight into what that may mean than I do.&lt;BR&gt;&lt;BR&gt;I will now create a small business object library based on our database schema, and see how it&lt;BR&gt;goes.&lt;/P&gt;&lt;P&gt;I hope you are all feeling better.&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;Gavin</description><pubDate>Mon, 19 Nov 2007 15:36:12 GMT</pubDate><dc:creator>gavin.dell</dc:creator></item><item><title>RE: Business Object not found on page.</title><link>http://forum.strataframe.net/FindPost12784.aspx</link><description>Here's the update for the most recent DLLs with the updated error message.&amp;nbsp; Give it a try and let me know what you run into.&lt;/P&gt;&lt;P&gt;&lt;A href="http://forum.strataframe.net/FindPost12783.aspx"&gt;http://forum.strataframe.net/FindPost12783.aspx&lt;/A&gt;</description><pubDate>Mon, 19 Nov 2007 10:39:15 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Business Object not found on page.</title><link>http://forum.strataframe.net/FindPost12781.aspx</link><description>I have been unable to make the application fail by clicking the edit on a record and then cancel.&amp;nbsp; Are you just opening the project within VS and running it, or are you loading it into IIS and launching it through there?&lt;/P&gt;&lt;P&gt;In the meantime, I will add some more try/catches and more descriptive error messages to the GetBusinessObject() method to see if we can't track down where the problem is coming from.</description><pubDate>Mon, 19 Nov 2007 10:31:11 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Business Object not found on page.</title><link>http://forum.strataframe.net/FindPost12761.aspx</link><description>Sorry for the delay, gavin, we're looking into it.&amp;nbsp;</description><pubDate>Mon, 19 Nov 2007 09:07:58 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Business Object not found on page.</title><link>http://forum.strataframe.net/FindPost12688.aspx</link><description>Hi there,&lt;P&gt;Any ideas concerning what is amiss here&amp;nbsp;as this is preventing me from using Strataframe&amp;nbsp;for this project? :ermm:&amp;nbsp; &lt;/P&gt;&lt;P&gt;I have tried various things, but unfortunately cannot spend any more time on it - it&amp;nbsp;seems as if&amp;nbsp;the business objects are not ending up in the session?&amp;nbsp;&amp;nbsp; I can allow a TS session to the machine if poking around on it will help (email me for details).&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Gavin</description><pubDate>Tue, 13 Nov 2007 15:23:37 GMT</pubDate><dc:creator>gavin.dell</dc:creator></item><item><title>RE: Business Object not found on page.</title><link>http://forum.strataframe.net/FindPost12540.aspx</link><description>Hi there,&lt;br&gt;
&lt;br&gt;
Yes I have downloaded the sample - the updated version that includes the WebBindingSource.aspx page.   I run the sample, click edit against a record, and then cancel and get my favourite message:&lt;br&gt;
&lt;br&gt;
Server Error in '/SampleWebApp - CSharp' Application.&lt;br&gt;
--------------------------------------------------------------------------------&lt;br&gt;
&lt;br&gt;
The business object 'Customers' could not be found on this page. &lt;br&gt;
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;br&gt;
&lt;br&gt;
Exception Details: System.InvalidOperationException: The business object 'Customers' could not be found on this page.&lt;br&gt;
&lt;br&gt;
Source Error: &lt;br&gt;
&lt;br&gt;
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  &lt;br&gt;
&lt;br&gt;
Stack Trace: &lt;br&gt;
&lt;br&gt;
&lt;br&gt;
[InvalidOperationException: The business object 'Customers' could not be found on this page.]&lt;br&gt;
   MicroFour.StrataFrame.UI.Web.BasePage.GetBusinessObject(String Name) +150&lt;br&gt;
   MicroFour.StrataFrame.UI.Web.WebBusinessBindingSource.GetBusinessObject() +109&lt;br&gt;
   MicroFour.StrataFrame.UI.Web.WebBusinessBindingSource.GetView(String viewName) +51&lt;br&gt;
   System.Web.UI.DataSourceControl.System.Web.UI.IDataSource.GetView(String viewName) +7&lt;br&gt;
   System.Web.UI.WebControls.DataBoundControl.ConnectToDataSourceView() +226&lt;br&gt;
   System.Web.UI.WebControls.DataBoundControl.GetData() +4&lt;br&gt;
   System.Web.UI.WebControls.DataBoundControl.PerformSelect() +57&lt;br&gt;
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70&lt;br&gt;
   System.Web.UI.WebControls.GridView.DataBind() +4&lt;br&gt;
   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82&lt;br&gt;
   System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +69&lt;br&gt;
   System.Web.UI.Control.EnsureChildControls() +87&lt;br&gt;
   System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +21&lt;br&gt;
   System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +289&lt;br&gt;
   System.Web.UI.Page.FindControl(String id) +40&lt;br&gt;
   System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +252&lt;br&gt;
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3776&lt;br&gt;
&lt;br&gt;
 &lt;br&gt;
&lt;br&gt;
&lt;br&gt;
--------------------------------------------------------------------------------&lt;br&gt;
Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832 &lt;br&gt;
&lt;br&gt;
Kind regards,&lt;br&gt;
&lt;br&gt;
Gavin</description><pubDate>Wed, 07 Nov 2007 16:20:14 GMT</pubDate><dc:creator>gavin.dell</dc:creator></item><item><title>RE: Business Object not found on page.</title><link>http://forum.strataframe.net/FindPost12522.aspx</link><description>Gavin,&lt;/P&gt;&lt;P&gt;Have you downloaded this C# sample (&lt;A href="http://forum.strataframe.net/FindPost12344.aspx"&gt;http://forum.strataframe.net/FindPost12344.aspx&lt;/A&gt;)?&amp;nbsp; Because I have run this sample over and over again and it is working just fine.&amp;nbsp; So first, download this sample, open the solution and press Ctrl+F5.&amp;nbsp; The sample should run and you should be able to go to the Customers Grid without issue.&amp;nbsp; If this doesn't work, then there is something else in the mix here.</description><pubDate>Wed, 07 Nov 2007 09:35:30 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Business Object not found on page.</title><link>http://forum.strataframe.net/FindPost12508.aspx</link><description>Hi there,&lt;P&gt;It seems that I spoke too soon.&amp;nbsp;&amp;nbsp; I'm am now attempting to catch the ActiveRowChanged event within an Infragistics WebGrid in order to trigger other changes &lt;/P&gt;&lt;P&gt;in associated controls.&amp;nbsp;&amp;nbsp; When I bind the grid to a SqlDatasource, this works without a problem, however when I drop a WebBusinessBindingSource &lt;/P&gt;&lt;P&gt;onto the page&amp;nbsp;bound to my business object and with the grid bound to the datasource, any attempts to capture the ActiveRowChange event results &lt;/P&gt;&lt;P&gt;in the same kind of error.&amp;nbsp;&amp;nbsp; I have redone this within your sample C# web app to check that I wasn't doing something daft, but the behavior is the same: &lt;/P&gt;&lt;P&gt;I don't even have to do anything within the event for this to occur.&lt;/P&gt;&lt;H2&gt;&lt;FONT size=2&gt;&lt;I&gt;The business object 'Customers' could not be found on this page.&lt;/I&gt; &lt;/FONT&gt;&lt;/H2&gt;&lt;P&gt;&lt;STRONG&gt;Description: &lt;/STRONG&gt;&lt;FONT face=Arial&gt;An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;BR&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;B&gt;Exception Details: &lt;/B&gt;&lt;FONT face=Arial&gt;System.InvalidOperationException: The business object 'Customers' could not be found on this page.&lt;BR&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;B&gt;Source Error:&lt;/B&gt;&lt;FONT face=Arial&gt; &lt;BR&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;TABLE width="100%" bgColor=#ffffcc&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;CODE&gt;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.&lt;/CODE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR&gt;&lt;B&gt;Stack Trace:&lt;/B&gt; &lt;BR&gt;&lt;BR&gt;&lt;TABLE width="100%" bgColor=#ffffcc&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;CODE&gt;&lt;PRE&gt;[InvalidOperationException: The business object 'Customers' could not be found on this page.]&lt;/PRE&gt;&lt;PRE&gt;MicroFour.StrataFrame.UI.Web.BasePage.GetBusinessObject(String Name) +150   &lt;/PRE&gt;&lt;PRE&gt;MicroFour.StrataFrame.UI.Web.WebBusinessBindingSource.GetBusinessObject() +109   &lt;/PRE&gt;&lt;PRE&gt;MicroFour.StrataFrame.UI.Web.WebBusinessBindingSource.GetView(String viewName) +51   &lt;/PRE&gt;&lt;PRE&gt;System.Web.UI.DataSourceControl.System.Web.UI.IDataSource.GetView(String viewName) +7   &lt;/PRE&gt;&lt;PRE&gt;Infragistics.WebUI.UltraWebGrid.UltraWebGrid.GetDataSourceView() +295   &lt;/PRE&gt;&lt;PRE&gt;Infragistics.WebUI.UltraWebGrid.UltraWebGrid.DataBind() +289   &lt;/PRE&gt;&lt;PRE&gt;Infragistics.WebUI.UltraWebGrid.UltraWebGrid.LoadPostData(String postDataKey, NameValueCollection values) +4745   &lt;/PRE&gt;&lt;PRE&gt;System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +408   &lt;/PRE&gt;&lt;PRE&gt;System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3776&lt;/PRE&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;/CODE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR&gt;Any thoughts?&lt;/P&gt;&lt;P&gt;Many thanks in advance,&lt;/P&gt;&lt;P&gt;Gavin</description><pubDate>Tue, 06 Nov 2007 19:30:06 GMT</pubDate><dc:creator>gavin.dell</dc:creator></item><item><title>RE: Business Object not found on page.</title><link>http://forum.strataframe.net/FindPost12484.aspx</link><description>LOL...nothing to worry about at all.&amp;nbsp; I am just glad you got it going! :)</description><pubDate>Tue, 06 Nov 2007 09:15:27 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Business Object not found on page.</title><link>http://forum.strataframe.net/FindPost12461.aspx</link><description>Hi guys,&lt;br&gt;
&lt;br&gt;
Thanks for the quick responses.   I was certain that I'd done that, but have deleted the page and recreated it and the error has gone away!   :w00t: &lt;br&gt;
&lt;br&gt;
I hang my head in shame... &lt;br&gt;
&lt;br&gt;
Thanks.&lt;br&gt;
&lt;br&gt;
Gavin</description><pubDate>Mon, 05 Nov 2007 15:11:40 GMT</pubDate><dc:creator>gavin.dell</dc:creator></item><item><title>RE: Business Object not found on page.</title><link>http://forum.strataframe.net/FindPost12424.aspx</link><description>Just to add to Ivan's comments, when you create a new web form within a StrataFrame website, there is a template that will already inherit off of the ApplicationBasePage.&amp;nbsp; We sure to use the SF Web Form instead of a standard Web Form:&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/a3896284-b48c-4129-9692-29f0.png"&gt;</description><pubDate>Mon, 05 Nov 2007 09:51:48 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Business Object not found on page.</title><link>http://forum.strataframe.net/FindPost12403.aspx</link><description>Hi Gavin.&lt;/P&gt;&lt;P&gt;Have you inherited the ApplicationBasePage within your new webform?&lt;/P&gt;&lt;P&gt;The ApplicationBasePage is where you should declare all your Business Objects, and your webforms should inherit from it.&lt;/P&gt;&lt;P&gt;Have a look at the Help under "Application"&amp;nbsp;-&amp;gt; "WebForms"&amp;nbsp;-&amp;gt; "ApplicationBasePage Classes"&lt;/P&gt;&lt;P&gt;Hope it helps.</description><pubDate>Mon, 05 Nov 2007 05:01:23 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item></channel></rss>