I'll hope this will help to understand my problem, i'm new in mono.
[0x2b4615ba9b40:] EXCEPTION handling: System.SystemException: Thread creation failed. [0x2b4615ba9b40:] EXCEPTION handling: System.TypeInitializationException: An exception was thrown by the type initializer for Scheduler [0x2b4615ba9b40:] EXCEPTION handling: System.TypeInitializationException: An exception was thrown by the type initializer for System.Threading.Timer [0x2b4615ba9b40:] EXCEPTION handling: System.TypeInitializationException: An exception was thrown by the type initializer for MySql.Data.MySqlClient.MySqlPoolManager [0x2b4615ba9b40:] EXCEPTION handling: System.TypeInitializationException: An exception was thrown by the type initializer for MySql.Data.MySqlClient.MySqlPoolManager EXCEPTION: catch found at clause 0 of fgl_map_service.createkmlfile:dbCon (int) [0x2b4615ba9b40: 0.70219 5] LEAVE: fgl_map_service.createkmlfile:dbCon (int)result=0 [0x2b4615ba9b40:] EXCEPTION handling: System.InvalidOperationException: Connection must be valid and open. EXCEPTION: catch found at clause 1 of fgl_map_service.createkmlfile:getKML (string) System.InvalidOperationException: Connection must be valid and open. at MySql.Data.MySqlClient.MySqlCommand.CheckState () [0x00000] in <filename unknown>:0 at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader (CommandBehavior behavior) [0x00000] in <filename unknown>:0 at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) MySql.Data.MySqlClient.MySqlCommand:ExecuteReader () at fgl_map_service.createkmlfile.getKML (System.String vl) [0x00000] in <filename unknown>:0 [0x2b4615ba9b40: 0.71338 5] ENTER: fgl_map_service.createkmlfile:dbCon (int)(this:0x2aaaab64dfd8[fgl_map_service.createkmlfile fgl_map_service.exe], 0, ) [0x2b4615ba9b40: 0.71339 5] LEAVE: fgl_map_service.createkmlfile:dbCon (int)result=1 [0x2b4615ba9b40: 0.71341 4] LEAVE: fgl_map_service.createkmlfile:getKML (string)[STRING:0x2aaaaba75540:<kml xmlns="http://www.opengis.net/kml/2.2"><Document></Document></kml>] DONE [0x2b4615ba9b40: 0.71538 3] LEAVE: fgl_map_service.createkmlfile:createfile () [0x2b4615ba9b40:] EXCEPTION handling: System.TypeInitializationException: An exception was thrown by the type initializer for System.Threading.Timer Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Threading.Timer ---> System.TypeInitializationException: An exception was thrown by the type initializer for Scheduler ---> System.SystemException: Thread creation failed. at System.Threading.Thread.Start () [0x00000] in <filename unknown>:0 at System.Threading.Timer+Scheduler..ctor () [0x00000] in <filename unknown>:0 at System.Threading.Timer+Scheduler..cctor () [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at System.Threading.Timer..cctor () [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at MySql.Data.MySqlClient.MySqlPoolManager..cctor () [0x00000] in <filename unknown>:0 -- View this message in context: http://mono.1490590.n4.nabble.com/Running-several-mono-applications-using-the-same-DLLs-at-the-same-time-tp3697264p3697292.html Sent from the Mono - General mailing list archive at Nabble.com. _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
