Error when I try to access the BO's from PopulationDatasourcesetting


Author
Message
sreddy
sreddy
StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)
Group: Forum Members
Posts: 3, Visits: 19
Hello All

I get the following error when I try to access the BO's from PopulationDatasourcesetting Property.

I followed others posts with similar type of error but was not able to figure out my error.

Thank you

Srujeet

DataLayerException

An error occurred while creating a new DataLayer for the business object.

DataLayerException

The DataSourceKey [] is not defined.

Source : MicroFour StrataFrame Business

Stack Trace:

at MicroFour.StrataFrame.Data.DataLayer.Create(BusinessLayer BusinessObject, ISynchronizeInvoke SyncObject, Boolean CheckDesignTime)

at MicroFour.StrataFrame.Business.BusinessLayer.CreateDataLayer()

at MicroFour.StrataFrame.Business.BusinessLayer.get__DataLayer()

at MicroFour.StrataFrame.Business.BusinessLayer.FillDataTable(DbCommand CommandToExecute)

at MicroFour.StrataFrame.Extensibility.BusinessObjects.DTEPreferencesBO.FillBySolutionName(String SolutionName)

at MicroFour.StrataFrame.Extensibility.BusinessObjects.DTEPreferencesBO.FillBySolutionName()

at MicroFour.StrataFrame.Extensibility.ExtensibilityBasics.GetMethodsOnTypeForListPopulation(String TypeFullName, IServiceProvider Provider, ListControl ComboToPopulate)

at MicroFour.StrataFrame.Extensibility.ListPopulationEditorDialog.ᜃ()

at MicroFour.StrataFrame.Extensibility.ListPopulationEditorDialog.ᜁ(Object A_0, EventArgs A_1)


Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.3K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Check that you set the DataSourceKey on the BO being used to populate the combo/list/listview.  Or be sure you have setup the data source used by the BO, typically in the SetDataSources method of Application.vb or program.cs (depending on language being used).
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search