-
December 14th, 2008, 07:39 AM
#1
Starting an SQL Server Application
Just wondering what methodology most people use when starting up a SQL Server App.
Eg, Where do you store the SQL Server Name, Database Name, Database User Name, and Password (or the fact it is Windows Authenticated)
I came to the conclusion that an INI file or equivalent would be best, with Encryption on User Passwords (if they exist).
I have had problems when storing this type of info in the registry, particularly when you need to run a variety of Databases for support and demonstration purposes (always needing to change the registry to get something to work)
What do you all do please ?
-
December 14th, 2008, 07:49 AM
#2
Re: Starting an SQL Server Application
INI file here assuming it is VB6.0.
-
December 15th, 2008, 08:18 AM
#3
Re: Starting an SQL Server Application
I use VB6 and VB.Net - either way - an INI file to me is just a Text File with the file type INI
I actually store my variables with XML tags
-
December 17th, 2008, 08:17 PM
#4
Re: Starting an SQL Server Application
now the trend is move from desktop to Web app..web.config is the right file for this
right now i'm using .ini file too and it's great
-
December 17th, 2008, 08:21 PM
#5
Re: Starting an SQL Server Application
To a large degree it depends on the language, and the intent.
Classig choices are:
a) INI file
b) Registry Setting
More "Modern" Choices:
c) Plain XML configuration file
d) Secure Encrpyted XML Config File
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
-
December 17th, 2008, 08:41 PM
#6
Re: Starting an SQL Server Application
If you have time you could take a look at this.
-
December 18th, 2008, 11:39 AM
#7
Re: Starting an SQL Server Application
Thanks guys - most appreciated
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|