SQL Server Compact/SQLite Toolbox

Free

SQL Server Compact/SQLite Toolbox add-in for Visual Studio. This add-in adds several features to help your embedded database development efforts: Scripting of tables and data, import from SQL Server and CSV files and much, much more.

(111) Review
Visual Studio
2015, 2013, 2012, 2010
Download (380,271)
4/15/2015
4.2.0.0
View
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (111)
Q and A (71)
Sign in to write a review
Sort by:

by RaymondChan95032 | Thu 3:14 AM

I have used the SqlCe35Toolbox.exe and SqlCeCmd.exe from Mr Jensen to analyze/dump Windows Mobile SDF database files. The tools are easier to use and very helpful. Mr Jensen is also very quick to respond to my questions and issues. Highly recommended !

by Vladimír Klaus | Wed 3:18 AM

I use this excelent tool several years. It helps me a lot - for example when Webmatrix had broken DB functionality.
Now I use it inside VS 2013 and it is still beter and better. Especially new function for connection renaming is fantastic since I have more the 15 databases with the same filename Data.sdf.

by Bill Drago | April 17 2015

This is an excellent tool for working with SQLite and Visual Studio. It's one of those things that you once you start using it, you don't know how you lived without it.

by AshRoller | April 16 2015

Very useful, thanks

by efhilton | April 13 2015

Beautifully written. Extremely useful. Thank you!

by Benoit P | April 09 2015

A great and necessary tool for VS2013 users, simple yet powerful. Thank you very much for all your work. Benoit

by SandroR | April 09 2015

This tool is an ESSENTIAL part of Visual Studio since Microsoft
removed from Sql management Studio the support of SqlCE.
Its value is unbelievable and we have only to thank Erik for his remarkable job.
Thank you!

by Matthias Dieter Wallnöfer | April 03 2015

by RandomlyKnighted2 | March 16 2015

This is a fantastic extension. This has helped me several times in the past with migrating databases and with the added ability to migrate SQLite databases I can now do so much more with it. This extension also has the added benefit of being created by the very dedicated ErikEJ who is willing to work with his users to figure out any problem they may be having and to extend the extensions functionality to its full potential.

ErikEJ March 31 2015
| Edit |
Delete

Thanks, and thanks for your help with SQLite => SQL Server export

by Tonazzi-M | March 10 2015

This is the best tool for working with SQLite and SQL Compact databases.
Very quick responses from the helpful developer, many thanks for you great work Erik!

ErikEJ March 10 2015
| Edit |
Delete

Thanks, and thanks for your debugging help!

by Jc1984 | March 07 2015

Hello to everyone, there is a way to change de result set as grid, I appreciate your help...

Thanks...

ErikEJ March 08 2015
| Edit |
Delete

Of course, just go into options and enable result set a grid!

by tmksoft | March 05 2015

Really nice tool.

I use it for editing the database in my Umbraco installations.

by oeduran88 | February 26 2015

Thank you very much for such useful tool. It helped me do some things I wasn't able in Webmatrix.

by Yatajga | February 20 2015

by Rick Strahl | January 28 2015

Microsoft has all but abandoned support for Sql Server Compact especially when it comes to the tooling, but this add-in makes up for that in spades. This tooling for SQL CE is miles above what Microsoft ever provided. I especially like the ability to import and export schema and data from a full SQL Server which is a huge time saver especially for testing components that support multiple providers.

Excellent.

by Hervé ANCHER | January 16 2015

From France, Very useful !

by SubramanyamRaju.B | January 09 2015

Thanks you so much.

by saramgsilva | January 08 2015

Really useful tool, thank you!

by SitzenPlatz | December 31 2014

Makes working with SQL CE so much easier and straight forward.

by Atif Rahman | December 21 2014

thank you

1 - 20 of 111 Items   
Sign in to start a discussion


  • Stored Procedures
    2 Posts | Last post Thu 4:49 PM
    • Hi, is it possible to create Stored Procedures? I'm using VS 2012.
      If possible, where can i find information about it?
      Thank you.
    • Neither SQL Compact not SQLite supports stored procedures, as they are both embedded databases - use code instead
  • Unable to load DLL 'sqlceme35.dll'
    2 Posts | Last post Tue 6:52 AM
    • Error of loading sqlceme35.dll raises on toolbox start. VS2013 Ultimate crashes too.
    • Re-install/repair the SQL Server Compact 3.5 SP2 runtime
  • SQL CE 3.0 and 3.5 support?
    8 Posts | Last post April 13, 2015
    • Hi 
      I am receving 2 apps developed in  vs2005->sqlCE3.0 for WinCE and VS2008->sqlCE3.5 for WinMovile6.5 and I wondoer if, with this tool I can give support to those apps from my VS2013? or I must stand still in VS2005 and VS2008?
      I never use Windows CE or windows Movile 6.5,  but here in my job we have a lot of hardware that uses WinCE and WinMovile,... and they are not  going to throw away the HW, just because MS throw away WinCE and WinMovile.
      
      Thanks in advance
    • For Windows ce and Windows mobile dev, you must continue to use vs 2005 & 2008. The Toolbox is available in a standalone version that supports version 3,5. 
    • I have a similar problem, where the client's app is sqlCE3.5, though it is on a desktop not on mobile environment.  Is my only option to downgrade to VS200{5,8}?  We are not allowed to upgrade the client's sqlce db to 4.0.  
    • Efhilton: that problem is not "similar", with a 3.5 desktop app you can use VS 2013/2015 and the Toolbox!
    • Hmm...  then maybe I'm doing something very wrong or am missing something.  I'm unable to open my client's sdf file.  I'm able to open it as a SQL CE 4.0 data source (forcing me to upgrade my client's database, which is not acceptable).  If I try to open it as a SQL CE 3.5 data source ("Server Explorer" -> "Add Conenction"), I get "Unable to find the requested .Net data provider. It may not be installed.
      
      On the other hand, if I go to Tools -> "SQL Server Compact/Lite Toolbox" -> "Add Connection", the "Add SQL Server Compact 3.5 Connection" is grayed out.  
      
      Any thoughts?
    • Efhilton: you need to install it (the sqlce 3,5 runtime msi) as the error message clearly states! https://sqlcetoolbox.codeplex.com/wikipage?title=Known%20Issues&referringTitle=Documentation 
      
    • I must sheepishly admit I did not see this page before I submitted my question.  My apologies.  I can now safely say that that error is gone.  I'm now struggling with an error in the "ConnectionString" but at least I've advanced much more than I had before. Thank you!
    • If you encounter any issues with the Toolbox, pls report issues here: https://sqlcetoolbox.codeplex.com/workitem/list/basic 
  • Istallation on Vis Studio Express
    3 Posts | Last post April 09, 2015
    • Hi Erik,
      
      Just wondering why your product won't install on Visual Studio 2013 Express?
      
      Thanks
      
      David
    • It is a built in limitation in Express, I guess to force users to buy Pro. But you can use VS 2013 Comunity in many scenarios now, and that edotion supports all extensions.
    • Okay, thanks for that I am installing Community and I'll see how I go.
      
      Thanks
  • Execute Sqlite PRAGMA statements in SQL Editor
    2 Posts | Last post March 05, 2015
    • Is the Toolbox meant to execute PRAGMA Statements in SQL Editor?
      
      If I execute a PRAGMA Statement there is no exception but neither a result.
      
      E.g. pragma table_info(Test);
    • No, that is not supported currently, I have created an issue to fix this: https://sqlcetoolbox.codeplex.com/workitem/12033 (Plan to include in next preview of 4.2)
  • Add-In Crashes in VS2013 when starting SQLEditor
    2 Posts | Last post March 05, 2015
    • Hi Erik, you did a great job, many thanks! But since a while, when I open the SQL Editor in Visual Studio 2013 Visual Studio crashes. It happens with 4.2beta but also with 4.1. (It works in VS 2010).
      
      An unhandled exception of type 'System.NullReferenceException' occurred in SqlCeToolbox.dll
      
      Additional information: Object reference not set to an instance of an object.
    • Pls create an issue here:https://sqlcetoolbox.codeplex.com/WorkItem/Create and provide as much info/screnshots / VS version/update info as possible, then I will investigate
  • Entity Framework class generation missing tables
    5 Posts | Last post March 05, 2015
    • Greate work on the sql ce toolbox! It's has proven to be very useful. I recently used the "Add Entity Model to the current project" which seems to have generated all the classes associated with the database but it seems to have overlooked two tables. DO you know of any conditions that might cause that to happen?
    • I did notice that the db version is (4.0.8482.1) while the version installed with NuGet is (4.0.8876.1). Do you think the conflict might be there?
    • Thanks for the kind Words, feel free to post a review here! The version installed with the EntityFramework.SqlServerCompact package is 4.0 SP1, and you should also install that in GAC. The reason why some tables are not generated would be that they do not have any primary key. 
    • Erik, I installed the tools and on installation i accidently closes the liscence agreement dialog.  Now I cannot reinstall or find in add in manager in visual studio 2013.  Is this handled.  Will I have to Sysrestore?
      
    • Trickbox: pls provide more details using the codeplex issue tracker
  • Antivirus Scan on virustotal
    9 Posts | Last post February 17, 2015
    • Hello there,
      
      a scan of the ZIP file on virustotal showed me three virus hints:
      
      DrWeb:                 Trojan.SteamBurglar.793  
      NANO-Antivirus:        Trojan.Win32.Bladabindi.dbqyyh  
      TrendMicro-HouseCall:  Suspicious_GEN.F47V0204  
      
      Is there any explanation for these warnings?
      
      Thank you & Greetings
      
    • What zip file? And what is virustotal? MS is hosting this file, and would most likely let me know of any issues
    • I think he means the downloadable vsix-file from https://visualstudiogallery.msdn.microsoft.com/0e313dfd-be80-4afb-b5e9-6e74d369f7a1/file/29445/72/SqlCeToolbox.vsix
      
      Please take a look at: https://www.virustotal.com/de/file/a55bfdfdb05ffba7ce30115d7f8b0fa304875bfad653df88b241f800aa22e3b1/analysis/1423666820/
      
      A week ago the scanner found 2 infections, today 3...
    • That is odd, since the file was uploaded to Microsoft on Jan 12. And all other virus scanners seem to not detect anything.
    • If people haven't figured it out already, VirusTotal is a handy website that allows you to upload a file and have it scanned by a multitude of anti-virus engines.
      
      False positives aren't unusual, and a detection ratio of 3/57 is generally pretty safe. Though, usually with false positives, it will be detected as Generic / Suspicious, like TrendMicro-Housecall's detection, so it's a little concerning that DrWeb and NANO detect it specifically as 'Steam Burglar' / keylogger.
      Old scan of an older version detected as keylogger: https://www.virustotal.com/en/file/a8aa7d9391bdc0c2a43c57d6ced6bb72d99364fabf07a0e9fb213b19e2ca6125/analysis/
      
      But, as mentioned, 3/57 is quite low, and aside from Trend, which I don't put a lot of trust in, I've personally never heard of DrWeb or NANO-Antivirus. A quick google search found results reporting that NANO-Antivirus was actually scareware, though I doubt VirusTotal would use it if that was the case.
      
      Ultimately, people will just need to make their own judgement calls.
      I suppose you could try rebuilding the vsix file, testing on virustotal, and re-uploading / updating the download if it passes.
    • Lol...
      I created this account years ago, and apparently wasn't in the mood to provide personal information.
      I'm going to have to see if I can change my name...
    • Hi Erik,
      
      the scanner DrWeb identifies the DLL System.Data.SQLite.dll as threat. After downloading the nuget package with the same dll version from https://www.nuget.org/api/v2/package/System.Data.SQLite.x86/1.0.94.1 linked from https://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki, I checked the dll of that package again with virustotal: https://www.virustotal.com/de/file/da1ac4c57e70cf55a79e7932c3e0487baffca7331f006dfd51597337fb1fa150/analysis/1423822619/
      
      Now DrWeb did not found any threats. But the dlls are slightly different, though both have the same version (1.0.94.0)? Both the size and the content of the dll's are different. Maybe you can explain the difference? 
      
      Would you mind to check this and if necessary replace the affected dll?
      Thx!
    • I am using this one (as I need the .NET 4.0 compatible file): sqlite-netFx40-static-binary-bundle-Win32-2010-1.0.94.0.zip - And the file in this is exactly the same as in the visx, I also did a virustotal analysis, which resulted in no viruses found: https://www.virustotal.com/da/file/fcc7e33dfd62572451fe54b99649daafdb96e674dc65a524495e540c6705303e/analysis/1423912657/ - not sure what other actions to take!
    • Hello Erik,
      
      thx for your feedback!
      Obviously one of the scanner updated its virus definition files. A few days before DrWeb found a trojaner: https://www.virustotal.com/de/file/fcc7e33dfd62572451fe54b99649daafdb96e674dc65a524495e540c6705303e/analysis/1423818824/
      In the meantime: https://www.virustotal.com/de/file/fcc7e33dfd62572451fe54b99649daafdb96e674dc65a524495e540c6705303e/analysis/1424185573/
      
      NANO and TrendMicro still found issues. But the download version of the "online scanner" found at http://housecall.trendmicro.com/de/ didn't found issues! Maybe the scanner engine at virustotal is working with older definition files!
      
      NANO's online scanner is out of service at the moment.
      
      I realized that there is a new version in the pipeline: https://www.virustotal.com/de/file/333c72871bb659efec017c9ee86e1b6766c2291fd353650d4415a7967e046889/analysis/
      
      I checked both packages. Only two files seems to be different:
      SqlCeToolbox.dll & SQLiteScripting.dll
      Scan of newer SQLiteScripting.dll: https://www.virustotal.com/de/file/096c1f3f6f0624241dfe7443d57d03cad4a08b220acf2c61a5a01fb4d7d36a2b/analysis/1424188702/
      
      Seems to me the problem is going to solve it on its own :-P
      
      
  • DDEX provider still not working
    4 Posts | Last post February 07, 2015
    • Hi Erik,
      you did a great job with this plugin. I have SQL CE 4.0 db and using EF 5. I need to add a new entity to the model but when I run "Generate Database from model" I get the error DDEX provider not installed for SQL CE 4.0...
      I am using Visual Studio 2013.
      
      Thanks in advance
      Armando
    • Did you connect to the database file via the Toolbox? Does it appear in Server Explorer? Try to re-install the ddex provider in the about dialog, restart vs, and check status in about dialog.
    • Thanks Erik,
      it works fine now.
    • Dear Mr.ErikEJ
      thanks for your replay,
      after searching I find that the issue is that my SQLite database not having primary Key"Only FK"
      that is why the sql server will not accepting tho run the script.
      with best regard
  • Cannot choose Server Compact 3.5
    5 Posts | Last post February 07, 2015
    • I have a problem with creating a Server Compact 3.5 connection, which I need for a database for Windows Phone 8.1 . Is this a general problem, or is it me who is missing something ?
    • You are missing the 3.5 runtime, see this: http://sqlcetoolbox.codeplex.com/wikipage?title=Known%20Issues&referringTitle=Documentation
    • Thanks. Now I can make a 3.5 connection.. But it gives me an error when I try to "Add Windows Phone DataContext To Current Project". It says:
      
      - SQL Server Compact/SQLite Toolbox
      - The selected project type does not support Windows Phone 7.1/8.0 - wrong TargetFrameworkMoniker: .NETCore, Version=v4.5.1
      
      And it says this right after I click that button - I dont even get to enter the namespace, or anything.
    • You are crating a Windows Phone 8.1 project, and that project type does not support SQL CE, you must create a Windows Phone 68 Silverlight project for SQL CE support, or use SQLite
    • Dear Mr.ErikEJ
      thanks for your replay,
      after searching I find that the issue is that my SQLite database not having primary Key"Only FK"
      that is why the sql server will not accepting tho run the script.
      with best regard
       
1 - 10 of 71 Items