Swat

Swat

  • NA
  • 52
  • 2.2k

Unable to find the requested .Net Framework Data Provider.

Mar 28 2017 3:45 AM

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) +168 System.Data.Entity.Infrastructure.DependencyResolution.DefaultProviderFactoryResolver.GetService(Type type, Object key, Func`3 handleFailedLookup) +256 [ArgumentException: The ADO.NET provider with invariant name 'System.Data.SqlCient' is either not registered in the machine or application config file, or could not be loaded. See the inner exception for details.] System.Data.Entity.Infrastructure.DependencyResolution.DefaultProviderFactoryResolver.b__0(ArgumentException e, String n) +80 System.Data.Entity.Infrastructure.DependencyResolution.DefaultProviderFactoryResolver.GetService(Type type, Object key, Func`3 handleFailedLookup) +294 System.Data.Entity.Infrastructure.DependencyResolution.DefaultProviderFactoryResolver.GetService(Type type, Object key) +153 System.Data.Entity.Infrastructure.DependencyResolution.<>c__DisplayClass1.b__0(Tuple`2 k) +75 System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) +72 System.Data.Entity.Infrastructure.DependencyResolution.CachingDependencyResolver.GetService(Type type, Object key) +210 System.Data.Entity.Infrastructure.DependencyResolution.<>c__DisplayClass3.b__0(IDbDependencyResolver r) +60 System.Linq.WhereSelectArrayIterator`2.MoveNext() +58 System.Linq.Enumerable.FirstOrDefault(IEnumerable`1 source, Func`2 predicate) +161 System.Data.Entity.Infrastructure.DependencyResolution.ResolverChain.GetService(Type type, Object key) +250 System.Data.Entity.Infrastructure.DependencyResolution.RootDependencyResolver.GetService(Type type, Object key) +151 System.Data.Entity.Infrastructure.DependencyResolution.<>c__DisplayClass3.b__0(IDbDependencyResolver r) +60 System.Linq.WhereSelectArrayIterator`2.MoveNext() +58 System.Linq.Enumerable.FirstOrDefault(IEnumerable`1 source, Func`2 predicate) +94 System.Data.Entity.Infrastructure.DependencyResolution.ResolverChain.GetService(Type type, Object key) +250 System.Data.Entity.Infrastructure.DependencyResolution.CompositeResolver`2.GetService(Type type, Object key) +102 System.Data.Entity.Infrastructure.DependencyResolution.DbDependencyResolverExtensions.GetService(IDbDependencyResolver resolver, Object key) +145 System.Data.Entity.Internal.LazyInternalConnection.CreateConnectionFromProviderName(String providerInvariantName) +73 System.Data.Entity.Internal.LazyInternalConnection.InitializeFromConnectionStringSetting(ConnectionStringSettings appConfigConnection) +217 System.Data.Entity.Internal.LazyInternalConnection.TryInitializeFromAppConfig(String name, AppConfig config) +79 System.Data.Entity.Internal.LazyInternalConnection.Initialize() +253 System.Data.Entity.Internal.LazyInternalConnection.get_ProviderName() +36 System.Data.Entity.Internal.LazyInternalContext.get_ProviderName() +39 System.Data.Entity.Internal.DefaultModelCacheKeyFactory.Create(DbContext context) +159 System.Data.Entity.Internal.LazyInternalContext.InitializeContext() +417 System.Data.Entity.Internal.InternalContext.Initialize() +31 System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType) +39 System.Data.Entity.Internal.Linq.InternalSet`1.Initialize() +137 System.Data.Entity.Internal.Linq.InternalSet`1.GetEnumerator() +38 System.Data.Entity.Infrastructure.DbQuery`1.System.Collections.IEnumerable.GetEnumerator() +108 System.Web.UI.WebControls.ListViewPagedDataSource.GetEnumerator() +459 System.Web.UI.WebControls.ListView.CreateItemsWithoutGroups(ListViewPagedDataSource dataSource, Boolean dataBinding, InsertItemPosition insertPosition, ArrayList keyArray) +383 System.Web.UI.WebControls.ListView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) +2323 System.Web.UI.WebControls.ListView.PerformDataBinding(IEnumerable data) +99 System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +208 System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +131 System.Web.UI.WebControls.ModelDataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +121 System.Web.UI.WebControls.DataBoundControl.PerformSelect() +194 System.Web.UI.WebControls.ListView.PerformSelect() +169 System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +140 System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +101 System.Web.UI.WebControls.ListView.CreateChildControls() +123 System.Web.UI.Control.EnsureChildControls() +175 System.Web.UI.Control.PreRenderRecursiveInternal() +124 System.Web.UI.Control.PreRenderRecursiveInternal() +329 System.Web.UI.Control.PreRenderRecursiveInternal() +329 System.Web.UI.Control.PreRenderRecursiveInternal() +329 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5039  
 

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.79.0

Answers (1)