Using Llbgen pro on different environments with same database server

Posts   
 
    
FonsDeBeer
User
Posts: 1
Joined: 13-Oct-2006
# Posted on: 13-Oct-2006 11:49:21   

I’m using LLGenPro for a .Net 1.1 project. I have three different servers where the project is going to run for testing. The first one is development, the second staging and the third one is Live.

For the first two environments I’m using the same database server, only with different names for the database (like “test – develop” on the development environment and “test – staging” on the staging enviroment). The problem is that there is used a code string for the connection for the database. And it seems that there is a web.config solution to overwrite this coded connection string in LlbGen Pro.

Is there someone how knowes this solution?

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 13-Oct-2006 15:30:10   

You should be using Catalog Name Overwrites. Please refer to the LLBLGen Pro manual: "Using the generated code -> Application configuration through .config files"