[Mono-devel-list] "Error reseting" when opening SQL serverconnection

Kris Bradley krisolav at hotmail.com
Tue May 4 20:16:42 EDT 2004


Thanks.  There also appears to be a bug that causes mono to consume 97% of 
the CPU and hang when the assembly isn't found.  I'll see this:

WARNING **: Could not find assembly ByteFX.Data, references

while the process just hangs and takes up most of the CPU.  It looks like a 
NullPointerException can cause mono to do this, seems hard to believe, but 
this code:

    string s = null;
    Console.WriteLine("Length = " + s.Length);

... on my build, will send the CPU to 97-99% and never return...



----Original Message Follows----
From: Jackson Harper <jackson at ximian.com>
To: Kris Bradley <krisolav at hotmail.com>
CC: mono-devel-list at ximian.com
Subject: Re: [Mono-devel-list] "Error reseting" when opening SQL 
serverconnection
Date: Tue, 04 May 2004 16:34:21 -0700

Hello,

	You either need to compile against the correct library version or
install your newer version on the Mono system using the gacutil (gacutil
/i <assembly name>).

Jackson


On Tue, 2004-05-04 at 16:29, Kris Bradley wrote:
 > 1) Using the beta1 pre-release (mono-0.91), I'm seeing getting an "Error
 > reseting" when opening a connection to a SQL Server 2000 database:
 >
 >      IDbConnection connection = new SqlConnection(ConnectionString);
 >      connection.Open();    // "Error reseting" appears on console
 >
 > Has anyone else seen this?  The code appears to run ok, but the message 
is
 > not very settling.  I'm running on Debian.
 >
 > 2) Now that the gac is in place, the system is more selective on the 
MySQL
 > ByteFX.Data assembly version.  I built a project under Windows, which
 > references version 0.7.5.24537 of that assembly.  However, Mono seems to
 > ship w/ version 0.7.4.1.  I didn't see a way, off hand, to tell VS.NET to
 > loosen the depency to, say, 0.7.  What is the best way to handle this?
 >
 > Thanks,
 > - Kris
 >
 > _________________________________________________________________
 > Stop worrying about overloading your inbox - get MSN Hotmail Extra 
Storage!
 > 
http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1/go/onm00200362ave/direct/01/
 >
 > _______________________________________________
 > Mono-devel-list mailing list
 > Mono-devel-list at lists.ximian.com
 > http://lists.ximian.com/mailman/listinfo/mono-devel-list

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

_________________________________________________________________
Check out the coupons and bargains on MSN Offers! http://youroffers.msn.com




More information about the Mono-devel-list mailing list