Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An exception was thrown by the type initializer for FirebirdSql.Data.Common.Charset [DNET374] #379

Closed
firebird-automations opened this issue Mar 24, 2011 · 2 comments

Comments

@firebird-automations
Copy link

Submitted by: Antony Veretennikov (borod_)

Relate to DNET327

Im from russia. Excuse me for my bad english.
I saw like exception. that is not same.

I have a project writing on C#⁠ in Vs 2005 IDE. the program must work on Windows and Linux(Ubuntu and Suse 11). A Specially compiled version of .net adapter for linux under .net 2.0 is not. ( i used the specially version. These Adapter have a references to assemblies under a runtime of version 4 ) Therefore I chose what was. It is locating here http://sourceforge.net/projects/firebird/files/firebird-net-provider/2.6.0/NETProvider-2.6.0-NET20.7z/download.

Under Windows + .Ner 2.0 this program works right.

Under Ubuntu + Mono the programm occours next exception.

An exception was thrown by the type initializer for FirebirdSql.Data.Common.Charset

The Database encoding is WIN1251

StackTrace:
An exception was thrown by the type initializer for FirebirdSql.Data.Common.Charset

at FirebirdSql.Data.FirebirdClient.FbConnectionInternal.Connect () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) FirebirdSql.Data.FirebirdClient.FbConnectionInternal:Connect ()
at FirebirdSql.Data.FirebirdClient.FbConnectionPool.Create () [0x00000] in <filename unknown>:0
at FirebirdSql.Data.FirebirdClient.FbConnectionPool.CheckOut () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) FirebirdSql.Data.FirebirdClient.FbConnectionPool:CheckOut ()
at FirebirdSql.Data.FirebirdClient.FbConnection.Open () [0x00000] in <filename unknown>:0

Commits: ad6dbdd

@firebird-automations
Copy link
Author

Modified by: @cincuranet

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.6.1 [ 10400 ]

@firebird-automations
Copy link
Author

Modified by: @cincuranet

Link: This issue relate to DNET327 [ DNET327 ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants