Error: Genereates EF-Model from Database with VS2008 don't work [DNET245] #253
Submitted by: MaikPabel (killavirus)
If I add a new http://ADO.Net Entity Data Model (edmx) to my project with Visual Studio 2008 and generates the model from a database I get allway this Error:
"An error occurred while connecting to the database. The database might be unavaiable. An exception of type 'System.Data.EntityCommandExecutionException' occurered. the error message is: An error occurred while preparing the command definition. See the inner exception for details. The inner exception caught was of type 'FirebirdSql.Data.FirebirdClient.FbEception', withe this error message: 'Dynamic SQL Error SQL error code = -104 Tokenunknown - line 6, column 8 SELECT'."
The text was updated successfully, but these errors were encountered:
Commented by: Richard Clarke (conhulio2000)
I have a similar problem, but im using Interbase 7.1. i changed the client so it can work ok with Interbase 7.1, the firebird client is working perfectly, but when i use the DDEX, it simply fails????
"An Error occurred while connecting to the database. The database might be unavailable. An exception of type 'System.Data.ProviderIncompatibleException' occurred. The error message
The inner exception caught was of type 'System.FormatException' with this message : 'Input was not in correct format.'
The Dialect is 1 for Interbase. Im using the http://Firebird.net client assembly fine otherwise, so im confused why the DDEX is now reporting a problem, very strange.