duplicate dbs on same server

Posts   
 
    
MatthewM
User
Posts: 78
Joined: 26-Jul-2006
# Posted on: 23-Jan-2007 18:33:57   

I am observing a strange behavior. We have the same db duplicated on the one server. Different apps using the same generated layer connect to different dbs. The connection strings are correctly pointing to the different dbs. However, all apps run queries against the same instance of the db. It is as if that db name is hardcoded somewhere from llblgen.

llblgen 2, .net 2

jbb avatar
jbb
User
Posts: 267
Joined: 29-Nov-2005
# Posted on: 23-Jan-2007 18:37:32   

Hello,

how do you defined your connectionstring? Do you add the keys ?

<add key="CatalogNameUsageSetting" value="1" />
<add key "CatalogNameToUse" value="databaseName">

If you didn't it keep the catalog name you use for the generation.

MatthewM
User
Posts: 78
Joined: 26-Jul-2006
# Posted on: 23-Jan-2007 18:40:30   

And simple as that... thanks.