ASP.NET MVC 3 (here 찾기)을 완료 한 후 온라인으로 응용 프로그램을 게시하려고했습니다. MVC 3 앱을 호스팅 할 수 있는지 여부를 확인하기 위해 호스팅 업체에 연락했습니다. 하지만 bin (dll 파일) 응용 프로그램을 배포해야했습니다. 그래서 hanselmans blog에 대한 몇 가지 단계를 수행 한 후, 나는 다음과 같은 오류에 갇히지 해요 :요청한 .Net Framework 데이터 공급자를 찾을 수 없습니다. 설치되지 않았을 수도 있습니다
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) +1420503
System.Data.Entity.Internal.LazyInternalConnection.TryInitializeFromAppConfig(String name) +362
System.Data.Entity.Internal.LazyInternalConnection.Initialize() +49
System.Data.Entity.Internal.LazyInternalConnection.get_ConnectionHasModel() +10 System.Data.Entity.Internal.LazyInternalContext.InitializeContext() +265 System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType) +17
System.Data.Entity.Internal.Linq.InternalSet1.Initialize() +62
1.get_InternalContext() +15 System.Data.Entity.Infrastructure.DbQuery
System.Data.Entity.Internal.Linq.InternalSet1.System.Linq.IQueryable.get_Provider() +37 System.Linq.Queryable.OrderByDescending(IQueryable
1 source, Expression1 keySelector) +66
2 parameters) +188
MvcMusicStore.Controllers.HomeController.GetTopSellingAlbums(Int32 count) +420 MvcMusicStore.Controllers.HomeController.Index() +47
lambda_method(Closure , ControllerBase , Object[]) +40
System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +17
System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +27
어떤 도움에 감사드립니다. 내 경험에서
을 Entity Framework를 사용하고 있습니까? – mattytommo
예, 정확히이 튜토리얼에서 언급 한 내용입니다. – SamekaTV
Copy Local = True를 Entity Framework 참조에 추가 했습니까? – mattytommo