How to switch SQL data connection for .net applications?

Posted on 2007-03-29
Medium Priority
Last Modified: 2010-03-19
I have a server running SQL server 2005, we are about to make a switch to a new server enviroment and that machine will be running the same. All of our .net applications have a data connection to the old server. Once I bring up my new server, what would be the easiest way for me to have my apps recognize the new server name? Can I make a DNS entry to point to that machine?
Question by:Wytech_Wire
1 Comment
LVL 42

Accepted Solution

dqmq earned 2000 total points
ID: 18817845
If the old server is going away, you can certainly direct a DNS entry by that name to the new server.

Featured Post

We Need Your Input!

WatchGuard is currently running a beta program for our new macOS Host Sensor for our Threat Detection and Response service. We're looking for more macOS users to help provide insight and feedback to help us make the product even better. Please sign up for our beta program today!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

In this article, we will show how to detach and attach a database and then show how to repair a corrupt database and attach it, If it has some errors. We will show how to detach and attach using SSMS or using T-SQL sentences.
In this article, we will see two different methods to recover deleted data. The first option will be using the transaction log to identify the operation and restore it in a specified section of the transaction log. The second option is simpler and c…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question