views:

982

answers:

2

I'm trying to generate an entity model from a Firebird database using the Entity Data Model Wizard, but it dies loading the data for the "Choose Your Database Objects" step with the error:

Microsoft Visual Studio

An error occurred while connecting to the database. The database might be unavailable. An exception of type 'System.Data.EntityCommandExecutionException' occurred. The error message is: 'An error occurred while executing the command definition. See the inner exception for details.

The inner exception caught was of type 'FirebirdSql.Data.FirebirdClient.FbException', with this error message: 'Dynamic SQL Error

SQL error code = -104

Token unknown - line 6, column 8

SELECT'.

The inner exception caught was of type 'FirebirdSql.Data.Common.IscException', with this error message: 'Exception of type 'FirebirdSql.Data.Common.IscException' was thrown.'.'.

[ OK ]

I certainly believe it should work from this blog post on the ADO.Net team blog.

I'm able to browse tables and definitions using server explorer, so I think it's safe to discount connectivity/permissions issues, but I'm at a bit of a loss as to what else to check to get this working?

+1  A: 

The blog post you speak about is beta version

the final release is on Jiri blog or on Firebird or here

Hugues Van Landeghem
I downloaded the various bits from the Firebird site, and should have the RTM versions of all bits as of today.
Rowland Shaw
+1  A: 

According to the comment on this blog post, Firebird 1.5 is not support for LINQ to Firebird, even though it is supported version according to the Firebird website.

Rowland Shaw
As I happen to be integrating with a third party's server to report from it, and cannot upgrade it, the short answer is that it won't work.
Rowland Shaw