StrataFrame Forum

How do I change the server name and database name when I deploy the application at my client sit

http://forum.strataframe.net/Topic18942.aspx

By Marcia G Akins - 9/2/2008

Hi all.

The subject says it all.

My application is configured locally to run on MGA-Desktop. Wjen I deploy this at my client site, I need to have the application configured to run on his server. How do I go about doing this?

TIA

By Edhy Rijo - 9/2/2008

There are several ways to handle this:

  1. In the AppMain.vb or Program.cs in the InitApplication() method you can set your custom database connection there.
  2. When you start your application, if SF can not find the database specified in #1, it will show you the Application Database Connections form which will allow your end user to enter the credentials for their database.

For a better explanation, look at the following topic in the help file: Application Framework ->WinForms->Connection Strings.

By Marcia G Akins - 9/3/2008

Hi Edhy.

>> For a better explanation, look at the following topic in the help file: Application Framework ->WinForms->Connection Strings <<

Thanks for the quick response. I did look at the topic in the help file, but I was still confused.

By Dustin Taylor - 9/3/2008

Yep, by default it will show the database connection form to build that connection string for you on the first run. Depending on how knowledgable your user base is that may be sufficient, but we tend to get the required connection info from the user at install time and then set the connection string ourselves (#1 in Edhy's post) so that they don't have to worry about it the first time they run.

Either way works, though BigGrin

By Marcia G Akins - 9/3/2008

Hi Dustin.

>> Yep, by default it will show the database connection form to build that connection string for you on the first run. <<

Doesn't matter how knowledgeable my users are. I will be there the first time the applicaiotn is run on their site Laugh