Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to change a connection string to an SQL database

Posted on 2009-07-15
5
Medium Priority
?
140 Views
Last Modified: 2012-05-07
Hello ...I had an SQL database stored in my laptop.Unfortenatelly my laptop was broken for a reason...I saved the hard drive ...and bought a new laptop.
This sql database used a connection string named: FM_beConnectionstring1(MySettings) and the route was :Data Source=SPARTAN2-PC\VAIO_VEDB;Initial Catalog=FM_be;Integrated Security=True
(FM_be is name of the database)
this does not work in my new laptop ...and all my datasets use this route...
how can i change this without creating the datasets from the begining...
thank you in advance
0
Comment
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 24862358
Kindly check whether
1. Your new laptop name is SPARTAN2-PC\VAIO_VEDB.
2. Remote configurations are enabled for SQL Server.
3. FM_be database is available in your new laptop.
0
 
LVL 18

Author Comment

by:John (Yiannis) Toutountzoglou
ID: 24864397
SPARTAN2-PC\VAIO_VEDB:old laptop
FM_be is available on the new laptop
0
 
LVL 57

Accepted Solution

by:
Raja Jegan R earned 2000 total points
ID: 24865573
In your connection string, you still refer to your Old laptop it means.
Kindly change it to your new laptop in connection string and give it a try.
0
 
LVL 18

Author Comment

by:John (Yiannis) Toutountzoglou
ID: 24967679
I am very sory for the delay ...It is Summer in Greece so I left for Vacation...
I checked you answer so i did the following:
MyProject -Setting-
and there i just change the server....
thank you very much
0
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 24967764
Welcome and glad to help you out..
0

Featured Post

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

604 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