[Mono-list] Pooling=false in connectionString cause Unhandled Exception: System.EntryPointNotFoundException: CreateSemaphore
enzo
enzo.arlati at libero.it
Tue Aug 28 17:25:33 EDT 2007
Robert Jordan wrote:
> Hi,
>
> enzo wrote:
>> sometimes hang when is tring to do Open(), other times it report the
>> following errors
>>
>> [enzo at enzo6 gtk1]$ mono test1-mysql.exe
>> Main start
>> Main dbcon.Open()
>>
>> Unhandled Exception:
>> System.Resources.MissingManifestResourceException: Could not find any
>> resource appropiate for the specified culture or its parents. Make
>> sure "MySql.Data.MySqlClient.Source.Resources.resources" was
>> correctly embedded or linked into assembly "MySql.Data".
>
> I forgot to link the resources. Updated script attached.
>
> Robert
>
I recompiled using the new script but I still get tha same problem, the
program report errors when it try to open the db connection.
[enzo at enzo6 gtk1]$ mono test1-mysql.exe
Main start
Main dbcon.Open()
Unhandled Exception: System.Resources.MissingManifestResourceException:
Could not find any resource appropiate for the specified culture or its
parents. Make sure "MySql.Data.MySqlClient.Source.Resources.resources"
was correctly embedded or linked into assembly "MySql.Data".
at System.Resources.ResourceManager.InternalGetResourceSet
(System.Globalization.CultureInfo culture, Boolean Createifnotexists,
Boolean tryParents) [0x00000]
at System.Resources.ResourceManager.InternalGetResourceSet
(System.Globalization.CultureInfo culture, Boolean Createifnotexists,
Boolean tryParents) [0x00000]
at System.Resources.ResourceManager.InternalGetResourceSet
(System.Globalization.CultureInfo culture, Boolean Createifnotexists,
Boolean tryParents) [0x00000]
at System.Resources.ResourceManager.GetString (System.String name,
System.Globalization.CultureInfo culture) [0x00000]
at MySql.Data.MySqlClient.Resources.get_PerfMonCategoryName () [0x00000]
at MySql.Data.MySqlClient.PerformanceMonitor..ctor
(MySql.Data.MySqlClient.MySqlConnection connection) [0x00000]
at MySql.Data.MySqlClient.MySqlConnection.Open () [0x00000]
at Test.Main (System.String[] args) [0x00000]
Regards, Enzo
============================================================================
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