[Mono-list] Missing method .ctor in mysql.data.dll

Epstone notification at riedme.de
Wed Apr 14 13:24:36 EDT 2010


Hello,

I'm new to Mono and got it running on my debian server. I've created just a
small asp.net project and it worked fine (Button + GridView) until I tried
to connect to a MySql Server through the MySql .NET Connector. 

I allready used the forums search, but the answers didn't help me. :/

I receive the following warning/error:

** (/usr/lib/mono/2.0/mod-mono-server2.exe:1322): WARNING **: Missing method
.ctor in assembly
/var/www/virtual/riedme.de/solar/htdocs/bin/mysql.data.dll, type
System.ComponentModel.PasswordPropertyTextAttribute

** ERROR **: Can't find custom attr constructor image:
/var/www/virtual/riedme.de/solar/htdocs/bin/mysql.data.dll mtoken:
0x0a000325
aborting...
Stacktrace:

  at (wrapper managed-to-native)
System.MonoCustomAttrs.GetCustomAttributesInternal
(System.Reflection.ICustomAttributeProvider,System.Type,bool) <0x00004>
  at (wrapper managed-to-native)
System.MonoCustomAttrs.GetCustomAttributesInternal
(System.Reflection.ICustomAttributeProvider,System.Type,bool) <0xffffffff>
  at System.MonoCustomAttrs.GetCustomAttributesBase
(System.Reflection.ICustomAttributeProvider,System.Type) <0x00025>
  at System.MonoCustomAttrs.GetCustomAttributes
(System.Reflection.ICustomAttributeProvider,bool) <0x00029>
  at System.Reflection.MonoProperty.GetCustomAttributes (bool) <0x0000f>
  at
MySql.Data.MySqlClient.MySqlConnectionStringBuilder.AddKeywordFromProperty
(System.Reflection.PropertyInfo) <0x0009c>
  at MySql.Data.MySqlClient.MySqlConnectionStringBuilder.Initialize ()
<0x00047>
  at MySql.Data.MySqlClient.MySqlConnectionStringBuilder..cctor () <0x00058>
  at (wrapper runtime-invoke) System.Object.runtime_invoke_void
(object,intptr,intptr,intptr) <0xffffffff>
  at MySql.Data.MySqlClient.MySqlConnection..ctor () <0xffffffff>
  at MySql.Data.MySqlClient.MySqlConnection..ctor () <0x00027>
  at MySql.Data.MySqlClient.MySqlConnection..ctor (string) <0x0000a>
  at (wrapper remoting-invoke-with-check)
MySql.Data.MySqlClient.MySqlConnection..ctor (string) <0xffffffff>
  at Entities.Database.GetMeasures () <0x00052>
  at solar.riedme.de.Default.FillGridView () <0x0000a>
  at solar.riedme.de.Default.Page_Load (object,System.EventArgs) <0x0000a>
  at (wrapper delegate-invoke)
System.MulticastDelegate.invoke_void_object_EventArgs
(object,System.EventArgs) <0xffffffff>
  at System.Web.UI.Control.OnLoad (System.EventArgs) <0x0011a>
  at System.Web.UI.Control.LoadRecursive () <0x00119>
  at System.Web.UI.Page.InternalProcessRequest () <0x00328>
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext) <0x000b4>
  at <>c__CompilerGenerated3.MoveNext () <0x01c5d>
  at System.Web.HttpApplication.Tick () <0x0003a>
  at System.Web.HttpApplication.Start (object) <0x000f2>
  at
System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest
(System.Web.HttpContext,System.AsyncCallback,object) <0x00076>
  at System.Web.HttpRuntime.RealProcessRequest (object) <0x001d7>
  at System.Web.HttpRuntime.ProcessRequest (System.Web.HttpWorkerRequest)
<0x0002c>
  at Mono.WebServer.MonoWorkerRequest.ProcessRequest () <0x0000a>
  at Mono.WebServer.BaseApplicationHost.ProcessRequest
(Mono.WebServer.MonoWorkerRequest) <0x00043>
  at Mono.WebServer.ModMonoApplicationHost.ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[])
<0x002b5>
  at (wrapper remoting-invoke-with-check)
Mono.WebServer.ModMonoApplicationHost.ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[])
<0xffffffff>
  at (wrapper xdomain-dispatch)
Mono.WebServer.ModMonoApplicationHost.ProcessRequest
(object,byte[]&,byte[]&,int,string,string,string,string,string,int,string,int,string,string[],string[])
<0xffffffff>
  at (wrapper xdomain-invoke)
Mono.WebServer.ModMonoApplicationHost.ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[])
<0xffffffff>
  at (wrapper remoting-invoke-with-check)
Mono.WebServer.ModMonoApplicationHost.ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[])
<0xffffffff>
  at Mono.WebServer.ModMonoWorker.InnerRun (object) <0x003f3>
  at Mono.WebServer.ModMonoWorker.Run (object) <0x0001e>
  at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void_object
(object) <0xffffffff>
  at (wrapper runtime-invoke) System.Object.runtime_invoke_void_object
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

	/usr/bin/mono [0x8183cf1]
	/usr/bin/mono [0x8166895]
	/lib/tls/libpthread.so.0 [0xb7f03660]
	/lib/tls/libc.so.6(abort+0x109) [0xb7dcb0c9]
	/usr/lib/libglib-2.0.so.0(g_logv+0x454) [0xb7f460b4]
	/usr/lib/libglib-2.0.so.0(g_log+0x29) [0xb7f460e9]
	/usr/bin/mono(mono_custom_attrs_from_index+0x184) [0x8190bda]
	/usr/bin/mono(mono_custom_attrs_from_property+0x76) [0x8190ec2]
	/usr/bin/mono(mono_reflection_get_custom_attrs_info+0xeb) [0x8191091]
	/usr/bin/mono(mono_reflection_get_custom_attrs_by_type+0x14) [0x819d8f0]
	/usr/bin/mono [0x80ba8a3]
	[0xb6f54e32]
	[0xb6f54d86]
	[0xb6133d02]
	[0xb6133cc0]
	[0xb6133945]
	[0xb6133828]
	[0xb6133191]
	[0xb6131e96]
	/usr/bin/mono [0x81666f9]
	/usr/bin/mono(mono_runtime_invoke+0x27) [0x80ab5ff]
	/usr/bin/mono(mono_runtime_class_init+0x39e) [0x80aec39]
	/usr/bin/mono [0x8165eea]
	/usr/bin/mono [0x8166151]
	/usr/bin/mono [0x816624b]
	/usr/bin/mono(mono_compile_method+0x3b) [0x80abe7f]
	/usr/bin/mono [0x808ba1e]
	[0xb7d8f032]
	[0xb6132763]
	[0xb6131e42]
	[0xb6131d1b]
	[0xb6131883]
	[0xb624bda3]
	[0xb6269d9f]
	[0xb613185b]
	[0xb6131692]
	[0xb612dcf9]
	[0xb624b795]
	[0xb62679be]
	[0xb6265bab]
	[0xb625f763]
	[0xb625f5c7]
	[0xb6f42410]
	[0xb6f41eb5]
	[0xb6f41e73]
	[0xb6f4140c]
	[0xb6f8dc5e]
	[0xb6f8cf6c]
	[0xb6f8cd51]
	[0xb6f7529d]
	[0xb6f7511b]
	[0xb6fc03f4]
	[0xb720aa9f]
	[0xb720aa4b]
	[0xb720a9b6]
	/usr/bin/mono [0x81666f9]
	/usr/bin/mono(mono_runtime_invoke+0x27) [0x80ab5ff]
	/usr/bin/mono(mono_runtime_invoke_array+0x3ad) [0x80b1475]
	/usr/bin/mono [0x80b158d]
	/usr/bin/mono [0x80e0149]
	/usr/bin/mono [0x80e13e2]
	/usr/bin/mono [0x80de99f]
	/usr/bin/mono [0x812426d]
	/usr/bin/mono [0x813c603]
	/lib/tls/libpthread.so.0 [0xb7efd0bd]
	/lib/tls/libc.so.6(__clone+0x5e) [0xb7e6d01e]

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Thanks for any replies on this!!!
Epstone
-- 
View this message in context: http://n4.nabble.com/Missing-method-ctor-in-mysql-data-dll-tp1840205p1840205.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list