Solved

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

Posted on 2014-10-12
4
576 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:murbro
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:murbro
ID: 40387976
Thanks for the help
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

685 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