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
Solved

SQL Server Connection String

Posted on 2012-03-27
9
534 Views
Last Modified: 2012-06-21
I have migrated a Microsoft Access 2010 database to Microsoft SQL Server 2008.  Is the following connection string correct?

    <add name="ConnStrNSMDB" connectionString="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=vcnsql90\i90;User ID=nsm1171;Password=[Secret Password];Initial Catalog=nsm;" providerName="System.Data.SqlClient"/>
0
Comment
Question by:Ray Turner
9 Comments
 
LVL 25

Expert Comment

by:Lee Savidge
ID: 37770837
0
 
LVL 25

Accepted Solution

by:
Lee Savidge earned 500 total points
ID: 37770869
Specifically http://www.connectionstrings.com/sql-server-2008

Much depends on your server set up and how you want to connect to it.
0
 
LVL 20

Expert Comment

by:BuggyCoder
ID: 37770891
Just remove provider key:-

<add name="ConnStrNSMDB" connectionString="Data Source=vcnsql90\i90;User ID=nsm1171;Password=[Secret Password];Initial Catalog=nsm;" providerName="System.Data.SqlClient"/>

Open in new window

0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
LVL 8

Expert Comment

by:PeteEngineer
ID: 37770995
0
 
LVL 8

Expert Comment

by:PeteEngineer
ID: 37770999
Or do this:

 In the design view drag in the sql data source object and configure from there.
0
 
LVL 16

Expert Comment

by:Rose Babu
ID: 37771155
remove Provider=Microsoft.ACE.OLEDB.12.0; in the connection string and update the connectionstring as below.
  <connectionStrings>
    <add name="ConnStrNSMDB" connectionString="Data Source=vcnsql90\i90;Initial Catalog=nsm;User Id=nsm1171;Password=[Secret Password];" providerName="System.Data.SqlClient"/>
  </connectionStrings>

Open in new window

Try this
0
 
LVL 35

Expert Comment

by:YZlat
ID: 37771170
you are connecting to SQL Server databse and Microsoft.ACE.OLEDB.12.0 is a provider for Access db
0
 
LVL 13

Expert Comment

by:Rick
ID: 37771487
<connectionStrings>
<add name="ConnectionNameHere" connectionString="Data Source=server.domain.com;Initial Catalog=DatabaseNameHere;Persist Security Info=True;User ID=UserIdHere;Password=PasswordHere;pooling='true';Max Pool Size=240;Connection Timeout=600" providerName="System.Data.SqlClient"/>
</connectionStrings>

Open in new window

0
 

Author Closing Comment

by:Ray Turner
ID: 37774971
Thanks!
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Naughty Me. While I was changing the database name from DB1 to DB_PROD1 (yep it's not real database name ^v^), I changed the database name and notified my application fellows that I did it. They turn on the application, and everything is working. A …
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

789 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