error in deployment

error in deployment

Postby jfrank » Wed 08 Sep 2010 10:27

I get this error when I put my web site in the 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.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed.]
System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName) +1310319
System.Web.UI.WebControls.SqlDataSource.GetDbProviderFactory() +67
System.Web.UI.WebControls.SqlDataSource.GetDbProviderFactorySecure() +22
System.Web.UI.WebControls.SqlDataSource.CreateConnection(String connectionString) +11
System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +89
Devart.Common.Web.DbSqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +18
System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +19
System.Web.UI.WebControls.DataBoundControl.PerformSelect() +142
System.Web.UI.WebControls.ListView.PerformSelect() +57
System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73
System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
System.Web.UI.WebControls.ListView.CreateChildControls() +55
System.Web.UI.Control.EnsureChildControls() +87
System.Web.UI.Control.PreRenderRecursiveInternal() +44
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842


Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082

Locally I don't have any problem, I put ddl in bin folder, but I get that error
jfrank
 
Posts: 3
Joined: Wed 08 Sep 2010 10:11

Postby AndreyR » Wed 08 Sep 2010 11:19

Have you performed the actions described in this help article?
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

DbProviderFactories is in Web.config

Postby jfrank » Thu 09 Sep 2010 07:50

Yes, this is the code I put in Web.config




description="Devart dotConnect for MySql"
type="Devart.Data.MySql.MySqlProviderFactory, Devart.Data.MySql,
Version=5.20.33.0, Culture=neutral, PublicKeyToken=09AF7300EEC23701" />



Devart.MySql.dll and Devart.MySql.Web.dll are in bin folder
jfrank
 
Posts: 3
Joined: Wed 08 Sep 2010 10:11

server is a 64bit server

Postby jfrank » Thu 09 Sep 2010 07:51

is there any problem about 64bits server?
jfrank
 
Posts: 3
Joined: Wed 08 Sep 2010 10:11

Postby AndreyR » Thu 09 Sep 2010 13:03

We are not aware of any 64bit-specific errors.
I have performed a test using the 5.20.33 build of MySQL and it succeeded.
Could you please send me the project you get the error in?
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16


Return to dotConnect for MySQL