Problem with deployment on remote server (Works fine on development platform)

Problem with deployment on remote server (Works fine on development platform)

Postby garybetz » Wed 01 Aug 2007 18:01

Getting the following error when deploying to a remote IIS server:

Unable to find the requested .Net Framework Data Provider. It may not be installed.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed.


I have installed the following files in the Bin directory under the application:
App_Licenses.dll
CoreLab.Data.dll
CoreLab.MySql.Addin.dll
CoreLab.MySql.Design.dll
CoreLab.MySql.dll
CoreLab.MySql.Vs.dll
CoreLab.MySql.Web.dll

I have the following declaration in my ASP.net application file:

<%@ Register Assembly="CoreLab.MySql.Web, Version=4.0.9.0, Culture=neutral, PublicKeyToken=09af7300eec23701"
Namespace="CoreLab.MySql.Web" TagPrefix="cc1" %>

All runs well on Visual Studio IDE locally. I'm sure it's simple to fix....HELP!

Thanks,
Gary
garybetz
 
Posts: 3
Joined: Thu 24 May 2007 17:56

Postby Alexey » Thu 02 Aug 2007 06:45

Try to add the following section into your web.config file:
Code: Select all
 
   
     
              description="CoreLab MySQLDirect .NET Data Provider" type="CoreLab.MySql.MySqlDirectFactory, CoreLab.MySql, Version=4.0.9.0, Culture=neutral, PublicKeyToken=09af7300eec23701" />
   

 
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43


Return to dotConnect for MySQL