![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi there, I have web application that uses GridView to display some data from Firebird database. Everything works fine on my development machine (Windows XP, VS 2005, .Net 2) After deploying the application on the production machine (Win 2003 server, IIS6, .Net 2) the following error happens on the page that uses the GridView. Server Error in '/' Application. -------------------------------------------------------------------------------- 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) +1371847 System.Web.UI.WebControls.SqlDataSource.GetDbProvi derFactory() +63 System.Web.UI.WebControls.SqlDataSource.GetDbProvi derFactorySecure() +19 System.Web.UI.WebControls.SqlDataSourceView.Execut eSelect(DataSourceSelectArguments arguments) +120 System.Web.UI.DataSourceView.Select(DataSourceSele ctArguments arguments, DataSourceViewSelectCallback callback) +17 System.Web.UI.WebControls.DataBoundControl.Perform Select() +149 System.Web.UI.WebControls.BaseDataBoundControl.Dat aBind() +70 System.Web.UI.WebControls.GridView.DataBind() +4 System.Web.UI.WebControls.BaseDataBoundControl.Ens ureDataBound() +82 System.Web.UI.WebControls.CompositeDataBoundContro l.CreateChildControls() +69 System.Web.UI.Control.EnsureChildControls() +87 System.Web.UI.Control.PreRenderRecursiveInternal() +41 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210 -- I have checked the assemblies on the development and the production machines it seems all are there. Can someone give some clue where to look for possible resolution of this error? Thanks, zp |
#3
| |||
| |||
|
|
Are you using ASP.NET 2.0 controls in the web page? If so, you should go into the IIS Manager on the server, then select the website, go to Properties > ASP.NET tab and ensure the ASP.NET version that is selected is v2.0 and not 1.1. And if no joy, then skip down from the Websites to Web Service Extensions, and ensure that ASP.NET v2.0 shows up in there (if not it will need to be added). And if it is added, ensure that it is allowed, by highlighting and clicking on the Allow button. -Ed "zp" <zp (AT) discussions (DOT) microsoft.com> wrote in message news:24076DC6-460E-4912-A2F2-C9350F9E3AD3 (AT) microsoft (DOT) com... Hi there, I have web application that uses GridView to display some data from Firebird database. Everything works fine on my development machine (Windows XP, VS 2005, .Net 2) After deploying the application on the production machine (Win 2003 server, IIS6, .Net 2) the following error happens on the page that uses the GridView. Server Error in '/' Application. -------------------------------------------------------------------------------- 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) +1371847 System.Web.UI.WebControls.SqlDataSource.GetDbProvi derFactory() +63 System.Web.UI.WebControls.SqlDataSource.GetDbProvi derFactorySecure() +19 System.Web.UI.WebControls.SqlDataSourceView.Execut eSelect(DataSourceSelectArguments arguments) +120 System.Web.UI.DataSourceView.Select(DataSourceSele ctArguments arguments, DataSourceViewSelectCallback callback) +17 System.Web.UI.WebControls.DataBoundControl.Perform Select() +149 System.Web.UI.WebControls.BaseDataBoundControl.Dat aBind() +70 System.Web.UI.WebControls.GridView.DataBind() +4 System.Web.UI.WebControls.BaseDataBoundControl.Ens ureDataBound() +82 System.Web.UI.WebControls.CompositeDataBoundContro l.CreateChildControls() +69 System.Web.UI.Control.EnsureChildControls() +87 System.Web.UI.Control.PreRenderRecursiveInternal() +41 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210 -- I have checked the assemblies on the development and the production machines it seems all are there. Can someone give some clue where to look for possible resolution of this error? Thanks, zp |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |