StrataFrame Forum

Object Mapper Error

http://forum.strataframe.net/Topic263.aspx

By Larry Caylor - 12/12/2005

I just downloaded and installed version 1.3 of the framework. I’m able to run the sample application but when I try to associate table structures to the business objects using the Business Object Mapper window I get the following error message

“The fields could not be displayed. Verify that the project and/or business object configuration is setup properly.”
By StrataFrame Team - 12/12/2005

Is this the first time you have installed StrataFrame?



If it isn't the first time, then did you re-deploy the StrataFrame database when you installed? The database structure changed for this latest install. If this isn't the case, and you re-deployed the database, then could you give me some information what your scenario looks like? Are you pulling fields from SQL Server, Oracle, OLE DB, or MetaData... what's the table structure look like? Are you C# or VB? The more info I have the faster I can figure out what's happening.



Thanks Smile
By Larry Caylor - 12/12/2005

I’m using SQL Server 2000 and VB

 

In order to have a clean install I un-installed the previous version of the framework and deleted all of the StrataFrame databases. After installing v1.3 I opened the sample project and entered the DB configuration information when prompted. The demo app runs fine.

 

Next I selected the Business Object Mapper from the StrataFrame Menu. Right clicked on the “StrateFrameSample” project, clicked on NEW entered “StrataFrameDemo” as the project name, selected “SQL Server”, entered ‘Demo” for the description, and entered a SQL Server connection string”.

 

Next I right clicked on ‘CustomersBO’ under the StrataFrameSample project which brought up the business object properties window. I clicked on the ‘Specify Data Source’ button which brought up a list of SQL Server Databases. I expanded the “StrataFrameSample” data bases, selected dbo.Customers, and clicked “OK”.

 

On the Object Mapper window it displays the source, database and table at the bottom of the window. The error message is displayed in the Message box.

By StrataFrame Team - 12/12/2005

What was the error message that you received? If you got it in a message box, then it's not because you have a bad connection string. Also, try right-clicking the business object and tell it to build the partial class. When the progress window displays, it will give you an error message which is generally the message of an exception that might give us some more information.
By StrataFrame Team - 12/12/2005

Don't worry about getting me the error message, because Daniel had the same problem... it's been fixed and posted out on the Update Blog.