부모글 보이기/감추기 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) 11887정성태5/8/201921516.NET Framework: 829. C# - yield 문을 사용할 수 있는 메서드의 조건11886정성태5/7/201919328오류 유형: 534. mstest.exe 실행 시 "Visual Studio Enterprise is required to execute the test." 오류 [2]11885정성태5/7/201916272오류 유형: 533. mstest.exe 실행 시 "File extension specified '.loadtest' is not a valid test extension." 오류 발생11884정성태5/5/201921069.NET Framework: 828. C# DLL에서 Win32 C/C++처럼 dllexport 함수를 제공하는 방법 - 두 번째 이야기11883정성태5/3/201926243.NET Framework: 827. C# - 인터넷 시간 서버로부터 받은 시간을 윈도우에 적용하는 방법111882정성태5/2/201922537.NET Framework: 826. (번역글) .NET Internals Cookbook Part 11 - Various C# riddles111881정성태4/28/201922648오류 유형: 532. .NET Core 프로젝트로 마이그레이션 시 "CS0579 Duplicate 'System.Reflection.AssemblyCompanyAttribute' attribute" 오류 발생11880정성태4/25/201918498오류 유형: 531. 이벤트 로그 오류 - Task Scheduling Error: m->NextScheduledSPRetry 1547, m->NextScheduledEvent 154711879정성태4/24/201926931.NET Framework: 825. (번역글) .NET Internals Cookbook Part 10 - Threads, Tasks, asynchronous code and others211878정성태4/22/201922713.NET Framework: 824. (번역글) .NET Internals Cookbook Part 9 - Finalizers, queues, card tables and other GC stuff111877정성태4/22/201922763.NET Framework: 823. (번역글) .NET Internals Cookbook Part 8 - C# gotchas111876정성태4/21/201921746.NET Framework: 822. (번역글) .NET Internals Cookbook Part 7 - Word tearing, locking and others111875정성태4/21/201922804오류 유형: 530. Visual Studo에서 .NET Core 프로젝트를 열 때 "One or more errors occurred." 오류 발생11874정성태4/20/201922994.NET Framework: 821. (번역글) .NET Internals Cookbook Part 6 - Object internals111873정성태4/19/201921604.NET Framework: 820. (번역글) .NET Internals Cookbook Part 5 - Methods, parameters, modifiers111872정성태4/17/201922374.NET Framework: 819. (번역글) .NET Internals Cookbook Part 4 - Type members111871정성태4/16/201920935.NET Framework: 818. (번역글) .NET Internals Cookbook Part 3 - Initialization tricks [3]111870정성태4/16/201919267.NET Framework: 817. Process.Start로 실행한 콘솔 프로그램의 출력 결과를 얻는 방법111869정성태4/15/201925105.NET Framework: 816. (번역글) .NET Internals Cookbook Part 2 - GC-related things [2]211868정성태4/15/201921089.NET Framework: 815. CER(Constrained Execution Region)이란?111867정성태4/15/201920270.NET Framework: 814. Critical Finalizer와 SafeHandle의 사용 의미111866정성태4/9/201923345Windows: 159. 네트워크 공유 폴더(net use)에 대한 인증 정보는 언제까지 유효할까요?11865정성태4/9/201919210오류 유형: 529. 제어판 - C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools is not accessible.11864정성태4/9/201917876오류 유형: 528. '...' could be '0': this does not adhere to the specification for the function '...'11863정성태4/9/201917780디버깅 기술: 127. windbg - .NET x64 EXE의 EntryPoint11862정성태4/7/201920287개발 환경 구성: 437. .NET EXE의 ASLR 기능을 끄는 방법 ... 76 77 78 79 80 81 [82] 83 84 85 86 87 88 89 90 ...