RE: [Mono-dev] MySql Connectivity in Mono/xsp for linux

2005-12-01 Thread Reggie Burnett
This was not intentional and with the next release we will be starting to
use the  nantcontrib tag to improve our version number situation.

Reggie

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:mono-devel-list-
> [EMAIL PROTECTED] On Behalf Of Robert Jordan
> Sent: Wednesday, November 30, 2005 3:13 PM
> To: mono-devel-list@lists.ximian.com
> Subject: Re: [Mono-dev] MySql Connectivity in Mono/xsp for linux
> 
> [EMAIL PROTECTED] wrote:
> > Hello,
> >  I'm currently using VS.Net 2003 to write some asp.NET/C# pages
> > and I'm trying to connect it with MySQL 5.0. I've installed MySql
> > connector (MySql.Data.dll)and it works fine with .Net Framework on
> > windows. but once I attempt to move the asp.NET pages to the
> linux(fedora)
> > mono/xsp server the pages begin to generate the following error:
> >
> > "Could not find assembly MySql.Data"
> >
> > What seems to be the problem? i am very much confused of this becoz i
> have
> > registered the MySql.Data using the following comd:
> >
> > [/]# gacutil -i ./MySQL.Data.dll
> > MySql.Data installed into the gac (/usr/local/lib/mono/gac)
> >
> > [/]# gacutil -l MySql.Data
> > The following assemblies are installed into the GAC:
> > MySql.Data, Version=1.0.3.31712, Culture=neutral,
> > Number of items = 1
> 
> The version of the Windows MySql.Data assembly doesn't match
> the version of the Mono assembly. Even the latest MySql Connector
> distribution comes with different assembly versions. I really don't
> know why the maintainer is doing that 
> 
> You may try to put the following entries in your linux web.config:
> 
> 
>   
>   
>   
>publicKeyToken="the correct
> token!" />
>newVersion="y.y.y.y" />
>   
>   
>   
> 
> 
> x.x.x.x == the version of MySql.Data for Windows
> y.y.y.y == the version of MySql.Data for Mono
> 
> Robert
> 
> ___
> Mono-devel-list mailing list
> Mono-devel-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] MySql Connectivity in Mono/xsp for linux

2005-11-30 Thread Daniel Morgan
You only set it up for the runtime.  Mono's C# compiler mcs needs to 
find the assembly to compile.  


The GAC is only for the runtime.  The C# compiler does not look in the GAC.

Wherever your assembly is installed, make sure it can be found via the PATH.

[EMAIL PROTECTED] wrote:



Hello,
 I'm currently using VS.Net 2003 to write some asp.NET/C# 
pages and I'm trying to connect it with MySQL 5.0. I've installed 
MySql connector (MySql.Data.dll)and it works fine with .Net Framework 
on windows. but once I attempt to move the asp.NET pages to the 
linux(fedora) mono/xsp server the pages begin to generate the 
following error:
   
"*Could not find assembly MySql.Data*"





What seems to be the problem? i am very much confused of this becoz i 
have registered the MySql.Data using the following comd:


*[/]# gacutil -i ./MySQL.Data.dll*
MySql.Data installed into the gac (/usr/local/lib/mono/gac)

*[/]# gacutil -l MySql.Data*
The following assemblies are installed into the GAC:
MySql.Data, Version=1.0.3.31712, Culture=neutral,
Number of items = 1

I'll be very grateful to u on ur immediate response (Thanks in advance)


Ejaz Butt



___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
 



___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] MySql Connectivity in Mono/xsp for linux

2005-11-30 Thread Robert Jordan

[EMAIL PROTECTED] wrote:

Hello,
 I'm currently using VS.Net 2003 to write some asp.NET/C# pages 
and I'm trying to connect it with MySQL 5.0. I've installed MySql 
connector (MySql.Data.dll)and it works fine with .Net Framework on 
windows. but once I attempt to move the asp.NET pages to the linux(fedora) 
mono/xsp server the pages begin to generate the following error:
 
"Could not find assembly MySql.Data"


What seems to be the problem? i am very much confused of this becoz i have 
registered the MySql.Data using the following comd:


[/]# gacutil -i ./MySQL.Data.dll
MySql.Data installed into the gac (/usr/local/lib/mono/gac)

[/]# gacutil -l MySql.Data
The following assemblies are installed into the GAC:
MySql.Data, Version=1.0.3.31712, Culture=neutral,
Number of items = 1


The version of the Windows MySql.Data assembly doesn't match
the version of the Mono assembly. Even the latest MySql Connector
distribution comes with different assembly versions. I really don't
know why the maintainer is doing that 

You may try to put the following entries in your linux web.config:













x.x.x.x == the version of MySql.Data for Windows
y.y.y.y == the version of MySql.Data for Mono

Robert

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list