?
Solved

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

Posted on 2014-10-12
4
Medium Priority
?
643 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 668 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 668 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 664 total points
ID: 40375648
0
 

Author Closing Comment

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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Suggested Courses

743 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