[mono-vb] VBNC40056: The import 'MySql.Data.MySqlClient' could not be found

jat14 jat14 at psu.edu
Tue Apr 28 17:28:57 EDT 2009


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.4-19.1
  
  
 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/VBNC40056%3A-The-import-%27MySql.Data.MySqlClient%27-could-not-be-found-tp23285539p23285539.html
Sent from the Mono - VB mailing list archive at Nabble.com.



More information about the Mono-vb mailing list