부모글 보이기/감추기 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 비밀번호 댓글 작성자 ... 16 17 18 19 20 [21] 22 23 24 25 26 27 28 29 30 ... NoWriterDateCnt.TitleFile(s) 13125정성태9/14/20227709.NET Framework: 2048. C# 11 - 구조체 필드의 자동 초기화(auto-default structs)13124정성태9/13/20227505.NET Framework: 2047. Golang, Python, C#에서의 CRC32 사용13123정성태9/8/20227857.NET Framework: 2046. C# 11 - 멤버(속성/필드)에 지정할 수 있는 required 예약어 추가13122정성태8/26/20227818.NET Framework: 2045. C# 11 - 메서드 매개 변수에 대한 nameof 지원13121정성태8/23/20225667C/C++: 157. Golang - 구조체의 slice 필드를 Reflection을 이용해 변경하는 방법13120정성태8/19/20227308Windows: 209. Windows NT Service에서 UI를 다루는 방법 [3]13119정성태8/18/20226876.NET Framework: 2044. .NET Core/5+ 프로젝트에서 참조 DLL이 보관된 공통 디렉터리를 지정하는 방법13118정성태8/18/20225661.NET Framework: 2043. WPF Color의 기본 색 영역은 (sRGB가 아닌) scRGB [2]13117정성태8/17/20227881.NET Framework: 2042. C# 11 - 파일 범위 내에서 유효한 타입 정의 (File-local types)113116정성태8/4/20228328.NET Framework: 2041. C# - Socket.Close 시 Socket.Receive 메서드에서 예외가 발생하는 문제113115정성태8/3/20228714.NET Framework: 2040. C# - ValueTask와 Task의 성능 비교 [1]113114정성태8/2/20228864.NET Framework: 2039. C# - Task와 비교해 본 ValueTask 사용법113113정성태7/31/20228199.NET Framework: 2038. C# 11 - Span 타입에 대한 패턴 매칭 (Pattern matching on ReadOnlySpan<char>)13112정성태7/30/20228561.NET Framework: 2037. C# 11 - 목록 패턴(List patterns) [1]113111정성태7/29/20228310.NET Framework: 2036. C# 11 - IntPtr/UIntPtr과 nint/nuint의 통합113110정성태7/27/20228379.NET Framework: 2035. C# 11 - 새로운 연산자 ">>>" (Unsigned Right Shift)113109정성태7/27/20229777VS.NET IDE: 177. 비주얼 스튜디오 2022를 이용한 (소스 코드가 없는) 닷넷 모듈 디버깅 - "외부 원본(External Sources)" [1]13108정성태7/26/20227719Linux: 53. container에 실행 중인 Golang 프로세스를 디버깅하는 방법 [1]13107정성태7/25/20226819Linux: 52. Debian/Ubuntu 계열의 docker container에서 자주 설치하게 되는 명령어13106정성태7/24/20226613오류 유형: 819. 닷넷 6 프로젝트의 "Conditional compilation symbols" 기본값 오류13105정성태7/23/20227910.NET Framework: 2034. .NET Core/5+ 환경에서 (프로젝트가 아닌) C# 코드 파일을 입력으로 컴파일하는 방법 - 두 번째 이야기 [1]13104정성태7/23/202210986Linux: 51. WSL - init에서 systemd로 전환하는 방법13103정성태7/22/20227488오류 유형: 818. WSL - systemd-genie와 관련한 2가지(systemd-remount-fs.service, multipathd.socket) 에러13102정성태7/19/20226939.NET Framework: 2033. .NET Core/5+에서는 구할 수 없는 HttpRuntime.AppDomainAppId13101정성태7/15/202215920도서: 시작하세요! C# 10 프로그래밍13100정성태7/15/20228330.NET Framework: 2032. C# 11 - shift 연산자 재정의에 대한 제약 완화 (Relaxing Shift Operator) ... 16 17 18 19 20 [21] 22 23 24 25 26 27 28 29 30 ...