询问者
Windows server 2012R2 DC 版安装WSUS 后System.ServiceModel 4.0.0.0报错

问题
-
Hi All;
如标题;在安装好WSUS后,无法通过控制台正常打开WSUS ,报错日志ID 为3 ;
具体的报错信息:
Log Name: Application
Source: System.ServiceModel 4.0.0.0
Date: 2017/11/23 9:36:49
Event ID: 3
Task Category: WebHost
Level: Error
Keywords: Classic
User: NETWORK SERVICE
Computer: ASCSHFS01.ascendas.net
Description:
WebHost failed to process a request.
Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/61669314
Exception: System.ServiceModel.ServiceActivationException: The service '/ClientWebService/client.asmx' cannot be activated due to an exception during compilation. The exception message is: Could not find a base address that matches scheme https for the endpoint with binding BasicHttpBinding. Registered base address schemes are [http].. ---> System.InvalidOperationException: Could not find a base address that matches scheme https for the endpoint with binding BasicHttpBinding. Registered base address schemes are [http].
at System.ServiceModel.ServiceHostBase.MakeAbsoluteUri(Uri relativeOrAbsoluteUri, Binding binding, UriSchemeKeyedCollection baseAddresses)
at System.ServiceModel.Description.ConfigLoader.LoadServiceDescription(ServiceHostBase host, ServiceDescription description, ServiceElement serviceElement, Action`1 addBaseAddress, Boolean skipHost)
at System.ServiceModel.ServiceHostBase.LoadConfigurationSectionInternal(ConfigLoader configLoader, ServiceDescription description, ServiceElement serviceSection)
at System.ServiceModel.ServiceHostBase.ApplyConfiguration()
at System.ServiceModel.ServiceHostBase.InitializeDescription(UriSchemeKeyedCollection baseAddresses)
at System.ServiceModel.ServiceHost..ctor(Type serviceType, Uri[] baseAddresses)
at System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(Type serviceType, Uri[] baseAddresses)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
--- End of inner exception stack trace ---
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath, EventTraceActivity eventTraceActivity)
Process Name: w3wp
Process ID: 1312
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="System.ServiceModel 4.0.0.0" />
<EventID Qualifiers="49154">3</EventID>
<Level>2</Level>
<Task>5</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2017-11-23T01:36:49.000000000Z" />
<EventRecordID>102606</EventRecordID>
<Channel>Application</Channel>
<Computer>ASCSHFS01.ascendas.net</Computer>
<Security UserID="S-1-5-20" />
</System>
<EventData>
<Data>System.ServiceModel.ServiceHostingEnvironment+HostingManager/61669314</Data>
<Data>System.ServiceModel.ServiceActivationException: The service '/ClientWebService/client.asmx' cannot be activated due to an exception during compilation. The exception message is: Could not find a base address that matches scheme https for the endpoint with binding BasicHttpBinding. Registered base address schemes are [http].. ---> System.InvalidOperationException: Could not find a base address that matches scheme https for the endpoint with binding BasicHttpBinding. Registered base address schemes are [http].
at System.ServiceModel.ServiceHostBase.MakeAbsoluteUri(Uri relativeOrAbsoluteUri, Binding binding, UriSchemeKeyedCollection baseAddresses)
at System.ServiceModel.Description.ConfigLoader.LoadServiceDescription(ServiceHostBase host, ServiceDescription description, ServiceElement serviceElement, Action`1 addBaseAddress, Boolean skipHost)
at System.ServiceModel.ServiceHostBase.LoadConfigurationSectionInternal(ConfigLoader configLoader, ServiceDescription description, ServiceElement serviceSection)
at System.ServiceModel.ServiceHostBase.ApplyConfiguration()
at System.ServiceModel.ServiceHostBase.InitializeDescription(UriSchemeKeyedCollection baseAddresses)
at System.ServiceModel.ServiceHost..ctor(Type serviceType, Uri[] baseAddresses)
at System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(Type serviceType, Uri[] baseAddresses)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
--- End of inner exception stack trace ---
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)
at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath, EventTraceActivity eventTraceActivity)</Data>
<Data>w3wp</Data>
<Data>1312</Data>
</EventData>
</Event>----------------------------------------------------------------------------------------------------------------------------------------------参考了https://social.technet.microsoft.com/Forums/zh-CN/2b771b06-3468-4fdd-883c-959f34e8677a/wsuswsus?forum=winserver8zhcn
安装此知识库的设置,重启还是会有以上的报错。
全部回复
-
你好,
1. 我有印象在你之前提供的信息中提到,你的WSUS server是装在2012R2的DC上的,并且没有安装KB3159706。如果信息有误请及时指正;
2. 如果信息无误,并且问题出现在刚安装的WSUS server上,请检查以下这些设置:
1)在配置WSUS导向的时候,在"产品和分类"中是否勾选了“驱动”的分类,我们不建议勾选驱动这个分类,因为针对驱动的分类有很多,但是用到的却不多,这些驱动更新会占用大量的资源,不推荐用WSUS来部署,推荐单独安装驱动类更新。并且请只勾选你所需的产品和分类,不要下载过多无用的更新,特别是Office相关你却用不到的产品,这些产品占用资源也比较多;
2)请问在选择语言的时候是否只选择了所需语言;
3)请运行一下Server Cleanup Wizard,清理WSUS中无用信息。
4)如果你的WSUS server manager 已经完全打不开了,那建议您先重装WSUS server role, 然后在配置向导的时候注意我上面说的几点,看看这次是否可以奏效。
Best Regards,
Anne
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.- 已编辑 Anne HeMicrosoft contingent staff, Moderator 2017年11月24日 9:48
- 已建议为答案 Anne HeMicrosoft contingent staff, Moderator 2017年11月27日 2:52
-
你好,
请问上述回复对你有帮助吗,如果有的话,请将有用的回复标记为答案,如果你还有其他问题的话,欢迎反馈。
Best Regards,
Anne
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com. -
-
你好,
>语言包指的是系统的语言包吗?我只安装了默认的英文语言。
是的,建议只选英文。
>重装WSUS 角色,对下载好的补丁包会不会有影响?
重新安装WSUS 角色的时候我们建议将原来的组件全部移除:
1)移除WSUS role;
2) 删除WSUS content folder; IIS中的WSUS site
3) 删除C:\Windows\WID\Data 中的SUSDB.mdf和SUSDB_log.ldf, 删除之后建议安装SQL server management studio连接到WID,查看SUSDB是否真的被删除,如果没有话,右击SUSDB>detach.
https://www.microsoft.com/en-sg/download/details.aspx?id=29062
连到WID的步骤:
>重装WSUS 角色,对下载好的补丁包会不会有影响?需要重新下载吗?
如果按照上述方法重新安装,则需要全部重新下载。
Best Regards,
Anne
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.- 已建议为答案 Anne HeMicrosoft contingent staff, Moderator 2017年12月4日 2:58
-
你好,
先确保WSUS可以正常打开,然后我们来看KB3159706不适用的问题。
>是的KB3159706我安装的时候提示不匹配此电脑,我参考过https://support.microsoft.com/zh-cn/help/3159706/update-enables-esd-decryption-provision-in-wsus-in-windows-server-2012
请按照下面KB中的信息(点开file information>windows server 2012R2),检查WSUS server上对应的系统文件的版本,如果对应系统文件的版本大于或等于列出来的版本,那么我们不需要再安装KB3159706了,类似下图:
Best Regards,
Anne
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.- 已编辑 Anne HeMicrosoft contingent staff, Moderator 2017年11月29日 9:56
- 已建议为答案 Anne HeMicrosoft contingent staff, Moderator 2017年12月4日 2:58
-
你好,
请问上述回复对你有帮助吗,如果有的话请将有用的回复标记为答案,如果你还有其他问题的话,欢迎反馈。
Best Regards,
Anne
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.