Things You'll Need:
- Visual Studio 2003 for asp.Net 1.1
- Visual Studio 2005 for asp.Net 2.0
- Enom Web hosting account
- FTP Client
-
Step 1
Download the source code for the MySQL Connector/Net from http://dev.mysql.com/downloads/connector/net/1.0.html
Note the Version 1.0 is for the connector, not for .Net version. -
Step 2
Extract the contents of the zip file to a local directory.
-
Step 3
Open mysql.csproj project file in Visual Studio.
-
Step 4
Open the AssemblyInfo.cs file, and add the following code, in the using block, at the top of the file (if it is not already there):
using System.Security; -
Step 5
Add the following code to the assembly section of the file:
[assembly: AllowPartiallyTrustedCallers] -
Step 6
Recompile the dll.
-
Step 7
You may now reference this dll from other projects. When you decide to publish your project to your hosting server, you need to upload this modified version of the dll to your bin directory.
-
Step 8
If this is too much, you can download precompiled DLLs direct from eNom's control panel.
http://webhosting.enom.com/HP2/help/FAQ.aspx#faq_d19
MySQL .NET Connector v1.07 for .NET 2.0 http://webhosting.enom.com/HP2/download/MySql.Data.dll
MySQL .NET Connector v1.07 for .NET 1.1 http://webhosting.enom.com/HP2/download/MySql.Data1.1.dll









