부모글 보이기/감추기 AD BLOCK 해제 요청 이 글에는 광고가 많이 들어가 있지 않습니다. adblock을 해제하셔도 글을 읽는데 그다지 부담이 없으니 해제를 부탁드립니다. HttpResponse.Headers.Add에서 "System.PlatformNotSupportedException: This operation requires IIS integrated pipeline mode." 예외 발생 재미있는, 하지만 황당한 현상이 나왔군요. ^^; 유독 윈도우 서버 2003에서만 아래의 코드를 실행하는 경우, // HttpResponse resp = ...; resp.Headers.Add("TEST", "test_value"); "System.PlatformNotSupportedException: This operation requires IIS integrated pipeline mode."라는 예외가 발생합니다. 검색해 보면, 이런 현상에 대해 좀 나오는데요. Is there any way to run Umbraco 6.* on windows 2003?? ; https://our.umbraco.org/forum/getting-started/installing-umbraco/41456-Is-there-any-way-to-run-Umbraco-6star-on-windows-2003 IIS6 + HttpModule: This operation requires IIS integrated pipeline mode ; http://stackoverflow.com/questions/186548/iis6-httpmodule-this-operation-requires-iis-integrated-pipeline-mode 결론만 보면, 해결 방법은 HttpResponse.AddHeader로 호출하면 된다는 것입니다. // HttpResponse resp = ...; resp.AddHeader("TEST", "test_value"); 깊게 살펴보지는 않았지만, 이 부분은 마이크로소프트 측에서 실수한 것이 아닌가 생각됩니다. 다들 아시는 것처럼, "integrated pipeline mode"라는 것은 IIS 7부터 존재하는 것이라서 윈도우 서버 2003에는 적용할 수 없으므로 오류 자체가 말이 안되는 경우입니다. [이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.] [다음 글] 오류 유형: 281. DebugView로 인한 System.Diagnostics.Trace.WriteLine 멈춤(Hang) 현상[이전 글] DDK: 6. ZwTerminateProcess로 프로세스를 종료하는 Device Driver 프로그램 [최초 등록일: 4/27/2015] [최종 수정일: 4/27/2015] 이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다. by SeongTae Jeong, mailto:techsharer at outlook.com 비밀번호 댓글 작성자 ... 121 [122] 123 124 125 126 127 128 129 130 131 132 133 134 135 ... NoWriterDateCnt.TitleFile(s) 10966정성태5/12/201637190.NET Framework: 584. C# - 파일 확장자에 연결된 프로그램을 등록하는 방법 (1) - 기본 [1]110965정성태5/12/201630031디버깅 기술: 81. try/catch로 조용히 사라진 예외를 파악하고 싶다면? [2]10964정성태5/12/201627351오류 유형: 331. ASP.NET에서 System.BadImageFormatException 예외가 발생하는 경우10963정성태5/11/201628786VS.NET IDE: 107. Visual Studio 2015의 "DTAR_..." 특수 폴더가 생성되는 문제210962정성태5/11/201627410오류 유형: 330. Visual Studio 단위 테스트 시 DisconnectedContext 예외 발생10961정성태5/11/201628098.NET Framework: 583. 문제 재현 - Managed Debugging Assistant 'DisconnectedContext' has detected a problem in '...'110960정성태5/10/201626715오류 유형: 329. ATL 메서드 추가 마법사 창에서 8ce0000b 오류 발생10959정성태5/9/201628298.NET Framework: 582. CLR Profiler - 별도 정의한 .NET 코드를 호출하도록 IL 코드 변경110958정성태5/6/201656636개발 환경 구성: 284. "Let's Encrypt"에서 제공하는 무료 SSL 인증서를 IIS에 적용하는 방법 (1) [3]10957정성태5/3/201630400오류 유형: 328. 윈도우 백업 시 오류 - 0x80780166 두 번째 이야기 [1]10956정성태5/3/201627407Windows: 117. BitLocker - This device can't use a Trusted Platform Module.10955정성태5/3/201634521.NET Framework: 581. C# - 순열(Permutation) 예제 코드210954정성태5/3/201635122.NET Framework: 580. C# - 조합(Combination) 예제 코드 [2]110953정성태5/2/201622537.NET Framework: 579. Assembly.LoadFrom으로 로드된 어셈블리의 JIT 컴파일 코드 공유?110952정성태5/2/201626394.NET Framework: 578. 도메인 중립적인 어셈블리가 비-도메인 중립적인 어셈블리를 참조하는 경우110951정성태5/2/201624182.NET Framework: 577. CLR Profiler로 살펴보는 SharedDomain의 모듈 로드 동작110950정성태5/2/201632849.NET Framework: 576. 기본적인 CLR Profiler 소스 코드 설명 [2]210949정성태4/28/201622530.NET Framework: 575. SharedDomain과 JIT 컴파일110948정성태4/28/201628463.NET Framework: 574. .NET - 눈으로 확인하는 SharedDomain의 동작 방식 [3]110947정성태4/27/201626651.NET Framework: 573. .NET CLR4 보안 모델 - 4. CLR4 보안 모델에서의 조건부 APTCA 역할110946정성태4/26/201628764VS.NET IDE: 106. Visual Studio 2015 확장 - INI 파일을 위한 사용자 정의 포맷 기능 (Syntax Highlighting)110945정성태4/26/201620901오류 유형: 327. VSIX 프로젝트 빌드 시 The "VsTemplatePaths" task could not be loaded from the assembly 오류 발생10944정성태4/22/201623801디버깅 기술: 80. windbg - 풀 덤프 파일로부터 텍스트 파일의 내용을 찾는 방법10943정성태4/22/201629052디버깅 기술: 79. windbg - 풀 덤프 파일로부터 .NET DLL을 추출/저장하는 방법 [1]10942정성태4/19/201623846디버깅 기술: 78. windbg 사례 - .NET 예외가 발생한 시점의 오류 분석 [1]10941정성태4/19/201623105오류 유형: 326. Error MSB8020 - The build tools for v120_xp (Platform Toolset = 'v120_xp') cannot be found. ... 121 [122] 123 124 125 126 127 128 129 130 131 132 133 134 135 ...