I have an asp.net 2.0 application in which i am connecting to a MySql Database...in the Asp.net app in the webconfg file i have the following

<add assembly="MySql.Data, Version=5.2.2.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d"/>

in the bin folder i have MySqlData.dll


i ported to a linux server with Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 2.0.50727.1433


the following is intalled in the GAC on unix

MySql.Data, Version=5.2.2.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d

this is a small piece of my login.aspx page..
Imports System.Data
Imports MySql.Data.MySqlClient


Partial Class Login

    Inherits System.Web.UI.Page
    Dim userID As String = "No User"

    Protected Sub Login1_Authenticate(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.AuthenticateEventArgs)

        
        Dim connectionInfo = System.Configuration.ConfigurationManager.AppSettings("ConnectionString")

        Dim objConnection As New MySql.Data.MySqlClient.MySQLConnection(connectionInfo)


when i try to bring up the page i get the following error...


Compilation Error

Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error.

Compiler Error Message: /tmp/wwwrun-temp-aspnet-0/fba0bac0/App_Web_6dc1f47_0.vb(2,15) : warning VBNC40056: The import 'MySql.Data.MySqlClient' could not be found.
/websites/venangomachine.com/team01/Login.aspx


Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 2.0.50727.1433






what am i missing???


_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to