Comments (45)
I strongly suspect it has something to do with https://github.com/ErikEJ/SqlCeToolbox/wiki/Known-issues but instead of graying out the menu it grayed out Visual Studio. The offending computer has SQL CE 4 (4.0.8876.1) on it but not SQL CE3.5 (obviously). I will await advice before installing CE3.5 (in case you want me to troubleshoot)
from sqlcetoolbox.
You have some parts of SQL CE 3.5 SP1 on your system (ie a broken 3,5 SP1 Install) - assume you are not using daily builds, but latest version from VS Gallery? I will attempt to repro with latest daily bits.
from sqlcetoolbox.
I tried installing 3.5 SP1 (iso 3.5 SP2) on my machine, but was unable to repro with the latest daily bits - maybe you could give them a try: http://vsixgallery.com/extension/41521019-e4c7-480c-8ea8-fc4a2c6f50aa/
from sqlcetoolbox.
the download link in the page you linked == "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable."
and yes, latest version from the gallery. I will try to track the problem for you before I fix the install of CE3.5
Darn, I can't build it from the source because I don't have VS10 handy. I'd build a VM but I am already late releasing a beta of my new app to a very patient customer / distributor.
from sqlcetoolbox.
Hmmm.. I have no issues with the link.
You should be able to build from source with just VS 2015!?
Great if you could investigate what SQL CE 3.5 x86 binaries (versions and locations) are present on your system .. in particular System.data.sqlserverce.dll and sqlceme35.dll
from sqlcetoolbox.
sure, where should I look for those?
from sqlcetoolbox.
On your C: drive!
In GAC under Windows\Microsoft.NET and C:\program files (x86)
from sqlcetoolbox.
my C: is quite crowded and I didn't know which files. No binaries for SQL CE 3.5 (apart from an installation of PerfectDisk - plenty for SQL CE 4.
Neither of the files you mentioned are installed, I only have SQL CE 4 on this PC
from sqlcetoolbox.
I found the problems with the broken VS2015 build...
SqlCeToolbox.DDEX35.csproj at line 95 is unresolved
<Reference Include="Microsoft.VisualStudio.Data.Framework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
same in SqlCeToolbox.DDEXe.csproj (same line number too)
SqlCeToolbox.csproj at Line 61, these files are missing from the ..\lib\
folder - see https://github.com/ErikEJ/SqlCeToolbox/tree/master/src/GUI/lib
<Reference Include="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\lib\Microsoft.ReportViewer.Common.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Microsoft.ReportViewer.WinForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\lib\Microsoft.ReportViewer.WinForms.dll</HintPath>
<Private>False</Private>
</Reference>
from sqlcetoolbox.
Re files: System.data.sqlserverce.dll and sqlceme35.dll is what you should be looking for...
I will look into the ability to build without VS 2015 asap...
from sqlcetoolbox.
ok, so I need both SQL CE 3.5 and SQL CE 4 installed? I don't have SQLCE3.5 installed. I am 100% ok with installing it but the docs at https://github.com/ErikEJ/SqlCeToolbox/wiki say (my emphasis)
The Toolbox requires one of these SQL Server Compact runtime MSIs to be installed...
also (just in case I confused you)
I will look into the ability to build with
outVS 2015 asap...
from sqlcetoolbox.
I meant "without VS 2010" - sorry.
In order to build you need both SQLCE 3.5 and 4.0, yes.
from sqlcetoolbox.
I will update the build instructions on the readme.md to clarify build requirements
from sqlcetoolbox.
what about to install from the Visual Studio Gallery as an end-user (my original problem)? That's the wiki page I linked, it says you only need one version of CE, not both.
...edit...
at https://github.com/ErikEJ/SqlCeToolbox/wiki#how-do-i-get-started-using-the-toolbox
The Toolbox requires one of these SQL Server Compact runtime MSIs to be installed, if you want to connect to a SQL Server Compact database file:
infers that you don't need SQLCE installed at all if, say, you just want to use SQLite.
btw, your toolbox is awesome, as is your years of contributions for all of us out here, just in case you don't get to hear that often enough. Thanks.
from sqlcetoolbox.
As an end user, you only need runtimes for the database engine versions that you need to work with. But you appear to have 3.5 in GAC, but broken (I use that engine to store the list of databases)
from sqlcetoolbox.
Hey, I just checked in fixes for the reference issues and missing files for build with VS 2015 only
from sqlcetoolbox.
confirmed, now builds ok in Visual Studio.
Still can't download the newest vsix from http://vsixgallery.com/extension/41521019-e4c7-480c-8ea8-fc4a2c6f50aa/ - download link is http://vsixgallery.com/extensions/41521019-e4c7-480c-8ea8-fc4a2c6f50aa/SQL%20Server%20Compact%2FSQLite%20Toolbox%20v4.5.45.vsix
from sqlcetoolbox.
Sorry, I see what ypou mean now about vsix gallery - I assumed you were unable to even open the site.
You can use the feed lin: http://vsixgallery.com/extensions/41521019-e4c7-480c-8ea8-fc4a2c6f50aa/extension.vsix
from sqlcetoolbox.
Thanks for the update on the ability to build in VS 2015, btw
from sqlcetoolbox.
no problem. I'll try the vsix in a minute - for infinite value of "minute" - I pressed F5 in VS2015 and now it is downloading symbols for ... well, everything...ever.
from sqlcetoolbox.
I gave up on F5 - the Internet in Australia has a ping time of about 5 years.
The new vsix still crashes VS2015, same as before.
I'll try F5 again - this could take a while
from sqlcetoolbox.
I think you can disable it http://stackoverflow.com/questions/3817223/disable-vs-downloading-public-symbols
from sqlcetoolbox.
yeah, that's somewhat quicker, thanks. I don't see the SQLCE toolbox in the experimental VS instance so I can't debug it. :(
from sqlcetoolbox.
Tools menu!
from sqlcetoolbox.
yeah but no - not there. Nothing in the settings either.
from sqlcetoolbox.
And the affected code is in ExplorerControl.xaml.cs
from sqlcetoolbox.
Windows, other?
from sqlcetoolbox.
Set a breakpoint in the init meyhod in the package.cs
from sqlcetoolbox.
I set a breakpoint in SqlCeToolboxPackage.cs
and it didn't hit it. VS said it won't hit it because there are no symbols loaded. I don't think I will live long enough to see all the symbols load.
Just confirming, "SqlCeToolbox" should be the startup project?
from sqlcetoolbox.
and no, wasn't in View - Other Windows either.
from sqlcetoolbox.
Are you in release mode, perhaps?
from sqlcetoolbox.
was in Debug, AnyCPU. Switched to Debug x86 and it worked. It crashed, same as before. No debug symbols.
SQLCE3.5 seems to be a hard dependency?
from sqlcetoolbox.
Nope, it is not. No breakpoints hit, in ExplorerControl.xaml.cs, loaded event?
from sqlcetoolbox.
Can I see the logs, that you mentioned in your initial post?
from sqlcetoolbox.
sure. I just scrolled through them, they are just the activity logs
oh, Github doesn't like 7zip zip files (as in *.zip).
https://dl.dropboxusercontent.com/u/5115091/SQLCEtoolboxVSlogs.7z
let me know if you don't have 7zip but the f7z is 91kB, the .zip is 317kB
Let me know if there are any other tests / logs I can help with. I will leave this PC "broken" for now - I have others I can use.
from sqlcetoolbox.
🏁 Hey, thanks a million for helping with this - finally nailed it down, thanks to your detailed info and a walk with the dog 😄 - try build 4.5.52 from here: http://vsixgallery.com/extensions/41521019-e4c7-480c-8ea8-fc4a2c6f50aa/extension.vsix
from sqlcetoolbox.
Tested build 4.5.52 - still has the same problem, sorry.
Does System.Data.Common.DbProviderFactories.GetFactory("System.Data.SqlServerCe.3.5");
catch System.DllNotFoundException
?
No worries about trying to track this down, thanks a million for making this.
I fix a lot of bugs on long walks.
from sqlcetoolbox.
Need to do a better test when I have the time...
from sqlcetoolbox.
"time", ah yes, I remember that luxury. Vaguely. No problems, let me know what else I can do to help.
from sqlcetoolbox.
I was finally able to remove the newer 3.5 version from GAC, and was able to repro your issue. The conclusion: The Toolbox requires SQL Compact 3.5 SP2 installed, as 3.5 SP1 is not supported and has compatibility issues on newer OSes. I was not able to "catch" the fatal crash in any way.
from sqlcetoolbox.
Glad you found the root cause. I will install SQLCE3.5. Don't forget to tweak the wiki so the users know that SQLCE3.5 is a prerequisite to running the Toolbox, not just optional if you happen to want to connect to to SQLCE. I only use SQLite, hence my lack of CE.3.5.
https://github.com/ErikEJ/SqlCeToolbox/wiki
The Toolbox requires one of these SQL Server Compact runtime MSIs to be installed, if you want to connect to a SQL Server Compact database file:
from sqlcetoolbox.
Have thought of a couple of ideas for a fix, reopening
from sqlcetoolbox.
ok, still haven't "fixed" the busted PC so I'll leave it alone until I hear from you.
from sqlcetoolbox.
The fix is up now in the latest daily (4.5.60): http://vsixgallery.com/extensions/41521019-e4c7-480c-8ea8-fc4a2c6f50aa/extension.vsix - would be very grateful if you could give at try!
If you use my tools, I would be very grateful for a rating or review here:
https://visualstudiogallery.msdn.microsoft.com/0e313dfd-be80-4afb-b5e9-6e74d369f7a1/view/Reviews
from sqlcetoolbox.
WIN! 👍 Launches and does SQLite all ok. I noticed the SQLCE 3.5 option was grayed out.
Fixed. Thanks.
from sqlcetoolbox.
Related Issues (20)
- The specified type is not supported by this selector HOT 2
- Dark toolbar in VS 2022? HOT 5
- Connection error in Server Explorer in Visual Studio 2022 w/SQLite 1.0.118.0 HOT 9
- Tool stop working HOT 4
- Unable to find the requested .Net Framework Data Provider. It may not be installed. HOT 4
- Prep new release with Sqlite 118
- SQL compact toolbox for use on windows ARM HOT 3
- Connection HOT 3
- .NET Core version? HOT 13
- ExportSqlCe40.exe Error Code: 80004005 HOT 3
- i need sqlite and sql server compact toolbox for visual studio 2015 update 3 HOT 2
- i need sql compact server for visual studio 2015 HOT 5
- Visual Studio crashes when using SQLite and SQL Server Compact Toolbox after update HOT 3
- Would it be possible in the future to also read parquet files HOT 3
- 'SQL logic error no such table: TEMP.SCHEMATABLES' when adding Sqlite database entity data model HOT 1
- VSIX Installer stuck! HOT 5
- Scripting API releases? HOT 2
- Add support for Microsoft.Data.SqlClient HOT 15
- Error while try to connect to SQLite DB HOT 2
- ExportSqlCE40: Export SqlCe uniqueidentifier column data to SQLite as binary HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sqlcetoolbox.