.net Connector
Posted by: styles
Date: January 10, 2007 01:22AM

I'm using Microsoft Visual C# 2005.
I am running the 5.0 .net Connector.
I am using the 2.0 .net Framework.

I made a program and decieded to give it out to some friends so I added a login system to make sure nobody steals this and takes credit..ect. Was possibly going to start charging.

People are geting the error for this app:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.FileNotFoundException: Could not load file or assembly 'MySql.Data, Version=5.0.2.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.
File name: 'MySql.Data, Version=5.0.2.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d'
at DatabaseInfo.getData(String mySelectQuery)
at MyRowbot.Form1.Form1_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

I have the program set to NOT publish. It is set to just compile with MySql.Data.dll as included. It is not including it though. Also if you have any reasons why whenever I publish something and it opens it just goes straight to the file but instead of reading it it opens it like text and displays it all and doesn't do anything with it.

Thanks

Options: ReplyQuote


Subject
Written By
Posted
.net Connector
January 10, 2007 01:22AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.