Hi Marc, Try changing the @Assembly name attribute from "ByteFX.Data" to the name of the dll you copied to your bin directory, and that contains the class "MyNS.ViewProjectTasks". You "should" not need to reference ByteFX.Data.dll explicitly, it "should" be in your Global Assembly Cache (GAC) if you did a binary install as it is distributed as part of Mono.
A couple of additional notes: 1) The MySQL folks bought the developers of Byte.Data.dll a while back and development has shifted to http://www.mysql.com/products/connector/net/. This is where you can get the latest and greatest .NET connector for the MySQL database. 2) ByteFX.Data.dll is out of date, and uses an outdated method to decrypt your password when connecting. If you have a problem connecting to the database with your .NET code, but you can connect successfully with the mysql command line client, then you likely need to set the server to use OLD_PASSWORD encryption. To do this type the following at the MySQL client prompt, substituting your login password and server names accordingly : mysql> SET PASSWORD FOR [EMAIL PROTECTED] = OLD_PASSWORD('yourpassword'); Hope this helps! -- Gregory A. Cook Principal, Galexan LLC Email: [EMAIL PROTECTED] On Sun, 2005-10-16 at 22:34 -0400, Marc Boorshtein wrote: > This still doesn't seem to be working. Here's my ASP.NET, > ViewProjectTasks.aspx: > > > <%@ Page language="c#" > Codebehind=ViewProjectTasks.aspx.cs > AutoEventWireup="false" > Inherits="MyNS.ViewProjectTasks" %> > > <%@ Assembly name="ByteFX.Data" %> > <%@ Import Namespace="System.Data" %> > <%@ Import Namespace="MyNS" %> > > <Html> > . > . > . > > > here's my ViewProjectTasks.aspx.cs: > using System.Web; > using System.Web.UI; > using System.Web.UI.WebControls; > using System.Web.UI.HtmlControls; > > namespace MyNS { > public class ViewProjectTasks : System.Web.UI.Page { > > IDbConnection mycon; > protected Repeater mytable; > > void Page_Load() { > . > . > . > > When I run the page, i get the follwing error: > > "Error compiling a resource required to service this request. Review > your source file and modify it to fix this error." > > and this is the highlited line: > > " public class MyNS.ViewProjectTasks : System.Web.UI.Page, > System.Web.SessionState.IRequiresSessionState {" > > Now I would think that this class declaration should read > > "public class ViewProjectTasks : MyNS.ViewProjectTasks, > System.Web.SessionState.IRequiresSessionState {" > > instead. Am I missing something? No matter what I do, this doesn't > seem to want to work. > > Thanks > Marc > _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
