Solved

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

Posted on 2014-10-12
4
546 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

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…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

786 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