[Mono-aspnet-list] Error compiling a resource required to service this request mysql.data.mysqlclient

jat14 jat14 at psu.edu
Wed Apr 22 15:39:42 EDT 2009


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 installed 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???


-- 
View this message in context: http://www.nabble.com/Error-compiling-a-resource-required-to-service-this-request-mysql.data.mysqlclient-tp23175823p23175823.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.



More information about the Mono-aspnet-list mailing list