Solved

VB.net Connection string for SQL Server Compact database on desktop

Posted on 2014-10-12
4
606 Views
Last Modified: 2014-10-17
Hi
1I created a SQL Server Compact database on my laptop as shown in the image below in SQL Server Management Studio. I only entered a password and no user name in the creation process. What would the connection string be to connect to this database?

Thanks
0
Comment
Question by:Murray Brown
[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
4 Comments
 

Assisted Solution

by:Ravi Kamagond
Ravi Kamagond earned 167 total points
ID: 40375624
Hi,
Password will not be work in Server compact so,

1. Select Server type as Database Engine.
2. Server name as Local
3. Authentication as windows authentication
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 167 total points
ID: 40375636
You want the connection string for a .Net application? Create a .udl file and copy the connection string. See http://www.dmxzone.com/go/312/how-to-generate-an-ado-connection-string/
0
 
LVL 15

Assisted Solution

by:Jagadishwor Dulal
Jagadishwor Dulal earned 166 total points
ID: 40375648
0
 

Author Closing Comment

by:Murray Brown
ID: 40387976
Thanks for the help
0

Featured Post

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.

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

688 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