0
내가 실버 라이트 4 RIA 서비스 및 SQL Server 2008를 사용하고, 우리는 우리가 데이터 그리드에 표시되는 일부 데이터를 반환하는 저장 프로 시저를 사용하는결과보기 = 유형
, issummary = 0 우리가 사용하는 동일한 저장 절차는 데이터의 요약을 반환 할 때 issummary = 1
때 issummary = 0 저장된 순서 데이터 복귀되지만 때 issummary = 1, 그것은
Results View = The type 'VSO.Models.Server.PFO' exists in both 'VSO.Web.dll' and 'DataContractSurrogates_451c5697-49be-4ec5-9d42-89486ff684a6'
말하는 오류 trowing되고 designer.cs 파일의
또한 domainservice.cs의 캐스트 예외가 파일
지정한 캐스트가 잘못되었습니다.
확장 :
, 내가 잘못된 건가 사람이 좀 도와주십시오 수at System.Data.DataTableReader.GetGuid(Int32 ordinal)
at System.Data.Linq.SqlClient.ObjectReaderCompiler.Rereader.GetGuid(Int32 i)
at Read_PFO(ObjectMaterializer`1)
at System.Data.Linq.SqlClient.ObjectReaderCompiler.ObjectReader`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at VSO.DomainServices.Server.PFODomainService.PFOSelectByStores(String storeIds, Int32 filter, Int32 pageIndex, Int32 pageSize, Guid userId, String sortColumn, String productIDs, Boolean isSummary, Int32& totalRows) in C:\Hood_VSO\.VSO\.VSO.Web\Services\PFODomainService.cs:line 820
, 내가 솔루션, 없음을 발견
wcf ria 서비스가 DataContract를 처리하는 방식 때문에 디버거에서 일반적으로보고 한 오류는 디버거 또는 웹 서버 자체에서 발생하는 오류입니까? – mCasamento