Quantcast
Channel: SQL Server Compact & SQLite Toolbox
Viewing all 2796 articles
Browse latest View live

Source code checked in, #97925

$
0
0
Fixed bug that cause sql highlighting to kick in too much

Source code checked in, #97926

$
0
0
Implemented scripting of hierarchyid data

Source code checked in, #97927

Created Unassigned: Why is SQL CE Toolbox failing to parse my csv file? [12269]

$
0
0
Why is SQL CE Toolbox failing to parse my csv file?



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)

$
0
0
Rated 3 Stars (out of 5) - Just downloaded this release issue found "This extension is not install able on any currently installed products"

Commented Unassigned: Why is SQL CE Toolbox failing to parse my csv file? [12269]

$
0
0
Why is SQL CE Toolbox failing to parse my csv file?



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)

$
0
0
Download the release version (4.4.0.4) of the Visual Studio add-in for SQL Server Compact 3.5, 4.0 and SQLite from Visual Studio Gallery

RELEASE NOTES

New features
New 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)

$
0
0
Download the release version (4.4.0.4) of the Visual Studio add-in for SQL Server Compact 3.5, 4.0 and SQLite from Visual Studio Gallery

RELEASE NOTES

New features
New 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]

$
0
0
No idea what has happened, but today (after a few weeks of not using the Toolbox), I'm greeted with a message "Exception has been thrown by the target of an invocation" with a red background right below the "Data Connections" node in the treeview.

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]

$
0
0
No idea what has happened, but today (after a few weeks of not using the Toolbox), I'm greeted with a message "Exception has been thrown by the target of an invocation" with a red background right below the "Data Connections" node in the treeview.

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]

$
0
0
No idea what has happened, but today (after a few weeks of not using the Toolbox), I'm greeted with a message "Exception has been thrown by the target of an invocation" with a red background right below the "Data Connections" node in the treeview.

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]

$
0
0
No idea what has happened, but today (after a few weeks of not using the Toolbox), I'm greeted with a message "Exception has been thrown by the target of an invocation" with a red background right below the "Data Connections" node in the treeview.

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]

$
0
0
Why is SQL CE Toolbox failing to parse my csv file?



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]

$
0
0
No idea what has happened, but today (after a few weeks of not using the Toolbox), I'm greeted with a message "Exception has been thrown by the target of an invocation" with a red background right below the "Data Connections" node in the treeview.

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]

$
0
0
No idea what has happened, but today (after a few weeks of not using the Toolbox), I'm greeted with a message "Exception has been thrown by the target of an invocation" with a red background right below the "Data Connections" node in the treeview.

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]

$
0
0
I have a VS2015 (class library) project into which I have added an Entity Framework Data Model (EDMX) using the menu option on your "SQL Server Compact/SQLite Toolbox" (4.4.0.4) window against a SQL Compact 3.5 database I have connected. The model generated fine and compiles without problem.

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]

$
0
0
I have a VS2015 (class library) project into which I have added an Entity Framework Data Model (EDMX) using the menu option on your "SQL Server Compact/SQLite Toolbox" (4.4.0.4) window against a SQL Compact 3.5 database I have connected. The model generated fine and compiles without problem.

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.

Created Unassigned: Grid enhancement [12292]

$
0
0
When I right click a table and select the option edit top 200 rows, I am not able to copy an entire row and paste it at the end of the same table. Any help regarding this would be great.

Created Unassigned: SQL Formatting in query editor? [12294]

$
0
0
http://mikaelkoskinen.net/post/nsqlformatter
Viewing all 2796 articles
Browse latest View live