SqlCeToolbox | SQL Server Compact Toolbox extension for Visual Studio | SQL Database library
kandi X-RAY | SqlCeToolbox Summary
kandi X-RAY | SqlCeToolbox Summary
SQLite & SQL Server Compact Toolbox extension for Visual Studio, SSMS (and stand alone)
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of SqlCeToolbox
SqlCeToolbox Key Features
SqlCeToolbox Examples and Code Snippets
Community Discussions
Trending Discussions on SqlCeToolbox
QUESTION
When my Winforms application reaches the first Entity Framework data "request" I get the following error.
Message: The underlying provider failed to open.
InnerException: Data source cannot be empty.
My connection string is being built dynamically to cater for the user's %appdata%
directory path. I am building it at first runtime and updating the app.config
with the connection string once it is built. The code that handles this is below:
ANSWER
Answered 2018-Jan-20 at 11:49You cannot use a SqlConnectionStringBuilder with SQLite, use SQLiteConnectionStringBuilder instead, and set the DataSource property to the database file name
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install SqlCeToolbox
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page