Server/Windows Server

Windows Server 2008 R2 SP1 에서 .Net Framework 4.0 이상 사용시 WCF 등의 오류 처리

달빛에취하다 2022. 12. 21. 14:19
  • 에러 종류
    • Content Type text/xml; charset=utf-8 was not supported by service [http://localhost/WS/AppSVC.svc.]   The client and service bindings may be mismatched.
    • The HTTP request was forbidden with client authentication scheme ‘Anonymous
    • IIS Application Pool 이 64bit로 실행하면 500 에러가 발생하는 경우 (32bit 로만 실행되는 경우 )
  • ISAP 모듈에서 하기 4가지만 남기고 모두 삭제
    • 구버전 ISAP 모듈과 함께 등록되어 있는 경우
    • 아래 항목을 제외하고 모두 제거
  • 모듈이 없는 경우아래 명령 실행
c:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i
c:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i