Server Error in '/' Application.

Failed to find or load the registered .Net Framework Data Provider.

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.Configuration.ConfigurationErrorsException: Failed to find or load the registered .Net Framework Data Provider.

Source Error:


Line 153:			ds.ProviderName = System.Configuration.ConfigurationManager.ConnectionStrings["tsa_cam"].ProviderName;
Line 154:			ds.SelectCommand = SQL;
Line 155:			return ((DataView)ds.Select(DataSourceSelectArguments.Empty)).Table;
Line 156:		}
Line 157:		

Source File: c:\Sitios web\pronosticoextendido.net\App_Code\tsa.general.cs    Line: 155

Stack Trace:


[ConfigurationErrorsException: Failed to find or load the registered .Net Framework Data Provider.]
   System.Data.Common.DbProviderFactories.GetFactory(DataRow providerRow) +2273123
   System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName) +184
   System.Web.UI.WebControls.SqlDataSource.GetDbProviderFactory() +81
   System.Web.UI.WebControls.SqlDataSource.GetDbProviderFactorySecure() +39
   System.Web.UI.WebControls.SqlDataSource.CreateConnection(String connectionString) +14
   System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +150
   System.Web.UI.WebControls.SqlDataSource.Select(DataSourceSelectArguments arguments) +31
   TSA.General.Funciones.ConsultarSQL(String SQL) in c:\Sitios web\pronosticoextendido.net\App_Code\tsa.general.cs:155
   TSA.Pronostico.Funciones.ObtenerDatosLocalidadLatLng() in c:\Sitios web\pronosticoextendido.net\App_Code\tsa.pronostico.cs:173
   mpPronostico.Page_Init(Object sender, EventArgs e) in c:\Sitios web\pronosticoextendido.net\pronosticos\default.master.cs:37
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnInit(EventArgs e) +132
   System.Web.UI.Control.InitRecursive(Control namingContainer) +143
   System.Web.UI.Control.InitRecursive(Control namingContainer) +391
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +11166056
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +11165754
   System.Web.UI.Page.ProcessRequest() +91
   System.Web.UI.Page.ProcessRequest(HttpContext context) +240
   ASP.pronosticos_7_dias_default_aspx.ProcessRequest(HttpContext context) in c:\Privado\Temporales\ASP.net\root\479552b6\72d57f0e\App_Web_pxyvhpl0.0.cs:0
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +599
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171


Version Information: Microsoft .NET Framework Version:2.0.50727.8784; ASP.NET Version:2.0.50727.8762