Multiple Databases in Project


Author
Message
Geoff Hirst
Geoff Hirst
StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)
Group: Forum Members
Posts: 123, Visits: 3.5K
Hi,

I have a project that has 3 databases. All has deployed fine, when I try and populate a business objects from anything but the first database, all I get is Could not find stored procedure 'proc name'.

I have set up the connections in SetDataSources.

This one has me stumped, I have checked the actual SQL Server the proc I am trying to call is in place.

What am I missing ?

thanks guys

Geoff.

Geoff Hirst
Geoff Hirst
StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)
Group: Forum Members
Posts: 123, Visits: 3.5K
Hi,

A bit more info.

If I prefix the dbname followed by .. to the procname, all is well. Yet, the BO has the correct Databae name in place.

So, this looks like it is only connecting to the 'first' database, and firing everything thru that. Is this how it is supposed to be?

thanks

Geoff.

Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)Strategic Support Team Member (3.6K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Hi Geoff.

Have you set up the DataSourceKey property of your BOs?

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
I think Ivan may be going down the right road here.  Have you setup all of your data sources to each of the databases?
Geoff Hirst
Geoff Hirst
StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)StrataFrame User (231 reputation)
Group: Forum Members
Posts: 123, Visits: 3.5K
Thanks Ivan/Trent,

Not done a multiple db system for a while and this customer has a Firebird (scary!!) db that I have replicated in SQL Server. I needed to get the stuff into my app from this db.

regards

Geoff.

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