错误\\ system.serviceModel / extensions [英] ERROR \\ system.serviceModel/extensions
问题描述
请注意,Machine.config文件有什么问题吗?对此可能是什么解决方案。
为system.serviceModel / extensions创建配置节处理程序时出错:无法加载文件或程序集'System.WorkflowServices,Version = 3.5.0.0,Culture = neutral,
PublicKeyToken = 31bf3856ad364e35'或其依赖项之一。访问被拒绝。 (C:\ Windows \ Microsoft.NET.NET \ Framework64 \v2.0.50727 \Config\machine.config第177行)
Machine.Config文件 -
< system.serviceModel>
< extensions>
;&NBSP;&NBSP; < behaviorExtensions>
;&NBSP;&NBSP;&NBSP;&NBSP; < add name =" persistenceProvider" type =" System.ServiceModel.Configuration.PersistenceProviderElement,System.WorkflowServices,Version = 3.5.0.0,
Culture = neutral,PublicKeyToken = 31bf3856ad364e35" />
< add name =" workflowRuntime" type =" System.ServiceModel.Configuration.WorkflowRuntimeElement,System.WorkflowServices,Version = 3.5.0.0,
Culture = neutral,PublicKeyToken = 31bf3856ad364e35" />
< add name =" enableWebScript" type =" System.ServiceModel.Configuration.WebScriptEnablingElement,System.ServiceModel.Web,Version = 3.5.0.0,
Culture = neutral,PublicKeyToken = 31bf3856ad364e35" />
< add name =" webHttp" type =" System.ServiceModel.Configuration.WebHttpElement,System.ServiceModel.Web,Version = 3.5.0.0,Culture = neutral,
PublicKeyToken = 31bf3856ad364e35" />
< / behaviorExtensions>
&NBSP;&NBSP;&NBSP; < bindingElementExtensions>
;&NBSP;&NBSP;&NBSP;&NBSP; < add name =" webMessageEncoding" type =" System.ServiceModel.Configuration.WebMessageEncodingElement,System.ServiceModel.Web,Version = 3.5.0.0,
Culture = neutral,PublicKeyToken = 31bf3856ad364e35" />
< add name =" context" type =" System.ServiceModel.Configuration.ContextBindingElementExtensionElement,System.WorkflowServices,Version = 3.5.0.0,
Culture = neutral,PublicKeyToken = 31bf3856ad364e35" />
< / bindingElementExtensions>
&NBSP;&NBSP;&NBSP; < bindingExtensions>
;&NBSP;&NBSP;&NBSP;&NBSP; < add name =" wsHttpContextBinding" type =" System.ServiceModel.Configuration.WSHttpContextBindingCollectionElement,System.WorkflowServices,
Version = 3.5.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35" />
< add name =" netTcpContextBinding" type =" System.ServiceModel.Configuration.NetTcpContextBindingCollectionElement,System.WorkflowServices,
Version = 3.5.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35" />
< add name =" webHttpBinding" type =" System.ServiceModel.Configuration.WebHttpBindingCollectionElement,System.ServiceModel.Web,Version = 3.5.0.0,
Culture = neutral,PublicKeyToken = 31bf3856ad364e35" />
< add name =" basicHttpContextBinding" type =" System.ServiceModel.Configuration.BasicHttpContextBindingCollectionElement,System.WorkflowServices,
Version = 3.5.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35" />
< / bindingExtensions>
&NBSP; < / extensions>
&NBSP; < client>
;&NBSP;&NBSP; < metadata>
;&NBSP;&NBSP;&NBSP;&NBSP; < policyImporters>
;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; < extension type =" System.ServiceModel.Channels.ContextBindingElementImporter,System.WorkflowServices,Version = 3.5.0.0,Culture = neutral,
PublicKeyToken = 31bf3856ad364e35,processorArchitecture = MSIL" />
< / policyImporters>
&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; < wsdlImporters>
;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; < extension type =" System.ServiceModel.Channels.ContextBindingElementImporter,System.WorkflowServices,Version = 3.5.0.0,Culture = neutral,
PublicKeyToken = 31bf3856ad364e35,processorArchitecture = MSIL" />
< / wsdlImporters>
&NBSP;&NBSP;&NBSP; < / metadata>
&NBSP; < / client>
< /system.serviceModel>
问候,
Sudheer
谢谢和问候,Sudheer
Hi Sudheer,
要解决此问题,请应用适用于您的操作系统和安装的.NET Framework的2018年7月30日更新。
更多信息请点击此处:
最好的问候,
<丹尼斯 <跨度>
Hi,
Please advise, is there any issue with Machine.config file ? What could be the possible solution for this.
An error occurred creating the configuration section handler for system.serviceModel/extensions: Could not load file or assembly 'System.WorkflowServices, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Access is denied. (C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Config\machine.config line 177)
Machine.Config file -
<system.serviceModel>
<extensions>
<behaviorExtensions>
<add name="persistenceProvider" type="System.ServiceModel.Configuration.PersistenceProviderElement, System.WorkflowServices, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="workflowRuntime" type="System.ServiceModel.Configuration.WorkflowRuntimeElement, System.WorkflowServices, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="enableWebScript" type="System.ServiceModel.Configuration.WebScriptEnablingElement, System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="webHttp" type="System.ServiceModel.Configuration.WebHttpElement, System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</behaviorExtensions>
<bindingElementExtensions>
<add name="webMessageEncoding" type="System.ServiceModel.Configuration.WebMessageEncodingElement, System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="context" type="System.ServiceModel.Configuration.ContextBindingElementExtensionElement, System.WorkflowServices, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</bindingElementExtensions>
<bindingExtensions>
<add name="wsHttpContextBinding" type="System.ServiceModel.Configuration.WSHttpContextBindingCollectionElement, System.WorkflowServices, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="netTcpContextBinding" type="System.ServiceModel.Configuration.NetTcpContextBindingCollectionElement, System.WorkflowServices, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="webHttpBinding" type="System.ServiceModel.Configuration.WebHttpBindingCollectionElement, System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="basicHttpContextBinding" type="System.ServiceModel.Configuration.BasicHttpContextBindingCollectionElement, System.WorkflowServices, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</bindingExtensions>
</extensions>
<client>
<metadata>
<policyImporters>
<extension type="System.ServiceModel.Channels.ContextBindingElementImporter, System.WorkflowServices, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"/>
</policyImporters>
<wsdlImporters>
<extension type="System.ServiceModel.Channels.ContextBindingElementImporter, System.WorkflowServices, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"/>
</wsdlImporters>
</metadata>
</client>
</system.serviceModel>
Regards,
Sudheer
Thanks & Regards, Sudheer
Hi Sudheer,
To resolve this issue, apply the July 30, 2018 update applicable to your operating system and .NET Framework installed.
More information is here:
Best Regards,
这篇关于错误\\ system.serviceModel / extensions的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!