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


How do I change the server name and database name when I deploy the...
Author
Message
Marcia G Akins
Marcia G Akins
Advanced StrataFrame User (512 reputation)Advanced StrataFrame User (512 reputation)Advanced StrataFrame User (512 reputation)Advanced StrataFrame User (512 reputation)Advanced StrataFrame User (512 reputation)Advanced StrataFrame User (512 reputation)Advanced StrataFrame User (512 reputation)Advanced StrataFrame User (512 reputation)Advanced StrataFrame User (512 reputation)
Group: StrataFrame Users
Posts: 322, Visits: 529
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

Edhy Rijo
E
StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
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.

Edhy Rijo

Marcia G Akins
Marcia G Akins
Advanced StrataFrame User (512 reputation)Advanced StrataFrame User (512 reputation)Advanced StrataFrame User (512 reputation)Advanced StrataFrame User (512 reputation)Advanced StrataFrame User (512 reputation)Advanced StrataFrame User (512 reputation)Advanced StrataFrame User (512 reputation)Advanced StrataFrame User (512 reputation)Advanced StrataFrame User (512 reputation)
Group: StrataFrame Users
Posts: 322, Visits: 529
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.

Dustin Taylor
Dustin Taylor
StrataFrame Team Member (660 reputation)
Group: StrataFrame Users
Posts: 364, Visits: 771
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

Marcia G Akins
Marcia G Akins
Advanced StrataFrame User (512 reputation)Advanced StrataFrame User (512 reputation)Advanced StrataFrame User (512 reputation)Advanced StrataFrame User (512 reputation)Advanced StrataFrame User (512 reputation)Advanced StrataFrame User (512 reputation)Advanced StrataFrame User (512 reputation)Advanced StrataFrame User (512 reputation)Advanced StrataFrame User (512 reputation)
Group: StrataFrame Users
Posts: 322, Visits: 529
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

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search