﻿<?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?)  » Using WebBusinessBindingSource</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 03:10:58 GMT</lastBuildDate><ttl>20</ttl><item><title>Using WebBusinessBindingSource</title><link>http://forum.strataframe.net/FindPost11685.aspx</link><description>I'm trying to bind a GridView control to a business object using the WebBusinessBindingSource object. I get the WBBS object added to my ASP.NET page with no problem and tell it which business object to use. However, when I bind the GridView to the WBBS, I get an ArgumentNullException (see the attached image).&lt;br&gt;
&lt;br&gt;
Is there a property I need to change to make the GridView work with the WBBS?&lt;br&gt;
&lt;br&gt;
Thanks!</description><pubDate>Fri, 19 Oct 2007 10:00:59 GMT</pubDate><dc:creator>PeterA</dc:creator></item><item><title>RE: Using WebBusinessBindingSource</title><link>http://forum.strataframe.net/FindPost12103.aspx</link><description>[quote][b]Ben Chase (10/19/2007)[/b][hr]The code model had a few elements with "Not Supported" properties within that file so it was throwing an exception we weren't expecting. I plugged the holes, so give this one a try. Usual steps: copy to C:\Program Files\Common Files\MicroFour\StrataFrame, drag to C:\Windows\Assembly, restart VS.[/quote]&lt;br&gt;
&lt;br&gt;
That took care of it. Thanks!</description><pubDate>Fri, 19 Oct 2007 10:00:59 GMT</pubDate><dc:creator>PeterA</dc:creator></item><item><title>RE: Using WebBusinessBindingSource</title><link>http://forum.strataframe.net/FindPost12093.aspx</link><description>The code model had a few elements with "Not Supported" properties within that file so it was throwing an exception we weren't expecting.&amp;nbsp; I plugged the holes, so give this one a try.&amp;nbsp; Usual steps: copy to C:\Program Files\Common Files\MicroFour\StrataFrame, drag to C:\Windows\Assembly, restart VS.</description><pubDate>Fri, 19 Oct 2007 09:23:02 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Using WebBusinessBindingSource</title><link>http://forum.strataframe.net/FindPost12060.aspx</link><description>[quote][b]Ben Chase (10/15/2007)[/b][hr]Could you email me the .aspx page and the .cs page for that page. We're parsing the EnvDTE.CodeModel and for some reason, it doesn't thing that the class has a base class. You can email it to &lt;A href="mailto:support@strataframe.net"&gt;support@strataframe.net&lt;/A&gt;. Thanks.[/quote]&lt;br&gt;
&lt;br&gt;
Any luck tracking this down? Did you receive the files OK?&lt;br&gt;
&lt;br&gt;
Thanks!</description><pubDate>Thu, 18 Oct 2007 11:20:16 GMT</pubDate><dc:creator>PeterA</dc:creator></item><item><title>RE: Using WebBusinessBindingSource</title><link>http://forum.strataframe.net/FindPost11978.aspx</link><description>Could you email me the .aspx page and the .cs page for that page.&amp;nbsp; We're parsing the EnvDTE.CodeModel and for some reason, it doesn't thing that the class has a base class.&amp;nbsp; You can email it to &lt;A href="mailto:support@strataframe.net"&gt;support@strataframe.net&lt;/A&gt;.&amp;nbsp; Thanks.</description><pubDate>Mon, 15 Oct 2007 09:34:10 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Using WebBusinessBindingSource</title><link>http://forum.strataframe.net/FindPost11954.aspx</link><description>Well, the error still occurred, but it was much more specific. Not sure how to go about fixing it, though.&lt;br&gt;
&lt;br&gt;
Thanks!</description><pubDate>Fri, 12 Oct 2007 09:48:07 GMT</pubDate><dc:creator>PeterA</dc:creator></item><item><title>RE: Using WebBusinessBindingSource</title><link>http://forum.strataframe.net/FindPost11941.aspx</link><description>OK, I've added some catches and more detailed descriptions when an unexpected condition is encountered.&amp;nbsp; I also loosened the RegEx that parses off the base page class name, so give this one a try and see if it works.&amp;nbsp; You'll need to shutdown VS, copy the DLLs to your C:\Program Files\Common Files\MicroFour\StrataFrame folder and also drag them into the C:\Windows\Assembly folder.&amp;nbsp; Then restart VS and let me know what happens.</description><pubDate>Thu, 11 Oct 2007 09:25:12 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Using WebBusinessBindingSource</title><link>http://forum.strataframe.net/FindPost11928.aspx</link><description>[quote][b]Ben Chase (10/02/2007)[/b][hr]I just added some more if tests to the GetPageType() method to throw more detailed exceptions when something goes wrong. It's part of the Extensibility DLL, but before I send you all of the new assemblies, there is one last thing we can check... can you post the &amp;lt;@ &amp;gt; page declarations from the .aspx page that is giving you the problem? We parse those off trying to find the ApplicationBasePage type to retrieve and it looks like the parsing is failing.[/quote]&lt;br&gt;
&lt;br&gt;
Has there been any progress on the new assemblies? Anything else I might be able to try?&lt;br&gt;
&lt;br&gt;
Thanks!</description><pubDate>Tue, 09 Oct 2007 14:01:02 GMT</pubDate><dc:creator>PeterA</dc:creator></item><item><title>RE: Using WebBusinessBindingSource</title><link>http://forum.strataframe.net/FindPost11793.aspx</link><description>[quote]&lt;br&gt;
&amp;lt;%@ Page Language="C#" EnableTheming="true" Theme="Default" StylesheetTheme="Default" MasterPageFile="../Design/mm.Master" AutoEventWireup="true" CodeBehind="detail.aspx.cs" Inherits="Company.BusinessArea.Application.Page" Title="Page Title" %&gt;&lt;br&gt;
[/quote]&lt;br&gt;
&lt;br&gt;
This the page declaration from one of the pages. The other one I tried it on is set up in the same way, just has a different CodeBehind attribute declaration.&lt;br&gt;
&lt;br&gt;
Thanks!</description><pubDate>Tue, 02 Oct 2007 09:58:24 GMT</pubDate><dc:creator>PeterA</dc:creator></item><item><title>RE: Using WebBusinessBindingSource</title><link>http://forum.strataframe.net/FindPost11790.aspx</link><description>I just added some more if tests to the GetPageType() method to throw more detailed exceptions when something goes wrong.&amp;nbsp; It's part of the Extensibility DLL, but before I send you all of the new assemblies, there is one last thing we can check... can you post the &amp;lt;@ &amp;gt; page declarations from the .aspx page that is giving you the problem?&amp;nbsp; We parse those off trying to find the ApplicationBasePage type to retrieve and it looks like the parsing is failing.</description><pubDate>Tue, 02 Oct 2007 09:32:56 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Using WebBusinessBindingSource</title><link>http://forum.strataframe.net/FindPost11781.aspx</link><description>Has there been any progress on this? Is it a bug? Did I set something up wrong?&lt;br&gt;
&lt;br&gt;
Thanks!</description><pubDate>Tue, 02 Oct 2007 09:02:30 GMT</pubDate><dc:creator>PeterA</dc:creator></item><item><title>RE: Using WebBusinessBindingSource</title><link>http://forum.strataframe.net/FindPost11746.aspx</link><description>[quote][b]Ben Chase (09/27/2007)[/b][hr]Oh, and is this a Web Site, or a Web Application Project?[/quote]&lt;br&gt;
&lt;br&gt;
This is all being done with a code-behind and is an Web Application project.&lt;br&gt;
&lt;br&gt;
Thanks!</description><pubDate>Fri, 28 Sep 2007 09:10:24 GMT</pubDate><dc:creator>PeterA</dc:creator></item><item><title>RE: Using WebBusinessBindingSource</title><link>http://forum.strataframe.net/FindPost11734.aspx</link><description>Oh, and is this a Web Site, or a Web Application Project?</description><pubDate>Thu, 27 Sep 2007 11:34:07 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Using WebBusinessBindingSource</title><link>http://forum.strataframe.net/FindPost11733.aspx</link><description>Is the page using code-behind or is all of the .NET code in &amp;lt;script&amp;gt; tags?</description><pubDate>Thu, 27 Sep 2007 11:30:49 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Using WebBusinessBindingSource</title><link>http://forum.strataframe.net/FindPost11712.aspx</link><description>I added the WBBS to the page, set the business object on the WBBS, saved the page, closed and re-opened VS. Same problem (and that error pops up multiple times).&lt;br&gt;
&lt;br&gt;
I then tried setting the DataSourceID property on the gridview, saved the page, closed and re-opened VS. Still occurred after that, too.&lt;br&gt;
&lt;br&gt;
Anything else I can try?&lt;br&gt;
&lt;br&gt;
Thanks!</description><pubDate>Wed, 26 Sep 2007 11:06:44 GMT</pubDate><dc:creator>PeterA</dc:creator></item><item><title>RE: Using WebBusinessBindingSource</title><link>http://forum.strataframe.net/FindPost11703.aspx</link><description>Working with the VSTypeReslutionService can cause some problems... sometimes you have to build the project and reload VS before the DLLs within the IDE are refreshed for use.&amp;nbsp; So, once you set the business object, save the files, build the project, and reload Visual Studio.</description><pubDate>Wed, 26 Sep 2007 09:26:55 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>