﻿<?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  » SF BO throws DataAccessLayerException when Accessed any method of the BusinessObject.</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 06:06:11 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: SF BO throws DataAccessLayerException when Accessed any method of the BusinessObject.</title><link>http://forum.strataframe.net/FindPost11301.aspx</link><description>We'll you'll never learn unless you're shown or you ask questions.&amp;nbsp; So, keep asking the questions and we'll keep doing our best to answer them.&amp;nbsp; We don't know everything about .NET, but if we don't know it, we might have a better idea on what to type in your google search to find it and maybe point you in the right direction.</description><pubDate>Mon, 03 Sep 2007 23:40:08 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>SF BO throws DataAccessLayerException when Accessed any method of the BusinessObject.</title><link>http://forum.strataframe.net/FindPost5438.aspx</link><description>&lt;FONT color=#111111&gt;Dear All,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#111111&gt;i am using Starta Frame on my machine. everything is running quite well on machine. Our one more developer is also working on the same project as i am. but when he started the project on his machine&amp;nbsp;a DataAccessLayer Exception is being thrown on his machine with the message that &lt;STRONG&gt;&lt;FONT color=#ff1111&gt;"An error occurred whuke creating a new DataLayer for the Business object."&lt;/FONT&gt; &lt;/STRONG&gt;The inner exception is null. The other information i found for exception is&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT color=#ff1111&gt;&lt;STRONG&gt;"DataSourceKey [] is not defined."&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;please tell me whats the wrong happening here?&lt;/P&gt;&lt;P&gt;my code is in C# and SetDataSource event handler for the StartaFrame.SetDataSource event is as follows (present in program.cs)&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;static&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;void&lt;/FONT&gt;&lt;FONT size=2&gt; StrataFrameApplication_SetDataSources()&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;{&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008080 size=2&gt;ConnectionManager&lt;/FONT&gt;&lt;FONT size=2&gt;.ApplicationKey = &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"ISOCOM Key"&lt;/FONT&gt;&lt;FONT size=2&gt;;&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008080 size=2&gt;ConnectionManager&lt;/FONT&gt;&lt;FONT size=2&gt;.ApplicationDefaultTitle = &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"ISOCOM Connection"&lt;/FONT&gt;&lt;FONT size=2&gt;;&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008080 size=2&gt;ConnectionManager&lt;/FONT&gt;&lt;FONT size=2&gt;.ApplicationDefaultDescription = &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"This application connection is used by ISOCOM"&lt;/FONT&gt;&lt;FONT size=2&gt;;&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;// Set the required data source information so that the ConnectionManager can gather it&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;// SQL Connection&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008080 size=2&gt;ConnectionManager&lt;/FONT&gt;&lt;FONT size=2&gt;.AddRequiredDataSourceItem(&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"ISOCOM Key"&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"SQL Connection"&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT color=#008080 size=2&gt;DataSourceTypeOptions&lt;/FONT&gt;&lt;FONT size=2&gt;.SqlServer, &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"ISOCOM"&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"This connection is used by MyApplication."&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;true&lt;/FONT&gt;&lt;FONT size=2&gt;);&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;////SQL Connection&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;//// Make the call to SetConnections which will gather the connection information, show the connection wizard&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;//// if needed and set the DataSources collection on the DataLayer class.&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008080 size=2&gt;ConnectionManager&lt;/FONT&gt;&lt;FONT size=2&gt;.SetConnections();&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Mon, 03 Sep 2007 23:40:08 GMT</pubDate><dc:creator>Vikram Saxena</dc:creator></item><item><title>RE: SF BO throws DataAccessLayerException when Accessed any method of the BusinessObject.</title><link>http://forum.strataframe.net/FindPost11284.aspx</link><description>Ben, thanks for all the feedback and support, I´m a newbie on .net and I think that Strataframe is the better way of go away from vfp and stay on the road of new technology close to .net.&lt;br&gt;
&lt;br&gt;
Two days ago my boss buy the framework for me (I convinced him after four weeks of initial tests and learning) and I have thousand of questions, doubts (and a little of fear) but I happy with all of those because I sure that I choose the correct tool to make the fast as posible the application that he request to me with the great and awesome support that you bring to me and all the comunity on this forum :)&lt;br&gt;
&lt;br&gt;
I have to learn a lot about .net while learning the framework and I try to not disturb you and Trent so much in this path :)&lt;br&gt;
&lt;br&gt;
Thanks Again&lt;br&gt;
&lt;br&gt;
- Fabian&lt;br&gt;
[I learn I learn I learn]&lt;br&gt;</description><pubDate>Fri, 31 Aug 2007 13:10:35 GMT</pubDate><dc:creator>Fabian R Silva, -</dc:creator></item><item><title>RE: SF BO throws DataAccessLayerException when Accessed any method of the BusinessObject.</title><link>http://forum.strataframe.net/FindPost11199.aspx</link><description>I'm glad you got that working.&amp;nbsp; :)&lt;/P&gt;&lt;P&gt;As for the calculated fields, we just implemented logic that allows you to use a calculated field with the AllowNullValuesOnNewRow = False (default) because the row tries to initialize the value and it cannot because it is readonly.&amp;nbsp; So, if you want to use a calculated field, and you get an error saying that you cannot update a readonly field in the InitializeRow() method, then let me know and I'll post the corrected DLLs for you.&lt;/P&gt;&lt;P&gt;[quote]Can I post a sample with a routine that recursively read a DB to fill a treeview on the contribution topic to read some feedback on what is wrong and what can I do in a better manner?[/quote]&lt;/P&gt;&lt;P&gt;Sure thing :)&amp;nbsp; We have the General .NET Discussion forum for just that sort of thing. (&lt;A href="http://forum.strataframe.net/Forum14-1.aspx"&gt;http://forum.strataframe.net/Forum14-1.aspx&lt;/A&gt;).&amp;nbsp; You can post anything in there and lots of people will be happy to help you out with it.</description><pubDate>Wed, 29 Aug 2007 09:22:33 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: SF BO throws DataAccessLayerException when Accessed any method of the BusinessObject.</title><link>http://forum.strataframe.net/FindPost11173.aspx</link><description>3) Yes, the manual option allows you to retrieve the connection string any way you want to.  You don't have to use the ConnectionManager class at all.  (especially the ConnectionManager.SetConnections() method [Wink] ).&lt;br&gt;
&lt;br&gt;
[b]I especially not call this method as you say and all work ok (I was thinked that this line cannot have to be supressed :hehe: )&lt;br&gt;
[/b]&lt;br&gt;
&lt;br&gt;
4) Yes, the field must belong to the CurrentDataTable to be able to filter on it.  So, if you add an additional column to the CurrentDataTable and populate that column, you'll be able to filter/sort on it.  But, if you just have a custom field that does not have a backing column in the CurrentDataTable, you will not be able to sort/filter on it.&lt;br&gt;
&lt;br&gt;
[b]I don´t watched that I don´t need to use Currentview.table :w00t:[/b]&lt;br&gt;
[b]I called my "_ExtraColumnAdd" method after the fill method and voila! :D[/b]&lt;br&gt;
&lt;br&gt;
[codesnippet]&lt;br&gt;
Private Sub _ExtraColumnAdd()&lt;br&gt;
&lt;br&gt;
        'Me.CurrentView.Table.Columns.Add("ExtraColumnName", System.Type.GetType("System.String"), "")&lt;br&gt;
        Me.CurrentDataTable.Columns.Add("ExtraColumnName", System.Type.GetType("System.String"), "")&lt;br&gt;
&lt;br&gt;
        Dim row As DataRow&lt;br&gt;
        'For Each row In Me.CurrentView.Table.Rows&lt;br&gt;
        For Each row In Me.CurrentDataTable.Rows&lt;br&gt;
               'Some stuff to fill the new column here&lt;br&gt;
                row("ExtraColumnName") = "Voila!"&lt;br&gt;
        Next row&lt;br&gt;
End Sub&lt;br&gt;
[/codesnippet]&lt;br&gt;
&lt;br&gt;
[b]later on my form I can use this column like another&lt;br&gt;
&lt;br&gt;
It´s the best thing to do about add a new calculated field that can be filtered?[/b]&lt;br&gt;
&lt;br&gt;
Thanks Ben and Trent for all the support to learn all the stuff around Strataframe, you are awesome :)&lt;br&gt;
&lt;br&gt;
[hr]&lt;br&gt;
&lt;br&gt;
[b][i]pd: Can I post a sample with a routine that recursively read a DB to fill a treeview on the contribution topic to read some feedback on what is wrong and what can I do in a better manner?&lt;br&gt;
&lt;br&gt;
its used to create a tree menu like&lt;br&gt;
  1  : Module 1&lt;br&gt;
  1.1: ABMs&lt;br&gt;
  1.1.1: Customers&lt;br&gt;
  1.1.2: Employees / etc)&lt;br&gt;
  1.2: Configs&lt;br&gt;
[/i][/b]</description><pubDate>Tue, 28 Aug 2007 11:19:32 GMT</pubDate><dc:creator>Fabian R Silva, -</dc:creator></item><item><title>RE: SF BO throws DataAccessLayerException when Accessed any method of the BusinessObject.</title><link>http://forum.strataframe.net/FindPost11157.aspx</link><description>1) A data source with a DataSourceKey of "" is not required, but recommended.&amp;nbsp; It's recommended because "" is the default DataSourceKey for business objects (and the DataSourceKey on the business object tells the business object which connection string to use).&amp;nbsp; So, you don't have ot use "", but if you don't you'll need to change all of the DataSourceKey properties to match throughout your application.&lt;/P&gt;&lt;P&gt;2) You figured this one out :)&lt;/P&gt;&lt;P&gt;3) Yes, the manual option allows you to retrieve the connection string any way you want to.&amp;nbsp; You don't have to use the ConnectionManager class at all.&amp;nbsp; In fact, it's probably only recommended to use when have an internal application where your users will know their own connection string.&amp;nbsp; So, just change the SetDataSources() method to add the connections manually and acquire the connection string any way you like.&amp;nbsp; Then, just make sure you don't set any properties or call any methods on the ConnectionManager class (especially the ConnectionManager.SetConnections() method ;)).&lt;/P&gt;&lt;P&gt;4) Yes, the field must belong to the CurrentDataTable to be able to filter on it.&amp;nbsp; So, if you add an additional column to the CurrentDataTable and populate that column, you'll be able to filter/sort on it.&amp;nbsp; But, if you just have a custom field that does not have a backing column in the CurrentDataTable, you will not be able to sort/filter on it.</description><pubDate>Tue, 28 Aug 2007 09:48:30 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: SF BO throws DataAccessLayerException when Accessed any method of the BusinessObject.</title><link>http://forum.strataframe.net/FindPost11137.aspx</link><description>Forgive about the popup that appears when I run the project, I forgive when I debug the connections' stuff a 'ConnectionManager.ShowAvailableConnectionStrings()' [ question #2 ]&lt;br&gt;
&lt;br&gt;</description><pubDate>Tue, 28 Aug 2007 08:05:00 GMT</pubDate><dc:creator>Fabian R Silva, -</dc:creator></item><item><title>RE: SF BO throws DataAccessLayerException when Accessed any method of the BusinessObject.</title><link>http://forum.strataframe.net/FindPost11122.aspx</link><description>about question #4 the post [url=http://forum.strataframe.net/Topic2952-9-1.aspx][/url] speak about create a extra column to internal data table, it´s ok or not apply? thanks&lt;br&gt;
&lt;br&gt;
Post #2977     &lt;br&gt;
------------&lt;br&gt;
Table 1 has InvtID&lt;br&gt;
Table 1 has a calculated field (In the business object) that is a GUID that corrosponds to the Server/Database (ERPXrefKey). This is NOT a field in table 1, but is required for the correct entry in table2&lt;br&gt;
&lt;br&gt;
Table 2 is in a different database&lt;br&gt;
Key in Table2 is the ERPXrefKey and then InvtID&lt;br&gt;
&lt;br&gt;
I'd like to form a business relationship with the calculated field and the key.&lt;br&gt;
&lt;br&gt;
--------------------------------------------------------------------------&lt;br&gt;
Post #2979&lt;br&gt;
-----------&lt;br&gt;
Ben Chase  &lt;br&gt;
 Posted 09/22/2006 9:08:21 AM      &lt;br&gt;
&lt;br&gt;
 Well, any time a business object needs to reference a field from the business object on the other side of the relationship, it uses the default property (indexer), which will return a value through any strong-typed property, not just the ones that are in the table.  However, when the business objects attempt to do things such as cascading the row filter, or using the "FillByParent" methods, the business objects are expecting all of the fields to be part of the current data table and the table in the database.  So, I'm not sure of a way around your problem other than to add an extra column to the internal data table of the business object each time the CurrentDataTableRefilled method fires and calculate the values for the extra column.&lt;br&gt;
&lt;br&gt;
pd: attached a jpg with the popup that appears when I run the project (about question on previous post...)&lt;br&gt;
&lt;br&gt;
Thanks again!&lt;br&gt;
&lt;br&gt;
- Fabian</description><pubDate>Mon, 27 Aug 2007 15:17:52 GMT</pubDate><dc:creator>Fabian R Silva, -</dc:creator></item><item><title>RE: SF BO throws DataAccessLayerException when Accessed any method of the BusinessObject.</title><link>http://forum.strataframe.net/FindPost11121.aspx</link><description>Hello, thanks for reply&lt;br&gt;
&lt;br&gt;
I tested everything....except set 1 db with key '' and another with 'integra4config0 :/ it worked&lt;br&gt;
&lt;br&gt;
#1 question: I have to set 1 datasourcekey with empty value (''), it is required? when I set 2 db, both with datasourcekey, the error appears, when I set 1 db with an empty datasourcekey and other with the datasourcekey it works :crazy:&lt;br&gt;
&lt;br&gt;
#2 another related question: when I change that, everytime I run the project, a screen appears to select the data connection, why this happen?&lt;br&gt;
&lt;br&gt;
#3 question : If I set datasources manually (DataLayer.DataSources.Add(New SqlDataSourceItem("", "myconnectionstring")), can I avoid to display of any message of connectionmanager to the user of the compiled application? Can I override the connectionmanager and load a xml with my connectionstrings, read it and set datasource connections manually without any prompt?&lt;br&gt;
&lt;br&gt;
#4 question [not related to datasources]&lt;br&gt;
I created a custom field property (same as the tutorial) and try to filter with this field&lt;br&gt;
  MyBo1.filter = "MycustomField = 'something'"&lt;br&gt;
I get a error like "the column [MyCustomField] cannot be found"&lt;br&gt;
     question: Can I filter via a custom field?&lt;br&gt;
&lt;br&gt;
thanks for all the help :)&lt;br&gt;</description><pubDate>Mon, 27 Aug 2007 14:26:15 GMT</pubDate><dc:creator>Fabian R Silva, -</dc:creator></item><item><title>RE: SF BO throws DataAccessLayerException when Accessed any method of the BusinessObject.</title><link>http://forum.strataframe.net/FindPost11087.aspx</link><description>The DataSourceKey that is the first parameter in the New SqlDataSourceItem should match the data source key that you set on your business objects.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Try this and see if it works:&lt;/P&gt;&lt;P&gt;Comment out everything in the SetDataSources() method (don't use the ConnectionManager) and put this:&lt;/P&gt;&lt;P&gt;DataLayer.DataSources.Add(New SqlDataSourceItem("", "connection string to I4Net database"))&lt;BR&gt;DataLayer.DataSources.Add(New SqlDataSourceItem("I4CONFIG", "connection string to integra4Config database"))&lt;/P&gt;&lt;P&gt;The first data source, I would leave with a DataSourceKey of an empty string because that is the default that the business objects use.&amp;nbsp; The second one, use a new key, like the "I4CONFIG" and set the DataSourceKey on the business objects that need to talk to it to that value.</description><pubDate>Mon, 27 Aug 2007 08:54:31 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: SF BO throws DataAccessLayerException when Accessed any method of the BusinessObject.</title><link>http://forum.strataframe.net/FindPost11071.aspx</link><description>StakTrace:&lt;br&gt;
&lt;br&gt;
   en MicroFour.StrataFrame.Business.BusinessLayer.get__DataLayer()&lt;br&gt;
   en MicroFour.StrataFrame.Business.BusinessLayer.FillDataTable(DbCommand CommandToExecute)&lt;br&gt;
   en Integra4BOLibrary.MenuesBO.FillbyModulo(String Modulo) en C:et\Integra4BOLibrary\MenuesBO.vb:línea 87&lt;br&gt;
   en Integra4.Menu.SetearMenu() en C:et\integra4\Formularios\Menu.vb:línea 22&lt;br&gt;
   en Integra4.Menu.Menu_Load(Object sender, EventArgs e) en C:et\integra4\Formularios\Menu.vb:línea 14&lt;br&gt;
   en System.EventHandler.Invoke(Object sender, EventArgs e)&lt;br&gt;
   en System.Windows.Forms.Form.OnLoad(EventArgs e)&lt;br&gt;
   en MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.OnLoad(EventArgs e)&lt;br&gt;
   en System.Windows.Forms.Form.OnCreateControl()&lt;br&gt;
   en System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)&lt;br&gt;
   en System.Windows.Forms.Control.CreateControl()&lt;br&gt;
   en System.Windows.Forms.Control.WmShowWindow(Message&amp; m)&lt;br&gt;
   en System.Windows.Forms.Control.WndProc(Message&amp; m)&lt;br&gt;
   en System.Windows.Forms.ScrollableControl.WndProc(Message&amp; m)&lt;br&gt;
   en System.Windows.Forms.ContainerControl.WndProc(Message&amp; m)&lt;br&gt;
   en System.Windows.Forms.Form.WmShowWindow(Message&amp; m)&lt;br&gt;
   en System.Windows.Forms.Form.WndProc(Message&amp; m)&lt;br&gt;
   en System.Windows.Forms.Control.ControlNative&amp;#119;indow.OnMessage(Message&amp; m)&lt;br&gt;
   en System.Windows.Forms.Control.ControlNative&amp;#119;indow.WndProc(Message&amp; m)&lt;br&gt;
   en System.Windows.Forms.Native&amp;#119;indow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)</description><pubDate>Fri, 24 Aug 2007 16:16:13 GMT</pubDate><dc:creator>Fabian R Silva, -</dc:creator></item><item><title>RE: SF BO throws DataAccessLayerException when Accessed any method of the BusinessObject.</title><link>http://forum.strataframe.net/FindPost11070.aspx</link><description>I try to use 2 sql databases, but cannot make it work&lt;br&gt;
[codesnippet]&lt;br&gt;
Private Shared Sub SetDataSources()&lt;br&gt;
        '------------------------------------&lt;br&gt;
        '  Using the Connection Manager&lt;br&gt;
        '------------------------------------&lt;br&gt;
&lt;br&gt;
        '-- Set the information specific to this application and the data sources&lt;br&gt;
        '       The application key:&lt;br&gt;
        ConnectionManager.ApplicationKey = "Integra4"&lt;br&gt;
        ConnectionManager.ApplicationDefaultTitle = "Integra4"&lt;br&gt;
        ConnectionManager.ApplicationDefaultDescription = "conexion de Integra4"&lt;br&gt;
&lt;br&gt;
        'ConnectionManager.ShowAvailableConnectionStrings()&lt;br&gt;
&lt;br&gt;
        '-- Set the required data source information so that the ConnectionManager can gather it&lt;br&gt;
        '      SQL Connection&lt;br&gt;
&lt;br&gt;
        'i4net&lt;br&gt;
        ConnectionManager.AddRequiredDataSourceItem("I4", "SQL Connection", _&lt;br&gt;
            DataSourceTypeOptions.SqlServer, "I4NET", "This connection is used by INTEGRA4.")&lt;br&gt;
&lt;br&gt;
        'Integra4Config&lt;br&gt;
        ConnectionManager.AddRequiredDataSourceItem("I4CONFIG", "SQL Connection", _&lt;br&gt;
            DataSourceTypeOptions.SqlServer, "Integra4Config", "Conexion a integra4Config")&lt;br&gt;
&lt;br&gt;
        ConnectionManager.SetConnections()&lt;br&gt;
&lt;br&gt;
        '-- ToDo:  Set the data source key for the security tables&lt;br&gt;
        SecurityBasics.SecurityDataSourceKey = "I4"&lt;br&gt;
    End Sub&lt;br&gt;
[/codesnippet]&lt;br&gt;
note: I try DataLayer.DataSources.Add(New SqlDataSourceItem("", "myconnectionstring")) but when I create a BO with a datasourcekey "integra4config" and make a fill, only a innerexception "The DataSourceKey [I4CONFIG] is not defined." appears&lt;br&gt;
&lt;br&gt;
I Cannot set 2 databases and call 2 BOs with diferent datasourcekeys&lt;br&gt;
&lt;br&gt;
Any help please?? thanks &lt;br&gt;
&lt;br&gt;
- Fabian</description><pubDate>Fri, 24 Aug 2007 16:01:25 GMT</pubDate><dc:creator>Fabian R Silva, -</dc:creator></item><item><title>RE: SF BO throws DataAccessLayerException when Accessed any method of the BusinessObject.</title><link>http://forum.strataframe.net/FindPost5441.aspx</link><description>The problem is in the AddRequiredDataSourceItem() line.&amp;nbsp; The first parameter is the DataSourceKey for the data source your requiring.&amp;nbsp; It's basically a unique key for the connection string that will be created at runtime.&amp;nbsp; That value must match the DataSourceKey property on each business object that will use that connection string.&amp;nbsp; So, the business objects' DataSourceKey property defaults to an empty string (""), so either, you need to change that first parameter to an empty string, or you need to change the DataSourceKey property on your business objects to be "ISOCOM Key".</description><pubDate>Thu, 21 Dec 2006 08:34:41 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>