부모글 보이기/감추기 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 비밀번호 댓글 작성자 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 ... NoWriterDateCnt.TitleFile(s) 13764정성태10/11/202410568Linux: 85. Ubuntu - 원하는 golang 버전 설치13763정성태10/11/20248182Linux: 84. WSL / Ubuntu 20.04 - bpftool 설치13762정성태10/11/20248515Linux: 83. WSL / Ubuntu 22.04 - bpftool 설치13761정성태10/11/20247949오류 유형: 927. WSL / Ubuntu - /usr/include/linux/types.h:5:10: fatal error: 'asm/types.h' file not found13760정성태10/11/20249755Linux: 82. Ubuntu - clang 최신(stable) 버전 설치13759정성태10/10/202410734C/C++: 177. C++ - 자유 함수(free function) 및 주소 지정 가능한 함수(addressable function) [6]13758정성태10/8/20249295오류 유형: 926. dotnet tools를 sudo로 실행하는 경우 command not found13757정성태10/8/20249803닷넷: 2306. Linux - dotnet tool의 설치 디렉터리가 PATH 환경변수에 자동 등록이 되는 이유13756정성태10/8/20249969오류 유형: 925. ssh로 docker 접근을 할 때 "... malformed HTTP status code ..." 오류 발생13755정성태10/7/202410457닷넷: 2305. C# 13 - (9) 메서드 바인딩의 우선순위를 지정하는 OverloadResolutionPriority 특성 도입 (Overload resolution priority)113754정성태10/4/20249251닷넷: 2304. C# 13 - (8) 부분 메서드 정의를 속성 및 인덱서에도 확대113753정성태10/4/20248703Linux: 81. Linux - PATH 환경변수의 적용 규칙13752정성태10/2/202410237닷넷: 2303. C# 13 - (7) ref struct의 interface 상속 및 제네릭 제약으로 사용 가능 [6]113751정성태10/2/20248035C/C++: 176. C/C++ - ARM64로 포팅할 때 유의할 점13750정성태10/1/20247927C/C++: 175. C++ - WinMain/wWinMain 호출 전의 CRT 초기화 단계13749정성태9/30/20248445닷넷: 2302. C# - ssh-keygen으로 생성한 Private Key와 Public Key 연동113748정성태9/29/20248778닷넷: 2301. C# - BigInteger 타입이 byte 배열로 직렬화하는 방식13747정성태9/28/202410249닷넷: 2300. C# - OpenSSH의 공개키 파일에 대한 "BEGIN OPENSSH PUBLIC KEY" / "END OPENSSH PUBLIC KEY" PEM 포맷113746정성태9/28/20248409오류 유형: 924. Python - LocalProtocolError("Illegal header value ...")13745정성태9/28/20248265Linux: 80. 리눅스 - 실행 중인 프로세스 내부의 환경변수 설정을 구하는 방법 (lldb)13744정성태9/27/20249446닷넷: 2299. C# - Windows Hello 사용자 인증 다이얼로그 표시하기113743정성태9/26/20249974닷넷: 2298. C# - Console 프로젝트에서의 await 대상으로 Main 스레드 활용하는 방법 [1]13742정성태9/26/20249948닷넷: 2297. C# - ssh-keygen으로 생성한 ecdsa 유형의 Public Key 파일 해석 [1]113741정성태9/25/20249687디버깅 기술: 202. windbg - ASP.NET MVC Web Application (.NET Framework) 응용 프로그램의 덤프 분석 시 요령13740정성태9/24/20248899기타: 86. RSA 공개키 등의 modulus 값에 0x00 선행 바이트가 있는 이유(ASN.1 인코딩)13739정성태9/24/20249194닷넷: 2297. C# - ssh-keygen으로 생성한 Public Key 파일 해석과 fingerprint 값(md5, sha256) 생성 [1]1 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 ...