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

Commented Unassigned: VS2015 will not recognise 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 being recognised. 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: ErikEJ **

I think maybe your SQL Server Compact installation could be corrupt for some reason. Try to re-install SQL Server Compact 3.5 SP2, and remember to install both the x64 and x86 runtime MSIs.


Source code checked in, #97947

$
0
0
Added general options button to query editor

Closed 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: Feel free to ask to re-open if the problem persists

Closed 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.

Reviewed: Release 4.4 Visual Studio add-in (Ara 02, 2015)

$
0
0
Rated 5 Stars (out of 5) - veritabanı yönetimi

Created Unassigned: Error exiting VS2015 Update 1 with extension enabled [12297]

$
0
0
Clean install of Windows 10, VS2015 Update 1 with all updates applied.
After adding this extension I am unable to cleanly shutdown Visual Studio. I get this error;
'Object reference not set to an instance of an object'. I must then use task manager to kill the Visual Studio instance. If I disable the extension then all is fine. Would've attached screenshots but this tool is failing me!

Commented Unassigned: Error exiting VS2015 Update 1 with extension enabled [12297]

$
0
0
Clean install of Windows 10, VS2015 Update 1 with all updates applied.
After adding this extension I am unable to cleanly shutdown Visual Studio. I get this error;
'Object reference not set to an instance of an object'. I must then use task manager to kill the Visual Studio instance. If I disable the extension then all is fine. Would've attached screenshots but this tool is failing me!

Edit: the first screenshot appeared after saving this issue, maybe I can make more attachments!
Comments: ** Comment from web user: ErikEJ **

Would be helpful if you could share the Toolbox options pages and about screen also. Then I will look into it. Do you have the query editor open when shutting down VS?

Commented Unassigned: Error exiting VS2015 Update 1 with extension enabled [12297]

$
0
0
Clean install of Windows 10, VS2015 Update 1 with all updates applied.
After adding this extension I am unable to cleanly shutdown Visual Studio. I get this error;
'Object reference not set to an instance of an object'. I must then use task manager to kill the Visual Studio instance. If I disable the extension then all is fine. Would've attached screenshots but this tool is failing me!

Edit: the first screenshot appeared after saving this issue, maybe I can make more attachments!

Edit 2: I have solved this issue. It turns out that the SQLCEDeviceRuntime msi file does not format the entries in the all machine.config files nicely. I reformatted the DbProviders section to make sure each entry was on its own separate line. After a machine reboot, I re-enabled this extension and was successful in establishing a connection to a compact database and then exiting VS2015 without erros. This issue can be marked as closed.
Comments: ** Comment from web user: czumwinkle **

Qeury editor was not open. And the options made no difference. See Edit #2 in the description box. Thank you for your wonderful tool and for the quick response.


Commented Unassigned: Error exiting VS2015 Update 1 with extension enabled [12297]

$
0
0
Clean install of Windows 10, VS2015 Update 1 with all updates applied.
After adding this extension I am unable to cleanly shutdown Visual Studio. I get this error;
'Object reference not set to an instance of an object'. I must then use task manager to kill the Visual Studio instance. If I disable the extension then all is fine. Would've attached screenshots but this tool is failing me!

Edit: the first screenshot appeared after saving this issue, maybe I can make more attachments!

Edit 2: I have solved this issue. It turns out that the SQLCEDeviceRuntime msi file does not format the entries in the all machine.config files nicely. I reformatted the DbProviders section to make sure each entry was on its own separate line. After a machine reboot, I re-enabled this extension and was successful in establishing a connection to a compact database and then exiting VS2015 without erros. This issue can be marked as closed.
Comments: ** Comment from web user: ErikEJ **

Thanks, glad you got it sorted!

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

Closed Unassigned: Error exiting VS2015 Update 1 with extension enabled [12297]

$
0
0
Clean install of Windows 10, VS2015 Update 1 with all updates applied.
After adding this extension I am unable to cleanly shutdown Visual Studio. I get this error;
'Object reference not set to an instance of an object'. I must then use task manager to kill the Visual Studio instance. If I disable the extension then all is fine. Would've attached screenshots but this tool is failing me!

Edit: the first screenshot appeared after saving this issue, maybe I can make more attachments!

Edit 2: I have solved this issue. It turns out that the SQLCEDeviceRuntime msi file does not format the entries in the all machine.config files nicely. I reformatted the DbProviders section to make sure each entry was on its own separate line. After a machine reboot, I re-enabled this extension and was successful in establishing a connection to a compact database and then exiting VS2015 without erros. This issue can be marked as closed.

New Comment on "Documentation"

$
0
0
I am brand new to development in every way shape and form. I am very confused by sqlite. I know sql but I can't seem to figure out how to use sqlite. I can't figure out what to install or what to add to my VS. I am using VS2015 community, I am trying to learn VB .NET and I'm trying to create a WPF project. Any guidance would be amazing. I keep reading blogs, tutorial, watching videos and reading forum posts and I feel more confused than ever!

Updated Wiki: Home

$
0
0
Project Description
SQL Server Compact & SQLite Toolbox is a Visual Studio add-in and standalone app , for managing all aspects of your SQL Server Compact/SQLite database files

Project is being moved to GitHub: https://github.com/ErikEJ/SqlCeToolbox

Latest source and issues are now on Github!

Download the latest version of the Visual Studio add-in (for both 3.5, 4.0 and SQLite) from Visual Studio Gallery

Follow me on Twitter: @ErikEJ

Add-in version 4.4 - November 2015 - Modern look and improved Visual Studio integration*
SQL Server Compact Toolbox 4.4

Demo video of version 4.1 on Channel 9

Demo video of version 2.6 on Channel 9

For similar functionality in SQL Server Management Studio and from a command line, use my SQL Compact Scripting Utility Project on CodePlex.

Please feel free to provide feedback on bugs and feature requests using the Issue Tracker

toolbox4.png

toolbox2.png

toolbox1.png

toolbox3.png

Options.png

Standalone edition:
Standalone.png

This project is inspired by the excellent SQL Azure Explorer CodePlex project. Thanks for being there.

For more technical information on Visual Studio add-ins, see this blog post.

Closed Unassigned: Move the project to GitHub [12162]

$
0
0
This is not actually an issue, just a recommendation and the title says all.

I think the project could benefit a lot from github's tools and other Microsoft projects like Prism and Roslyn are already there.
Comments: In Progress - help wanted!

Closed Unassigned: VS2015 will not recognise 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 being recognised. 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: Never heard back... Feel free to reopen if you have feedback

Closed Unassigned: SQLite: Support encryption [11818]

$
0
0
By using the Devart provider for example - need to test with API first

Closed Unassigned: Error Code: 80040E14 [12099]

$
0
0
edit log table:

level nvarchar 10 True False 0 0

execute code:
```

-- Script Date: 5/8/2015 4:06:13 PM - ErikEJ.SqlCeScripting version 3.5.2.49
ALTER TABLE [log] ALTER COLUMN [level] nvarchar(10) DEFAULT '11' NOT NULL ;
GO

```
get message:

Error Code: 80040E14
Message : There was an error parsing the query. [ Token line number = 1,Token line offset = 53,Token in error = DEFAULT ]
Minor Err.: 25501
Source : SQL Server Compact ADO.NET Data Provider
Num. Par. : 1
Num. Par. : 53
Err. Par. : DEFAULT
Comments: Moved to github

Closed Unassigned: Improve "Private" EF package [12075]

$
0
0
http://stackoverflow.com/questions/29542375/entity-framework-looks-for-ado-net-provider-sqlserverce-3-5-instead-of-4-0?noredirect=1#comment47241399_29542375
Comments: Moved to github

Closed Unassigned: SQLite datetime issue [12224]

$
0
0
Trying to open Top 200 Rows I got FormatException: String was not recognized as valid DateTime at ErikEJ.SqlCeToolbox.ToolWindows.ResultesetGrid.LoadData(String sqlText)

The connection string has DateTime Kind=Utc option. (The ServerVersion is 3.8.10.2)

did a more experiments with it. SQLiteStudio showed the raw values - it seems to be stored in unix format and somehow wrongly (I can’t figure why it is caused by infrastructure - I am using SQlite-net, SqLitePCL.raw dlls got through Nuget as the infrastructure, SQLiteConnection is constructed with storeDateTimeAsTicks = true as default setting.) . (e.g. stored 622159416000000000 value is interpreted as 18.7.1972 22:00:00 by the infrastructure).

Then I experimented with SQLiteStudio, to figure out the SQLite Toolbox is able to show date time stored as correct unix format. I cloned the original table structure to a different table, then insert one row through SQL INSERT statement and using function strftime('%s', 'now'.) Then using function Datetime(MyDateTypeColumn, 'unixepoch') in SQL SELECT statement showed it correctly. And of course the SQLiteStudio showed the value in raw format in the grid – an integer number (even for the original case, which was quite valuable for me).
I looked at SQLite Toolbox, Edit top 200 Rows, View Data as Report, Script as SELECT execution all raised the exception. Only using replacing MyDateTypeColumn Datetime (MyDateTypeColumn, 'unixepoch') in , Script as SELECT was successful.

Question (or kind of suggestion)from that all: What do you think, if the SQLite Toolbox, Edit top 200 Rows, View Data as Report, Script as SELECT execution shows raw values in grid for Datetime SQLite type by default (not doing any date time conversion) , like SQLiteStudio seems to do? (Or if have some setting which kind of implicit date time conversion is used for that with possibility of no conversion?)
I tried to use SQLite very recently, so I might miss something important. Then please excuse me if the suggestion sounds stupid to you.
Comments: Moved to github

Closed Feature: Query parameters support [12206]

$
0
0
I use SQL CE Toolbox to write and test queries to be used in reporting (I use telerik reporting and Dev Express, but this applies to most .net reporting tools).

In my reports the user supply parameters that translates to SQL parameters. For example if I have a report that displays sales details by period, I will have a query like this:

```
SELECT * FROM Sales
WHERE SaleDate >= @DateFrom AND SaleDate <= @DateTo

```
I always use SQL CE Toolbox to write the query without parameters, and I add the parameters once I take the query to my reporting tool.
It will be useful to get the tool ask for parameter values when running the query, or may be having some proprietary syntax to declare parameters (similar to SQL Server declare).
Comments: Moved to github

Closed Unassigned: Support sqlite-net extensions [12024]

$
0
0
Make support for them optional
Comments: Moved to github
Viewing all 2796 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>