부모글 보이기/감추기 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 비밀번호 댓글 작성자 ... 76 77 78 79 80 81 82 [83] 84 85 86 87 88 89 90 ... NoWriterDateCnt.TitleFile(s) 11897정성태5/16/201929328오류 유형: 536. Visual Studio - "Developer Pack"을 설치했는데도 "대상 프레임워크" 목록에 나오지 않는 경우 [2]11896정성태5/15/201925140개발 환경 구성: 440. C#, C++ - double의 Infinity, NaN 표현 방식111895정성태5/12/201922671.NET Framework: 832. ML.NET Model Builder - 회귀(Regression), 다중 분류(Multi-class classification) 예제111894정성태5/10/201924626VS.NET IDE: 135. Visual Studio - ML.NET Model Builder 소개 [5]11893정성태5/10/201920645오류 유형: 535. C# 6.0 이상의 문법을 컴파일 시 오류가 발생한다면?11892정성태5/10/201920566웹: 38. HTTP Cookie의 expires 시간 형식(RFC7231)11891정성태5/9/201923697.NET Framework: 831. (번역글) .NET Internals Cookbook Part 12 - Memory structure, attributes, handles11890정성태5/8/201919434개발 환경 구성: 439. "Visual Studio Enterprise is required to execute the test." 메시지와 관련된 코드 기록11889정성태5/8/201919463개발 환경 구성: 438. mstest, QTAgent의 로그 파일 설정 방법11888정성태5/8/201937351.NET Framework: 830. C# - 비동기 호출을 취소하는 CancellationToken의 간단한 예제 코드 [1]111887정성태5/8/201923143.NET Framework: 829. C# - yield 문을 사용할 수 있는 메서드의 조건11886정성태5/7/201920203오류 유형: 534. mstest.exe 실행 시 "Visual Studio Enterprise is required to execute the test." 오류 [2]11885정성태5/7/201917681오류 유형: 533. mstest.exe 실행 시 "File extension specified '.loadtest' is not a valid test extension." 오류 발생11884정성태5/5/201922594.NET Framework: 828. C# DLL에서 Win32 C/C++처럼 dllexport 함수를 제공하는 방법 - 두 번째 이야기11883정성태5/3/201927627.NET Framework: 827. C# - 인터넷 시간 서버로부터 받은 시간을 윈도우에 적용하는 방법111882정성태5/2/201924134.NET Framework: 826. (번역글) .NET Internals Cookbook Part 11 - Various C# riddles111881정성태4/28/201924258오류 유형: 532. .NET Core 프로젝트로 마이그레이션 시 "CS0579 Duplicate 'System.Reflection.AssemblyCompanyAttribute' attribute" 오류 발생11880정성태4/25/201919948오류 유형: 531. 이벤트 로그 오류 - Task Scheduling Error: m->NextScheduledSPRetry 1547, m->NextScheduledEvent 154711879정성태4/24/201928828.NET Framework: 825. (번역글) .NET Internals Cookbook Part 10 - Threads, Tasks, asynchronous code and others211878정성태4/22/201924172.NET Framework: 824. (번역글) .NET Internals Cookbook Part 9 - Finalizers, queues, card tables and other GC stuff111877정성태4/22/201924352.NET Framework: 823. (번역글) .NET Internals Cookbook Part 8 - C# gotchas111876정성태4/21/201922535.NET Framework: 822. (번역글) .NET Internals Cookbook Part 7 - Word tearing, locking and others111875정성태4/21/201924403오류 유형: 530. Visual Studo에서 .NET Core 프로젝트를 열 때 "One or more errors occurred." 오류 발생11874정성태4/20/201924425.NET Framework: 821. (번역글) .NET Internals Cookbook Part 6 - Object internals111873정성태4/19/201923138.NET Framework: 820. (번역글) .NET Internals Cookbook Part 5 - Methods, parameters, modifiers111872정성태4/17/201924012.NET Framework: 819. (번역글) .NET Internals Cookbook Part 4 - Type members1 ... 76 77 78 79 80 81 82 [83] 84 85 86 87 88 89 90 ...