Linq query accessing the wrong database

Posts   
 
    
Posts: 1
Joined: 29-Mar-2012
# Posted on: 29-Mar-2012 16:41:00   

Hello,

we have taken over a project which is using llblgen pro 2.6. we are trying to write a small utility to fix something however the linq query i wrote is hitting the wrong database. i have stepped through the code and i can not find where this is happening. when i run a trace on the DB.. i can see that my linq is changed to the select but a Database name is being added to the table.. well.. wrong db..

where would this action be configured? i have searched the solution.. its not in the solution???

Thanks in advance, Frank

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 29-Mar-2012 22:05:31   

Hi Frank,

Most likely the person who generate the code was using and old catalog (db). You can override the name of the catalog the application should connect to in the application config file. This is how

David Elizondo | LLBLGen Support Team