Changing server name

Posts   
 
    
Coral
User
Posts: 3
Joined: 28-Jan-2004
# Posted on: 30-Jan-2004 01:42:31   

When my LLBLGen project was first created, I was accessing the database in a remote server. However now I have the database on my local server. When I refresh the catalog, it allows me to change the server name, but it doesn't change it, so I have to re-enter it every time I refresh the catalog. I can't find it in the project properties window, which was where I was hoping to find it. Can this be added as an editable field in a future version?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39613
Joined: 17-Aug-2003
# Posted on: 30-Jan-2004 10:30:17   

Good suggestion. Will be added when the gui additions are done.

Frans Bouma | Lead developer LLBLGen Pro
Posts: 35
Joined: 22-May-2006
# Posted on: 11-Sep-2006 21:18:26   

Hi, I have read throughout the forum that this is down, but I cannot figure out where I can do this. I am now using v2.

My scenario is this. Our first release project was built from a database on our server. In our current release we have a new database on the same server. I want to change the project to use the new database and not the old one (in design time). I can add the new catalog (so now i have two in the catalog explorer). I can't seem to find where I can tell the designer to ignore the old catalog. If I delete the old catalog (leaving only the new one) it removes all entities, Sps, typed lists et al from my project because it says they are related to the old catalog.

any help would be great.

thanks,

nate

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 12-Sep-2006 06:39:10   

You may leave both of the catalogs to co-exst and use the Catalog name overwriting to let the generated code targets the new catalog for all entities previously generated to use the old catalog.

Refer to the LLBLGen Pro manual: "Using the generated code -> Application configuration through .config files" to

And if you want you may remove the old catalog with all its entities and re-add them from the new catalog.

(edit) You may also check the newly released "Project Converter", you can find it under v.2 downloads.

Posts: 35
Joined: 22-May-2006
# Posted on: 13-Sep-2006 00:28:45   

how will this work for the existing entities created from one catalog when I need to add the new entities and create relations between them?

Posts: 35
Joined: 22-May-2006
# Posted on: 13-Sep-2006 00:58:07   

to clarify, our old catalog no longer exists. i have a large amount of entities added with realtionships (added through LLBLGen), type lists, etc. I have a new databases (same schema) and I have a lot more entities and relationships to add et al. Will I be able to do this just by adding the new catalog or do I have to do everything from scratch?

bclubb
User
Posts: 934
Joined: 12-Feb-2004
# Posted on: 13-Sep-2006 02:21:06   

Try opening your project with it using the old catalog. Then open the catalog explorer, usually on the right. Here you should be to change the catalog name to the new catalog. Now when you do a refresh it should use the new catalog.

Posts: 35
Joined: 22-May-2006
# Posted on: 13-Sep-2006 13:47:11   

cool, i will try that. thanks.

Posts: 35
Joined: 22-May-2006
# Posted on: 14-Sep-2006 00:24:41   

that works, thanks!