Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Exception when trying to create schema from model - why?

1 view
Skip to first unread message

Mark Cashman

unread,
Mar 19, 2006, 7:29:18 PM3/19/06
to
Hi, all!

Using BDS Architect Trial...

I have created an object model in C# Builder using ECO, and I have validated
the model and compiled the project.

I have a PersistenceMapperBdp, a bdpConnection, and a dbMapping provider in
the ECO Space:

I have an empty MS Access database, which I have added to the ECO Space as
the destination of the BdpConnection.

When I try to create the schema, I get:

Schema Generation| Borland.Data.Common.BdpException: Exception of type
Borland.Data.Common.BdpException was thrown.
at Borland.Data.Provider.BdpPool.CreateConnections(Int32 Count)
at Borland.Data.Provider.BdpPool.CreateConnections()
at Borland.Data.Provider.BdpPoolManager.a(String , String , String ,
String )
at Borland.Data.Provider.BdpPoolManager.GetConnection(String ConnString,
String ConnOptions)
at Borland.Data.Provider.BdpConnection.f()
at Borland.Data.Provider.BdpConnection.Open()
at
Borland.Eco.Persistence.Connection.AbstractIDatabaseImpl.Borland.Eco.Persistence.Connection.IDatabase.Open()
at
Borland.Eco.Persistence.ConnectionPool.RetrieveDatabaseConnection(Boolean
exclusive)
at
Borland.Eco.Persistence.PersistenceMapperDb.CreateDataBaseSchema(ITypeSystemService
typeSystemService, IConfigureCleanPS configureCleanPS)
at Borland.Eco.Persistence.Design.GenerateDBTool.Execute(ExecuteArgs
executeArgs)

Any ideas what seems to be wrong? Any way for me to test / validate the
connection?

Thanks in advance!

=
Mark Cashman


Mark Cashman

unread,
Mar 19, 2006, 9:18:20 PM3/19/06
to
Hi, all!

I found that I needed to have a user name of Admin, with no password. So now
the connection opens when I test it in the connection editor.

But now I get this exception...

Schema Generation| System.NullReferenceException: Object reference not set
to an instance of an object.


at
Borland.Eco.Persistence.PersistenceMapperDb.CreateDataBaseSchema(ITypeSystemService
typeSystemService, IConfigureCleanPS configureCleanPS)
at Borland.Eco.Persistence.Design.GenerateDBTool.Execute(ExecuteArgs
executeArgs)

Stil could use some help...

==
Mark Cashman

===

"Mark Cashman" <mcas...@temporaldoorway.com> wrote in message
news:441df760$1...@newsgroups.borland.com...

Mark Cashman

unread,
Mar 22, 2006, 9:00:18 PM3/22/06
to
Hi, all!

I was able to get this to work by deleting the provider and the connection
and recreating them.

I suppose this is one of those strange and unexplainable things that happens
in the first couple of weeks of using a new product.

==
Mark Cashman

"Mark Cashman" <mcas...@temporaldoorway.com> wrote in message

news:441e10f4$1...@newsgroups.borland.com...

0 new messages