WCF 서비스를 호출하는 SQL CLR 저장 프로 시저를 만들었습니다. 나는 올바른 모든 DLL을 SQL Server에로드하여이 작업을 수행하게했지만 다음과 같은 오류 메시지가 표시됩니다.SQL CLR에서 WCF 서비스 호출 저장 프로 시저
System.Configuration.ConfigurationErrorsException : system.serviceModel/extensions에 대한 구성 섹션 처리기를 만드는 동안 오류가 발생했습니다. : 파일 또는 어셈블리 'System.IdentityModel, 버전 = 3.0.0.0, 문화 = 중립, PublicKeyToken = b77a5c561934e089'또는 해당 종속성 중 하나를로드 할 수 없습니다. 호스트 저장소의 어셈블리에는 GAC의 어셈블리와 다른 서명이 있습니다. (HRESULT 예외 : 0x80131050) (C : \ Windows \ Microsoft.NET \ Framework64 \ v2.0.50727 \ Config \ machine.config 185 줄) System.Configuration.ConfigurationErrorsException : at System.Configuration.BaseConfigurationRecord.EvaluateOne ] 키 SectionInput 입력은 부울 isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord는 parentResult 부울 getLkg 부울 getRuntimeObject 개체, System.Configuration.BaseConfigurationRecord.Evaluate (FactoryRecord factoryRecord, SectionRecord sectionRecord AT) 을 parentResult 개체 & 결과 개체 & resultRuntimeObject 개체) at System.Configuration.BaseConfigurationRecord.GetSectionRecursive (String configKey, 부울 getLkg, 부울 checkPermission, 부울 getRuntimeObject, 부울 requestIsHere, 개체 & 결과, , System.Configuration.BaseConfigurationRecord.GetSectionRecursive (문자열 configKey, 부울 getLkg, 부울의 checkPermission, 부울 getRuntimeObject, 부울 requestIsHere에서 & resultRuntimeObject) 객체 & 결과를 객체, System.Configuration.BaseConfigurationRecord.GetSectionRecursive (문자열 configKey에서) 을 & resultRuntimeObject 개체, 부울 getLkg, 부울의 checkPermission, 부울 getRuntimeObject, 부울 requestIsHere는, & 결과를 객체 System.Configuration.BaseConfigurationRecord.GetSectionRecursive (문자열 configKey, 부울 getLkg, 부울의 checkPermission, 부울 getRuntimeObject, 부울 requestIsHere에서) 을 & resultRuntimeObject 객체, & 결과를 객체, 객체 & resultRu 나는 웹이 게시물을 발견하지만 난 GAC 또는 업데이트하는 방법을 모르는
ntimeObject) System.Configuration.BaseConfigurationRecord.GetSection (문자열에서 ... 여부 문제에 대한 실제 수정 : (Invoking a WCF Service from a CLR Trigger)