Source code checked in, #97925
Source code checked in, #97926
Source code checked in, #97927
Created Unassigned: Why is SQL CE Toolbox failing to parse my csv file? [12269]
I installed it, opened VS 2015, selected Tools | SQL Server Compact Toolbox, quickly and easily set up a connection to my sdf database, which I had (also quickly and easily) created in WebMatrix.
I then right-clicked the database in SQLCEToolbox's treeview and selected Import from CSV file.
Note: One must explicitly specify the column names on the first line in the file (line/row 0) and explicitly add the ID/Primary Key/Identity vals (if you have such a column).
Once I fixed the various formatting errors with my csv file, it seemed to import well. But I got this err msg:
Error Code: 80004005
Message : The column cannot be modified. [ Column name = ID ]
Minor Err.: 25004
Source : SQL Server Compact ADO.NET Data Provider
Err. Par. : ID
Reviewed: Release 4.4 Visual Studio add-in (Nov 17, 2015)
Commented Unassigned: Why is SQL CE Toolbox failing to parse my csv file? [12269]
I installed it, opened VS 2015, selected Tools | SQL Server Compact Toolbox, quickly and easily set up a connection to my sdf database, which I had (also quickly and easily) created in WebMatrix.
I then right-clicked the database in SQLCEToolbox's treeview and selected Import from CSV file.
Note: One must explicitly specify the column names on the first line in the file (line/row 0) and explicitly add the ID/Primary Key/Identity vals (if you have such a column).
Once I fixed the various formatting errors with my csv file, it seemed to import well. But I got this err msg:
Error Code: 80004005
Message : The column cannot be modified. [ Column name = ID ]
Minor Err.: 25004
Source : SQL Server Compact ADO.NET Data Provider
Err. Par. : ID
Comments: ** Comment from web user: ErikEJ **
You have several options:
1: Make the ID column not an IDENTITY column
2: Remove the ID column from your csv file
3: Add SET IDENTITY_INSERT ON/OFF to the generated script http://stackoverflow.com/questions/7063501/how-to-turn-identity-insert-on-and-off-using-sql-server-2008
Released: Release vNext (Nov 17, 2015)
RELEASE NOTES
New featuresNew result grid in Query editor with:
- Auto filtering
- Grouping
- Sorting
- Column reordering
Option to use new result grid or "classic" grid
Menu item to script SQL Server database schema to SQLite
Improvements
Layout improvements to query editor
File filter improvements in query editor
Progress messages during export now displayed in Output window
Enable scripting of hierarchyid as varbinary(892)
Now able to script Adventureworks2014 schema and data to both SQL Compact and SQLite without errors
Bug fixes
Editor keyboard bugs fixed
Scroll issues in treeview fixed
Autohide of Toolbox bug fixed
Opt out of Telemetry now possible
REVIEWS
I would be very grateful if you post any ratings and reviews of the Toolbox here-
Updated Release: Release vNext (nov 17, 2015)
RELEASE NOTES
New featuresNew result grid in Query editor with:
- Auto filtering
- Grouping
- Sorting
- Column reordering
Option to use new result grid or "classic" grid
Menu item to script SQL Server database schema to SQLite
Improvements
Layout improvements to query editor
File filter improvements in query editor
Progress messages during export now displayed in Output window
Enable scripting of hierarchyid as varbinary(892)
Now able to script Adventureworks2014 schema and data to both SQL Compact and SQLite without errors
Bug fixes
Editor keyboard bugs fixed
Scroll issues in treeview fixed
Autohide of Toolbox bug fixed
Opt out of Telemetry now possible
REVIEWS
I would be very grateful if you post any ratings and reviews of the Toolbox here-
Source code checked in, #97933
Created Unassigned: "Exception has been thrown by the target of an invocation" [12272]
Uninstall / reinstall latest version of the toolbox makes no difference.
Can't do anything with it at this point.
Ideas?
Commented Unassigned: "Exception has been thrown by the target of an invocation" [12272]
Uninstall / reinstall latest version of the toolbox makes no difference.
Can't do anything with it at this point.
Ideas?
Comments: ** Comment from web user: ErikEJ **
I think your SQL Compact install is broken somehow, try to repair/reinstall
Commented Unassigned: "Exception has been thrown by the target of an invocation" [12272]
Uninstall / reinstall latest version of the toolbox makes no difference.
Can't do anything with it at this point.
Ideas?
Comments: ** Comment from web user: mtmt **
How do I flush the list of connections in the toolbox? I think one or more of the connections is causing the issue.
Commented Unassigned: "Exception has been thrown by the target of an invocation" [12272]
Uninstall / reinstall latest version of the toolbox makes no difference.
Can't do anything with it at this point.
Ideas?
Comments: ** Comment from web user: ErikEJ **
Delete/rename the C:\Users\yourname\AppData\Local sqlceaddinstore files, though I doubt that is the issue
Closed Unassigned: Why is SQL CE Toolbox failing to parse my csv file? [12269]
I installed it, opened VS 2015, selected Tools | SQL Server Compact Toolbox, quickly and easily set up a connection to my sdf database, which I had (also quickly and easily) created in WebMatrix.
I then right-clicked the database in SQLCEToolbox's treeview and selected Import from CSV file.
Note: One must explicitly specify the column names on the first line in the file (line/row 0) and explicitly add the ID/Primary Key/Identity vals (if you have such a column).
Once I fixed the various formatting errors with my csv file, it seemed to import well. But I got this err msg:
Error Code: 80004005
Message : The column cannot be modified. [ Column name = ID ]
Minor Err.: 25004
Source : SQL Server Compact ADO.NET Data Provider
Err. Par. : ID
Comments: By design
Commented Unassigned: "Exception has been thrown by the target of an invocation" [12272]
Uninstall / reinstall latest version of the toolbox makes no difference.
Can't do anything with it at this point.
Ideas?
Comments: ** Comment from web user: mtmt **
Still not having any luck, and this seems to be related to a specific .SLN that I'm opening at startup.
When I start VS2015 with a previously-opened solution (i.e., right-click on the VS2015 icon pinned to my taskbar and choose one of the solutions on the MRU list), I get the error. The solution I'm opening has the Microsoft.SqlServer.Compact package installed, as well as ErikEJ.SqlCeBulkCopy if that makes any difference.
If I start VS2015 "cleanly" (i.e, with no solution), the SQL CE toolbox opens without any problems. I can then open the same .SLN that caused the error without any issue.
Does the SQL CE toolbox interrogate the solution file in some way?
Commented Unassigned: "Exception has been thrown by the target of an invocation" [12272]
Uninstall / reinstall latest version of the toolbox makes no difference.
Can't do anything with it at this point.
Ideas?
Comments: ** Comment from web user: ErikEJ **
I think the issue could be that yoiu do not have the same version of SQL Server Compact 4.0 installed in the solution and in your GAC. Make sure you use this version of https://www.nuget.org/packages/Microsoft.SqlServer.Compact/4.0.8876.1 and install the 4.0 SP1 msi in your machine
Created Unassigned: VS2015 will not install DDEX providers [12291]
When I try to update the model from within the diagram, I get an error...
> An exception of type 'System.ArgumentException' occurred while attempting to update from the database. The exception message is: 'Unable to convert runtime connection string to its design time equivalent. The libraries required to enable Visual Studio to communicate with the database for design purposes (DDEX provider) are not installed for provider 'System.Data.SqlServerCe.3.5'. Connection string: Data Source=D:\folder\folder\folder\database.sdf'.
I have tried installing the DDEX providers using the button you provide at the bottom of the "About" box ("Register DDEX Providers") but when I then restart Visual Studio that same "About" box shows...
* SQL Server Compact 3.5 in GAC - Yes 3.5.8080.0
* SQL Server Compact 3.5 DbProvider - Yes
* SQL Server Compact 3.5 DDEX provider - No
* SQL Server Compact 3.5 Simple DDEX provider - No
* SQL Server Compact 3.5 Engine test - PASS!
It would appear therefore that the providers are no longer installing. The only way that I can update diagrams is to delete them and then recreate them from your toolbox which is extremely inconvenient (no more than a week or two ago I was able to edit diagrams without problem - the only thing that I can think of that could be a problem is that the November Windows 10 update was installed and/or there may have been updates to the .NET Framework via Windows Update).
I am using the 'nuget' packages EntityFramework 6.1.3 and EntityFramework.SqlServerCompact.Legacy 6.1.3, targeting .NET 4.5 and developing on Windows 10 Professional (November 2015 update installed). My Visual Studio (Enterprise) version is 14.0.23107.0 D14REL (Update 1 RC NOT installed).
Can you help?
Thanks.
Commented Unassigned: VS2015 will not install DDEX providers [12291]
When I try to update the model from within the diagram, I get an error...
> An exception of type 'System.ArgumentException' occurred while attempting to update from the database. The exception message is: 'Unable to convert runtime connection string to its design time equivalent. The libraries required to enable Visual Studio to communicate with the database for design purposes (DDEX provider) are not installed for provider 'System.Data.SqlServerCe.3.5'. Connection string: Data Source=D:\folder\folder\folder\database.sdf'.
I have tried installing the DDEX providers using the button you provide at the bottom of the "About" box ("Register DDEX Providers") but when I then restart Visual Studio that same "About" box shows...
* SQL Server Compact 3.5 in GAC - Yes 3.5.8080.0
* SQL Server Compact 3.5 DbProvider - Yes
* SQL Server Compact 3.5 DDEX provider - No
* SQL Server Compact 3.5 Simple DDEX provider - No
* SQL Server Compact 3.5 Engine test - PASS!
It would appear therefore that the providers are no longer installing. The only way that I can update diagrams is to delete them and then recreate them from your toolbox which is extremely inconvenient (no more than a week or two ago I was able to edit diagrams without problem - the only thing that I can think of that could be a problem is that the November Windows 10 update was installed and/or there may have been updates to the .NET Framework via Windows Update).
I am using the 'nuget' packages EntityFramework 6.1.3 and EntityFramework.SqlServerCompact.Legacy 6.1.3, targeting .NET 4.5 and developing on Windows 10 Professional (November 2015 update installed). My Visual Studio (Enterprise) version is 14.0.23107.0 D14REL (Update 1 RC NOT installed).
Can you help?
Thanks.
Comments: ** Comment from web user: MartinRobins **
Been looking through the source code, and I can confirm that the registry entries that are created by the call to Helpers.DataConnectionHelper.RegisterDDEXProviders(true); all appear to be present and correct. I have also found the SqlCeToolbox.DDEX35.dll and SqlCeToolbox.DDEX40.dll libraries within ".\AppData\Local\Microsoft\VisualStudio\14.0\Extensions\2div4gw0.cb3".
gacutil /l SqlCeToolbox.DDEX35 and gacutil /l SqlCeToolbox.DDEX40 report no items so these assemblies are not in the GAC.
M.