성태의 닷넷 이야기
홈 주인
모아 놓은 자료
프로그래밍
질문/답변
사용자 관리
사용자
메뉴
아티클
외부 아티클
유용한 코드
온라인 기능
MathJax 입력기
최근 덧글
[정성태] Roll A Lisp In C - Reading ; https...
[정성태] Java - How to use the Foreign Funct...
[정성태] 제가 큰 실수를 했군요. ^^; Delegate를 통한 Bein...
[정성태] Working with Rust Libraries from C#...
[정성태] Detecting blocking calls using asyn...
[정성태] 아쉽게도, 커뮤니티는 아니고 개인 블로그입니다. ^^
[정성태] 질문이 잘 이해가 안 됩니다. 우선, 해당 소스코드에서 ILis...
[양승조
] var대신 dinamic으로 선언해서 해결은 했습니다. 맞는 해...
[양승조
] 또 막혔습니다. ㅠㅠ var list = props[i].Ge...
[양승조
] 아. 감사합니다. 어제는 안됐던것 같은데....정신을 차려야겠네...
글쓰기
제목
이름
암호
전자우편
HTML
홈페이지
유형
제니퍼 .NET
닷넷
COM 개체 관련
스크립트
VC++
VS.NET IDE
Windows
Team Foundation Server
디버깅 기술
오류 유형
개발 환경 구성
웹
기타
Linux
Java
DDK
Math
Phone
Graphics
사물인터넷
부모글 보이기/감추기
내용
<div style='display: inline'> <h1 style='font-family: Malgun Gothic, Consolas; font-size: 20pt; color: #006699; text-align: center; font-weight: bold'>WCF - The protocol 'net.tcp' does not have an implementation of HostedTransportConfiguration type registered.</h1> <p> Windows Server 2008에 있던 WCF 서비스를 Windows Server 2012로 옮겨 왔는데, 최초 WCF 서비스를 호출할 때 이런 오류가 발생합니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > Server Error in '/WCFs' Application. The protocol 'net.tcp' does not have an implementation of HostedTransportConfiguration type registered. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: <span style='color: blue; font-weight: bold'>System.InvalidOperationException: The protocol 'net.tcp' does not have an implementation of HostedTransportConfiguration type registered.</span> Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [InvalidOperationException: The protocol 'net.tcp' does not have an implementation of HostedTransportConfiguration type registered.] System.ServiceModel.AsyncResult.End(IAsyncResult result) +396 System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +196 System.ServiceModel.Activation.HostedHttpRequestAsyncResult.ExecuteSynchronous(HttpApplication context, Boolean flowContext) +222 System.ServiceModel.Activation.HttpModule.ProcessRequest(Object sender, EventArgs e) +211 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +131 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +76 Version Information: Microsoft .NET Framework Version:2.0.50727.8810; ASP.NET Version:2.0.50727.8762 </pre> <br /> 그런 다음, 두 번째 WCF 서비스를 호출할 때는 오류 메시지가 다음과 같이 바뀝니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > Server Error in '/WCFs' Application. An item with the same key has already been added. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: <span style='color: blue; font-weight: bold'>System.ArgumentException: An item with the same key has already been added.</span> Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [ArgumentException: An item with the same key has already been added.] System.ServiceModel.AsyncResult.End(IAsyncResult result) +396 System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +196 System.ServiceModel.Activation.HostedHttpRequestAsyncResult.ExecuteSynchronous(HttpApplication context, Boolean flowContext) +222 System.ServiceModel.Activation.HttpModule.ProcessRequest(Object sender, EventArgs e) +211 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +131 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +76 Version Information: Microsoft .NET Framework Version:2.0.50727.8810; ASP.NET Version:2.0.50727.8762 </pre> <br /> 다행히 검색했더니, 정확히 그런 이유로 인한 KB 자료가 있습니다. ^^;<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > "'Net.tcp' does not have an implementation of HostedTransportConfiguration type registered" error message when you host .NET Framework 3.5 WCF service on Windows Server 2012 or Windows 8 ; <a target='tab' href='https://support.microsoft.com/ko-kr/help/2803161/net-tcp-does-not-have-an-implementation-of-hostedtransportconfiguratio'>https://support.microsoft.com/ko-kr/help/2803161/net-tcp-does-not-have-an-implementation-of-hostedtransportconfiguratio</a> </pre> <br /> 따라서 다음과 같이 관리자 권한의 명령행으로 실행시켜 주면 되는데,<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > "%windir%\Microsoft.NET\Framework64\v3.0\Windows Communication Foundation\SMConfigInstaller.exe" -c:install -f:tcp -f:pipe -f:msmq -f:http "%windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\SMConfigInstaller.exe" -c:install -f:tcp -f:pipe -f:msmq -f:http </pre> <br /> 이로 인해 아래 2개의 web.config 파일에,<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > %windir%\Microsoft.NET\Framework64\v2.0.50727\CONFIG\web.config %windir%\Microsoft.NET\Framework\v2.0.50727\CONFIG\web.config </pre> <br /> system.web/protocols, system.serviceModel/serviceHostingEnvironment 노드의 하위로 binding 프로토콜 관련 항목이 추가되고, <br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > <configuration> ...[생략]... <system.web> ...[생략]... <protocols> <span style='color: blue; font-weight: bold'><add name="net.tcp" processHandlerType="System.ServiceModel.WasHosting.TcpProcessProtocolHandler, System.ServiceModel.WasHosting, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" appDomainHandlerType="System.ServiceModel.WasHosting.TcpAppDomainProtocolHandler, System.ServiceModel.WasHosting, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" validate="false" /> <add name="net.pipe" processHandlerType="System.ServiceModel.WasHosting.NamedPipeProcessProtocolHandler, System.ServiceModel.WasHosting, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" appDomainHandlerType="System.ServiceModel.WasHosting.NamedPipeAppDomainProtocolHandler, System.ServiceModel.WasHosting, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" validate="false" /> <add name="net.msmq" processHandlerType="System.ServiceModel.WasHosting.MsmqProcessProtocolHandler, System.ServiceModel.WasHosting, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" appDomainHandlerType="System.ServiceModel.WasHosting.MsmqAppDomainProtocolHandler, System.ServiceModel.WasHosting, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" validate="false" /> <add name="msmq.formatname" processHandlerType="System.ServiceModel.WasHosting.MsmqIntegrationProcessProtocolHandler, System.ServiceModel.WasHosting, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" appDomainHandlerType="System.ServiceModel.WasHosting.MsmqIntegrationAppDomainProtocolHandler, System.ServiceModel.WasHosting, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" validate="false" /></span> </protocols> ...[생략]... </system.web> <system.serviceModel> <serviceHostingEnvironment> <span style='color: blue; font-weight: bold'><add name="net.tcp" transportConfigurationType="System.ServiceModel.Activation.TcpHostedTransportConfiguration, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <add name="net.pipe" transportConfigurationType="System.ServiceModel.Activation.NamedPipeHostedTransportConfiguration, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <add name="net.msmq" transportConfigurationType="System.ServiceModel.Activation.MsmqHostedTransportConfiguration, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <add name="msmq.formatname" transportConfigurationType="System.ServiceModel.Activation.MsmqIntegrationHostedTransportConfiguration, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /></span> </serviceHostingEnvironment> </system.serviceModel> </configuration> </pre> <br /> %windir%\system32\inetsrv\config\applicationHost.config 파일에도 configuration/location/system.webServer/modules에 ServiceModel 항목이 추가됩니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > <configuration> ...[생략]... <location path="" overrideMode="Allow"> ...[생략]... <system.webServer> ...[생략]... <modules> ...[생략]... <span style='color: blue; font-weight: bold'><add name="ServiceModel" type="System.ServiceModel.Activation.HttpModule, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="managedHandler" /></span> ...[생략]... </modules> <handlers accessPolicy="Read, Script"> ...[생략]... <span style='color: blue; font-weight: bold'><add name="svc-Integrated" path="*.svc" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode" /></span> ...[생략]... </handlers> ...[생략]... </system.webServer> ...[생략]... </location> ...[생략]... </configuration> </pre> <br /> SMConfigInstaller 호출로 인해 위와 같은 변경 사항이 포함되면 이후, .NET 3.5 WCF 사이트는 정상적으로 동작하게 됩니다.<br /> <br /> <hr style='width: 50%' /><br /> <br /> 이렇게 해서 .NET 3.5 WCF의 동작은 시켰지만, (바꾼 config 파일들이 전역 설정인 탓에) 그 여파로 인해 이번에는 같은 머신에 있던 .NET 4.0의 WCF 사이트가 다음과 같은 오류 메시지 등을 보이며 동작이 안 됩니다. <br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > Server Error in '/' Application. Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly '<span style='color: blue; font-weight: bold'>System.ServiceModel, Version=3.0.0.0</span>, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.TypeLoadException: Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [TypeLoadException: Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.] System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type) +0 System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName) +153 System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) +49 System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +42 System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +44 System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +59 System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) +49 [ConfigurationErrorsException: Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.] System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase) +515 System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, Boolean checkAptcaBit, Boolean ignoreCase) +36 System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, Boolean checkAptcaBit) +20 System.Web.Configuration.Common.ModulesEntry.SecureGetType(String typeName, String propertyName, ConfigurationElement configElement) +60 System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement) +84 System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList) +207 System.Web.HttpApplication.GetModuleCollection(IntPtr appContext) +948 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +148 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +176 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +204 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +213 [HttpException (0x80004005): Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +403 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +100 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +606 Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4075.0 </pre> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > Server Error in '/' Application. Internal Server Error Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ServiceModel.CommunicationException: Internal Server Error Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [CommunicationException: Internal Server Error] System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +240 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +876 WcfInterfaceLib.IHelloWorld.GetDate(String year, String month, String day) +0 Jennifer40.WebSiteTest.CallToAsmxService.Page_Load(Object sender, EventArgs e) in D:\workshop2\Jennifer\Sources\Agent\UnitTest\Jennifer40.WebSiteTest4\CallToAsmxService.aspx.cs:169 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +85 System.Web.UI.Control.OnLoad(EventArgs e) +86 System.Web.UI.Control.LoadRecursive() +97 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2056 Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4075.0 </pre> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > Server Error in '/' Application. Could not load type 'System.ServiceModel.Activation.HttpHandler' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.TypeLoadException: Could not load type 'System.ServiceModel.Activation.HttpHandler' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [TypeLoadException: Could not load type 'System.ServiceModel.Activation.HttpHandler' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.] System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type) +0 System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName) +153 System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) +49 System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +42 System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +44 System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +59 System.Web.Configuration.HandlerFactoryCache.GetTypeWithAssert(String type) +51 System.Web.Configuration.HandlerFactoryCache.GetHandlerType(String type) +17 System.Web.Configuration.HandlerFactoryCache.Create(String type) +10 System.Web.Configuration.HandlerFactoryCache..ctor(String type) +33 System.Web.HttpApplication.GetFactory(String type) +98 System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +265 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +231 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +134 Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4075.0 </pre> <br /> 위의 오류 내용을 정리하면,<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Could not load type 'System.ServiceModel.Activation.HttpHandler' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. </pre> <br /> SMConfigInstaller가 %windir%\system32\inetsrv\config\applicationHost.config에 추가한 3.0.0.0 버전의 System.ServiceModel 참조로 인해, .NET 4.0 WCF 환경에서 해당 버전들의 어셈블리를 로드하지 못해 발생하는 것입니다. 이 문제를 해결하려면, 각각의 설정에 대해 preCondition에 "runtimeVersionv2.0"을 추가하면 됩니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > <configuration> ...[생략]... <location path="" overrideMode="Allow"> ...[생략]... <system.webServer> ...[생략]... <modules> ...[생략]... <add name="ServiceModel" type="System.ServiceModel.Activation.HttpModule, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="managedHandler<span style='color: blue; font-weight: bold'>,runtimeVersionv2.0</span>" /> ...[생략]... </modules> <handlers accessPolicy="Read, Script"> ...[생략]... <add name="svc-Integrated" path="*.svc" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode<span style='color: blue; font-weight: bold'>,runtimeVersionv2.0</span>" /> ...[생략]... </handlers> ...[생략]... </system.webServer> ...[생략]... </location> ...[생략]... </configuration> </pre> <br /> 좀 더 자세한 사항은 다음의 KB 자료가 도움이 됩니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > Error message after you install the .NET Framework 4.0: "Could not load type 'System.ServiceModel.Activation.HttpModule'" ; <a target='tab' href='https://support.microsoft.com/en-us/help/2015129/error-message-after-you-install-the-net-framework-4-0-could-not-load-t'>https://support.microsoft.com/en-us/help/2015129/error-message-after-you-install-the-net-framework-4-0-could-not-load-t</a> </pre> <br /> <hr style='width: 50%' /><br /> <br /> 참고로, System.ServiceModel.Activation.HttpHandler로 인한 오류는 프로젝트에 포함한 web.config 내 serviceHostingEnvironment의 aspNetCompatibilityEnabled 값을 false로 주는 것으로도 해결할 수 있습니다. (물론, 이런 경우에는 해당 기능을 사용하지 않는 경우에만 가능할 텐데... 대부분의 경우 필요했으니까 설정했을 것이므로 저 옵션을 false로 변경하려면 소스 코드의 변경이 불가피할 것입니다.)<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > <serviceHostingEnvironment <span style='color: blue; font-weight: bold'>aspNetCompatibilityEnabled="false"</span> multipleSiteBindingsEnabled="true" /> </pre> </p><br /> <br /><hr /><span style='color: Maroon'>[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]</span> </div>
첨부파일
스팸 방지용 인증 번호
7463
(왼쪽의 숫자를 입력해야 합니다.)