StrataFrame Forum

Error working with Business Object Mapper

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

By Rainer Kempf, RK - 4/24/2008

Hi i have following Problem :





I create new Project



and add new item (BusinessObject) to Project



Then go to menu Strataframe



there i call there Businessobject Mapper



and then allways get this error :



SqlException

Ungültiger Objektname 'DTEprojects'.



Source : .Net SqlClient Data Provider



Stack Trace:

at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)

at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)

at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)

at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)

at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()

at System.Data.SqlClient.SqlDataReader.get_MetaData()

at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)

at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)

at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)

at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)

at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)

at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)

at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)

at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)

at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)

at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)

at MicroFour.StrataFrame.Data.DbDataSourceItem.GetDataTable(DbCommand Command, OnChangeEventHandler CallBack)

at MicroFour.StrataFrame.Data.SqlDataSourceItem.GetDataTable(DbCommand Command, OnChangeEventHandler CallBack)

at MicroFour.StrataFrame.Data.DataLayer.GetDataTable(DbCommand Command, Boolean RegisterNotification)

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

at MicroFour.StrataFrame.AddIns.DTEprojectsBO.FillProjects(String[] ProjectPaths)

at MicroFour.StrataFrame.AddIns.PartialClassBuilderDialog.ᜀ(ᜏ A_0)



As active Dataconnection I use StrataFrameSample

In Dataexplorer i have full access to Database.



So what is wrong ?



My main Problem is

i am absolutley NewBie in DotNet.Hehe



Thanks for your help



Rainer


By Ivan George Borges - 4/25/2008

Hi Rainer.

On the Visual Studio IDE, in the StrataFrame menu, choose Database Connection. The StrataFrame Data Store should be selected, and make sure this connection is pointing to the StrataFrame database, not the StrataFrameSample one.

Hope it helps.

Cheers.

By Trent L. Taylor - 4/25/2008

Ivan is correct, you either did not install the StrataFrame database, or you have your IDE environment pointing to ther wrong server and/or database.  In previous versions the database could be selected so many times people would think that this connection was foir their application...and it would cause this message all the time.  But we prevent the database from being selected through the IDE and allow allow the server to be selected.  But the issue is either the server is wrong or the database doesn't exist.  Check out those items and I am sure that you will see where the issue is.
By Rainer Kempf, RK - 4/25/2008

so easy if you know how.....w00t



thank you very much for your quick answers



Rainer
By Trent L. Taylor - 4/27/2008

No problem Smile