久久国产亚洲日韩一本,欧美日韩专区国产精品,久久精品成人欧美大片,久久久久久久岛国免费AV,亚洲欧洲精品一区二区

新聞建站cms系統、政府cms系統定制開發

廣州網站建設公司-閱速公司

asp.net新聞發布系統、報紙數字報系統方案
/
http://www.ainiby.com/
廣州網站建設公司
您當前位置:首頁>網站技術

網站技術

No Entity Framework provider found for the ADO.NET provider

發布時間:2014/2/21 16:23:32  作者:Admin  閱讀:2799  

廣告:

Server Error in '/' Application.

--------------------------------------------------------------------------------

No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlClient'. Make sure the provider is registered in the 'entityFramework' section of the application config file. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.

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.InvalidOperationException: No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlClient'. Make sure the provider is registered in the 'entityFramework' section of the application config file. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.

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:

 

[InvalidOperationException: No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlClient'. Make sure the provider is registered in the 'entityFramework' section of the application config file. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.]

System.Data.Entity.Infrastructure.DependencyResolution.DefaultProviderServicesResolver.GetService(Type type, Object key) +71

System.Data.Entity.Infrastructure.DependencyResolution.<>c__DisplayClass1.<GetService>b__0(Tuple`2 k) +23

System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) +72

System.Data.Entity.Infrastructure.DependencyResolution.CachingDependencyResolver.GetService(Type type, Object key) +140

System.Data.Entity.Infrastructure.DependencyResolution.<>c__DisplayClass3.<GetService>b__0(IDbDependencyResolver r) +19

System.Linq.WhereSelectArrayIterator`2.MoveNext() +85

System.Linq.Enumerable.FirstOrDefault(IEnumerable`1 source, Func`2 predicate) +166

System.Data.Entity.Infrastructure.DependencyResolution.ResolverChain.GetService(Type type, Object key) +162

System.Data.Entity.Infrastructure.DependencyResolution.RootDependencyResolver.GetService(Type type, Object key) +46

System.Data.Entity.Infrastructure.DependencyResolution.<>c__DisplayClass3.<GetService>b__0(IDbDependencyResolver r) +19

System.Linq.WhereSelectArrayIterator`2.MoveNext() +85

System.Linq.Enumerable.FirstOrDefault(IEnumerable`1 source, Func`2 predicate) +99

System.Data.Entity.Infrastructure.DependencyResolution.ResolverChain.GetService(Type type, Object key) +162

System.Data.Entity.Infrastructure.DependencyResolution.CompositeResolver`2.GetService(Type type, Object key) +65

System.Data.Entity.Infrastructure.DependencyResolution.DbDependencyResolverExtensions.GetService(IDbDependencyResolver resolver, Object key) +93

System.Data.Entity.Utilities.DbProviderFactoryExtensions.GetProviderServices(DbProviderFactory factory) +131

System.Data.Entity.Infrastructure.<>c__DisplayClass1.<ResolveManifestToken>b__0(Tuple`3 k) +21

System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) +72

System.Data.Entity.Infrastructure.DefaultManifestTokenResolver.ResolveManifestToken(DbConnection connection) +180

System.Data.Entity.Utilities.DbConnectionExtensions.GetProviderInfo(DbConnection connection, DbProviderManifest& providerManifest) +56

System.Data.Entity.DbModelBuilder.Build(DbConnection providerConnection) +43

System.Data.Entity.Internal.LazyInternalContext.CreateModel(LazyInternalContext internalContext) +62

System.Data.Entity.Internal.RetryLazy`2.GetValue(TInput input) +117

System.Data.Entity.Internal.LazyInternalContext.InitializeContext() +592

System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType) +18

System.Data.Entity.Internal.Linq.InternalSet`1.Initialize() +57

System.Data.Entity.Internal.Linq.InternalSet`1.GetEnumerator() +15

System.Data.Entity.Infrastructure.DbQuery`1.System.Collections.Generic.IEnumerable<TResult>.GetEnumerator() +53

System.Linq.WhereEnumerableIterator`1.MoveNext() +63

System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +327

System.Linq.Enumerable.ToList(IEnumerable`1 source) +58

TopWin.Etone.Infrastructure.Framework.RepositoryBase`1.GetMany(Func`2 where) in D:\yunyou2\Yunyou_N\TopWin.Etone.Infrastructure\Framework\RepositoryBase.cs:123

TopWin.Etone.Data.UserRepository.FindByUserName(String UserName) in D:\yunyou2\Yunyou_N\TopWin.Etone.Data\Infrastructure\UserRepository.cs:32

TopWin.Etone.Web.Controllers.AccountController.Login(LoginModel LoginModel) in D:\yunyou2\Yunyou_N\TopWin.Etone.Web\Controllers\AccountController.cs:57

lambda_method(Closure , ControllerBase , Object[] ) +108

System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +17

System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +208

System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +27

System.Web.Mvc.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() +55

System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +263

System.Web.Mvc.<>c__DisplayClass17.<InvokeActionMethodWithFilters>b__14() +19

System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +191

System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +343

System.Web.Mvc.Controller.ExecuteCore() +116

System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +97

System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext) +10

System.Web.Mvc.<>c__DisplayClassb.<BeginProcessRequest>b__5() +37

System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +21

System.Web.Mvc.Async.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _) +12

System.Web.Mvc.Async.WrappedAsyncResult`1.End() +62

System.Web.Mvc.<>c__DisplayClasse.<EndProcessRequest>b__d() +50

System.Web.Mvc.SecurityUtil.<GetCallInAppTrustThunk>b__0(Action f) +7

System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust(Action action) +22

System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +60

System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +9

System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +8836977

System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +184

 

 

--------------------------------------------------------------------------------

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

 

解決辦法:

1.

Install-Package EntityFramework

PM> Install-Package EntityFramework -Version 6.0.2

Install-Package Npgsql -Pre

Install-Package EntityFramework -Pre (表示最新)

Uninstall-Package EntityFramework -Version 6.1.0-beta1

2. 項目中包含EntityFramework.SqlServer.dll和 EntityFramework.SqlServer.xml 然后再發布即可

 

 

廣告:

相關文章
EntityFramework
Install
cms新聞系統購買咨詢
掃描關注 廣州閱速軟件科技有限公司
掃描關注 廣州閱速科技
主站蜘蛛池模板: 张家界市| 无极县| 榕江县| 鹤峰县| 兴业县| 肇东市| 樟树市| 勐海县| 苏尼特左旗| 霍山县| 安龙县| 朝阳区| 石棉县| 瑞金市| 那坡县| 黄龙县| 正镶白旗| 太谷县| 乌拉特前旗| 宝山区| 亚东县| 南投市| 宝丰县| 晋宁县| 措美县| 永和县| 宜良县| 阜康市| 新宾| 北川| 嘉祥县| 玉溪市| 诏安县| 沽源县| 华阴市| 如皋市| 巴彦淖尔市| 井冈山市| 鄂尔多斯市| 潍坊市| 汉阴县|