[Mono-list] Pooling=false in connectionString cause Unhandled Exception: System.EntryPointNotFoundException: CreateSemaphore

enzo enzo.arlati at libero.it
Sun Aug 26 17:19:40 EDT 2007


I downloaded the dll from MYDAC 
mysql-connector-net-1.0.10.1-noinstall.zip file.
It seems tat there is no package specific for mono on the MYDAC site.

I also tried to compile the source ( from file: 
mysql-connector-net-1.0.10.1-src.zip ) but I failed, I didn't know how 
compile it so i tried to guess.
I have tried with nant but I get some errors, see belowe:

[enzo at enzo6 mysql-connector-net-1.0.10.1-src]$ nant -buildfile:Package.build
NAnt 0.85 (Build 0.85.2478.0; release; 10/14/2006)
Copyright (C) 2001-2006 Gerry Shaw
http://nant.sourceforge.net

Buildfile: 
file:///usr_data/DOWNLOAD/DATABASE/mysql-connector-net-1.0.10.1-src/Package.build
Target framework: Mono 2.0 Profile
Target(s) specified: all

     [echo] 08/26/2007 23:10:13
   [delete] Deleting directory 
'/usr_data/DOWNLOAD/DATABASE/mysql-connector-net-1.0.10.1-src/packages'.
    [mkdir] Creating directory 
'/usr_data/DOWNLOAD/DATABASE/mysql-connector-net-1.0.10.1-src/packages'.

BUILD FAILED

/usr_data/DOWNLOAD/DATABASE/mysql-connector-net-1.0.10.1-src/Package.build(21,3):
Function call failed.
Expression: 
${assemblyname::get-version(assemblyname::get-assembly-name('mysqlclient/bin/net-1.1/release/mysql.data.dll'))}
                                        
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    Could not load file or assembly 
'/usr_data/DOWNLOAD/DATABASE/mysql-connector-net-1.0.10.1-src/mysqlclient/bin/net-1.1/release/mysql.data.dll' 
or one of its dependencies. The system cannot find the file specified.

Total time: 0.4 seconds.


Is this the right way to compile the source  ?
If not can you tell me  how do it ( i didn't found a tutorial on that ) ?

Regards, and thanks for your help, Enzo

Robert Jordan wrote:
>
> It seems that you're using the Windows version of the mysql
> client. Pity, in the past the versions were compatible.
>
> Try to get a version compiled for Mono.
>
> Robert
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>

-- 

============================================================================
REPLY TO: perl -e 'print qq^VVCWCQJUVD00YQVWKVBPG^^qq^3898m08970Yp584299l93^ '
  VOIP SKYPE:earlati - VOIP SIP: sip:earlati at ekiga.net
  AIM:earlati - ICQ:321489699 - MSN:enzo.arlati at libero.it
  http: http://earlati.freehostia.com
============================================================================
trusted computing,  who is it ? -->  http://www.p2pforum.it/counter/click.php?id=21 
============================================================================



More information about the Mono-list mailing list