473,406 Members | 2,371 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

INI files which hold server connections

I have a SQL Server development box and a Clustered SQL Server Production
box which is run by our enterprise level admins. In order to direct my C#
front end from my development box to the production cluster I have to go
through a change control window in off hours to change the connection
strings to point from the dev to the production box. This all has to be done
during a window of about an hour. Once I change the connection strings if
there are any errors with connecting I have to resolve them in this open
window.

I wanted to throw this out there to see what other professionals are doing.
I would like to have two files I reference, 1 with the development server
path strings, and 1 with the production cluster path strings instead of
manually going in and modifying each individual connection string.

I would like to just reference a registry key, preference file, txt file, or
ini file. It would be easier to have each method which needs to open a
connection to call a class level string variable that points to the ini file
which has the connection string in it. This way I could just change out the
ini file name at the class level, this would reduce the possibilities of
spelling or path errors.

I'm open to any suggestions....
Nov 17 '05 #1
0 943

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: stuart.d.jones | last post by:
Hi, I'm trying to write an application which will eventually use SQL Express running on a server, with a client app running on several client machines. I'm developing it with an instance of SQL...
5
by: Glen Buell | last post by:
Hi all, I have a major problem with my ASP.NET website and it's SQL Server 2005 Express database, and I'm wondering if anyone could help me out with it. This site is on a webhost...
8
by: Irfan | last post by:
hi, I created a setup file using the Publish Wizard in Visual Studio 2005 and installed the software in the client machine. Now I want to update some of the installed files in the client...
5
by: senadslipac | last post by:
How to Q: Uncompressing ~400K files on Apache Server Hello All, I have ~400K html files on my local XP machine and I’d like to compress the files, upload them onto my host (apache - pair.com)...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.