지난 며칠 동안이 문제를 해결하기 위해 고심하고 있습니다. asp.net 사이트를 프로덕션 환경에 처음으로 배포하려고합니다.엔터티 프레임 워크 배포
내 asp.net 웹 응용 프로그램은 SQL Server 2008 r2 데이터베이스 엔진이있는 로컬 컴퓨터 (Windows 7)에서 .net 4를 사용하여 Visual Studio 12로 개발되었으며 데이터 공급자로 Entity Framework를 사용하고 있습니다.
내 생산 환경에서 Windows Server 2003 Sp2에서 IIS 6 및 SQL Server 2008 R2 데이터베이스 엔진과 함께 실행되는 .net 4 프레임 워크를 설치하십시오.
구성 디버깅을위한 비주얼 스튜디오가 없습니다. 응용 프로그램에 액세스하려고 처음에
의 I는 오류가 점점 오전 :
An error occurred while executing the command definition. See the inner exception for details.","StackTrace":" at System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)\r\n at System.Data.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues)\r\n at System.Data.Objects.ObjectQuery
1.GetResults(Nullable
1 forMergeOption)\r\n at System.Data.Objects.ObjectQuery1.System.Collections.Generic.IEnumerable\u003cT\u003e.GetEnumerator() \r\n at System.Collections.Generic.List
1..ctor(IEnumerable1 collection)\r\n at System.Linq.Enumerable.ToList[TSource](IEnumerable
1 source)\r\n at Dl.GetAllCategories() in c:\Inetpub\wwwroot\likeaboss.co.il\App_Code\DL.cs:line 495\r\n
at BO.GetAllCategories() in c:\Inetpub\wwwroot\likeaboss.co.il\App_Code\BO.cs:line 328\r\n
at BO.GetAllCategoriesJobsJSON() in c:\Inetpub\wwwroot\likeaboss.co.il\App_Code\BO.cs:line 334\r\n
at JobManage.LoadCategory() in c:\Inetpub\wwwroot\likeaboss.co.il\JobManage.aspx.cs:line 41","ExceptionType":"System.Data.EntityCommandExecutionException"
EF에
연결 (오류가 서버에 Ajax 호출 후, 클라이언트에게 보낼입니다) 라인이 통과됩니다.
나는 구글 내 문제는 그 EF가 Windows Server 데이터베이스에 대한 업데이 트가 아니라는 것을 의미하는 것 같다.
누구나 아이디어가 있으십니까?
제안 된대로 내부 예외를 검사 했습니까? – StackTrace