Re: AW: [Mono-list] MySql - ODBC
Hi > I Used the latest ODBC-Driver supplied from www.mysql.com > ->libmyodbc3.so > odbc.ini: > [wintime_sql] > Driver = MySQL ODBC 3.51 Driver There is a bug in mysql (#6536 and #11892) wherein, repeated invocation of init function corrupts the charset data and leads to a crash.. I think the problem that u r facing is related to this bug.. u can follow the workaround as suggested in the reports or upgrade mysql to 4.1.19 or above.. Regards Senga ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] MySql - ODBC
Hi > have an issue using MySQL with ODBC. > I have a System and User DSN, that I testet with "isql" succesfully. > The problems begin with running our .Net --> see stacktrace Odbc Provider usually works fine with mysql.. Can u pls post the code that causes the issue.. Also mention info on the Odbc Driver name and version.. Regards Senga ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Bug (?) in SqliteDataReader
Hi >>> [EMAIL PROTECTED] 05/16/06 8:00 PM >>> > This indicates that DateTime.Parse will not reverse the action of > DateTime.ToString, which I consider to be another bug. Running the same > program on Windows using Microsoft.NET gives the correct answer. i cant reproduce the issue (tried with different cultures).. anyways, if u r sure abt it file a bug report with a testcase.. > By the way, If I want to be friendly, what do I call you - Senganal, or T? > And what does the "T" stand for? u can call me 'senga' .. Well, T stands for Thirunavukkarasu :-) (surname) Regards Senga ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Bug (?) in SqliteDataReader
Hi >>> Joshua Tauberer <[EMAIL PROTECTED]> 05/16/06 4:01 AM >>> > Somewhere in the process of filling the DataTable, the DateTime is > converted back to a string because GetSchemaTable says the column is > string-typed. GetSchemaTable is assumed to have the correct schema information and this is used to create the columns when dataset is filled.. So, if GetSchemaTable has the datatype info as String for a column, the column created in the dataset will also be of type 'string' .. If you do not want the column to be converted to a 'String' then pls make sure that GetSchemaTable contains the correct 'DataType' .. Regards Senga ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] connection string errors
Hi The connection string seems fine and should work in mono.. Can u pls post the exception thrown ? Regards Senga >>> "Keith C. Perry" <[EMAIL PROTECTED]> 1/25/2006 9:50 pm >>> I have a test app designed in Visual Studio 2005 and the way it composes connection strings is throwing an exception in mono. In the Web.config file, the relevant lines are: Should this work in mono or is this one of the gotcha's porting things over to mono? ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Problems with ado.net
Hi You need to explicitly set the Update/Insert/Delete Command for performing updates to the database using the dataset.. Instead u can auto-generate the Update/Insert/Delete Commands from a Select Command, by using a CommandBuilder .. add this after creating the adapter object: NpgsqlCommandBuilder builder = new NpgsqlCommandBuilder (adapter); and then, u can use the DataAdapter for update etc.. Regards Senga >>> Arx Henrique <[EMAIL PROTECTED]> 1/21/2006 12:15:52 am >>> Hi all, I've try to execute a SWF program with ado.net. the program compile fine, and execute fine too, but when i click on button to update or create a new row, throw this exception: Unhandled Exception: System.InvalidOperationException: Auto SQL generation during Insert requires a valid SelectCommand. in <0x0097f> System.Data.Common.DbDataAdapter:Update (System.Data.DataRow[] dataRows, System.Data.Common.DataTableMapping tableMapping) i believe that's not problem with swf but there's problem with ado.net or my code is wrong my version of mono is: [EMAIL PROTECTED]:~$ mono --version Mono JIT compiler version 1.1.13.1, (C) 2002-2005 Novell, Inc and Contributors. www.mono-project.com TLS: normal GC:Included Boehm (with typed GC) SIGSEGV : normal using debian unstable. the code is attached Cheers Arx Cruz -- "A fé remove montanhas, mas eu prefiro a dinamite" ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] ODBC problem on Windows 2k\mono-1.1.10\Apache
Hi this seems to be an issue with the installer .. The entry in (mono-base-dir)\etc\mono\config file is causing the odbc32.dll to be mapped to libodbc.so.. Remove the entry and things shud work allright .. cheers senga >>> Alex Prudkiy <[EMAIL PROTECTED]> 11/25/05 1:22 AM >>> Hi, I am trying the developing webservice on windows with Apache\mod_mono\mono-1.1.10. When I call my server, I receive such error: System.DllNotFoundException: libodbc.so in (wrapper managed-to-native) System.Data.Odbc.libodbc:SQLAllocHandle ( System.Data.Odbc.OdbcHandleType,intptr,intptr&) in <0x00082> System.Data.Odbc.OdbcConnection:Open () Where I can found this libodbc.so, because if I copy odbc32.dll to directory of webservice with name libodbc.dll the Assembly.Load exception raised. Best regards, Alex Prudkiy ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list