create connection... Method not found: 'System.Threading.Monitor.Enter'
-----------------------------------------------------------------------

                 Key: DNET-339
                 URL: http://tracker.firebirdsql.org/browse/DNET-339
             Project: .NET Data provider
          Issue Type: Bug
          Components: ADO.NET Provider
    Affects Versions: 2.5.3
         Environment: Ubuntu Linux 9.10 server, Mono 2.4.2.3
            Reporter: Roman
            Assignee: Jiri Cincura
            Priority: Critical


I'm developing asp.net application for mono. 
provider from http://netprovider.cincura.net/. 
Connection code:
String result = String.Empty;
try {
                using (FbConnection con = new FbConnection 
("Server=192.168.75.128;User=SYSDBA;Password=masterkey;Database=/var/lib/firebird/2.0/data/test.fdb;
 charset=NONE; dialect=3;")) {
...
        }
} catch (Exception exp) {
                                result = exp.Message;
                        }
                        return result;

Every time when I create connection to the database I receive this error 
(exception message):

System.MissingMethodException: Method not found: 
'System.Threading.Monitor.Enter'. at 
FirebirdSql.Data.FirebirdClient.FbConnection..ctor (System.String 
connectionString) [0x00000] at (wrapper remoting-invoke-with-check) 
FirebirdSql.Data.FirebirdClient.FbConnection:.ctor (string) at 
_Default.selectTable () [0x00000]  

How to resolve? What's wrong?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to