NetTcpPortSharing 进程无法在 Windows Server 2012 R2 上启动

NetTcpPortSharing 进程无法在 Windows Server 2012 R2 上启动

我在 Windows Server 2012 R2 中遇到一个问题:我搜索并尝试了所有我所知道的方法来解决这个问题,但我无法启动 NetTcpPortSharing 服务,因此我无法配置 Windows Server Essentials Role 等等。

我有这些服务未启动:

  • gupdate(Google 更新)
  • 网络协议激活器
  • ADWS(不断重启(几个小时内重启了 115 次))
  • 服务端
  • 网络端口共享
  • 服务提供商注册中心
  • 网络管道激活器

我相信其中很多都依赖于 NetTcpPortSharing 服务。我已经在 Google 上搜索了一天,但什么也没找到。我尝试了 ProcessMonitor,但没有出现任何特殊错误。

该域名非常新,无法重新安装。我非常感谢大家的帮助,我不知道该怎么做(对于任何这些服务),任何帮助都非常感谢!

Une demande de démarrage du service a échoué.
 Code d'erreur : System.Configuration.ConfigurationErrorsException: Le type 'Microsoft.VisualStudio.Diagnostics.ServiceModelSink.Behavior, Microsoft.VisualStudio.Diagnostics.ServiceModelSink, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' inscrit pour l'extension 'Microsoft.VisualStudio.Diagnostics.ServiceModelSink.Behavior' n'a pas pu être chargé. (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config line 254)
   à System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult)
   à System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject)
   à System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
   à System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
   à System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
   à System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
   à System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
   à System.Configuration.ConfigurationManager.GetSection(String sectionName)
   à System.ServiceModel.Activation.AspNetEnvironment.UnsafeGetSectionFromConfigurationManager(String sectionPath)
   à System.ServiceModel.Configuration.ConfigurationHelpers.UnsafeGetAssociatedSection(ContextInformation evalContext, String sectionPath)
   à System.ServiceModel.Configuration.CommonBehaviorsSection.UnsafeGetSection()
   à System.ServiceModel.Description.ConfigLoader.LoadServiceDescription(ServiceHostBase host, ServiceDescription description, ServiceElement serviceElement, Action`1 addBaseAddress, Boolean skipHost)
   à System.ServiceModel.ServiceHostBase.LoadConfigurationSectionInternal(ConfigLoader configLoader, ServiceDescription description, ServiceElement serviceSection)
   à System.ServiceModel.ServiceHost.ApplyConfiguration()
   à System.ServiceModel.ServiceHostBase.InitializeDescription(UriSchemeKeyedCollection baseAddresses)
   à System.ServiceModel.ServiceHost..ctor(Type serviceType, Uri[] baseAddresses)
   à System.ServiceModel.Activation.SharingService.StartControlService()
   à System.ServiceModel.Activation.SharingService.Start()
   à System.ServiceModel.Activation.TcpPortSharing.OnStart(String[] args)
 Nom du processus : SMSvcHost
 ID du processus : 3736

--

 Application : Microsoft.ActiveDirectory.WebServices.exe
    Version du Framework : v4.0.30319
    Description : le processus a été arrêté en raison d'une exception non gérée.
    Informations sur l'exception : System.Configuration.ConfigurationErrorsException
    Pile :
       à System.Configuration.BaseConfigurationRecord.GetSectionRecursive(System.String, Boolean, Boolean, Boolean, Boolean, System.Object ByRef, System.Object ByRef)
       à System.Configuration.BaseConfigurationRecord.GetSection(System.String)
       à System.Configuration.ConfigurationManager.GetSection(System.String)
       à System.ServiceModel.Activation.AspNetEnvironment.UnsafeGetSectionFromConfigurationManager(System.String)
       à System.ServiceModel.Configuration.ConfigurationHelpers.UnsafeGetAssociatedSection(System.Configuration.ContextInformation, System.String)
       à System.ServiceModel.Configuration.CommonBehaviorsSection.UnsafeGetSection()
       à System.ServiceModel.Description.ConfigLoader.LoadServiceDescription(System.ServiceModel.ServiceHostBase, System.ServiceModel.Description.ServiceDescription, System.ServiceModel.Configuration.ServiceElement, System.Action`1<System.Uri>, Boolean)
       à System.ServiceModel.ServiceHostBase.LoadConfigurationSectionInternal(System.ServiceModel.Description.ConfigLoader, System.ServiceModel.Description.ServiceDescription, System.ServiceModel.Configuration.ServiceElement)
       à System.ServiceModel.ServiceHost.ApplyConfiguration()
       à System.ServiceModel.ServiceHostBase.InitializeDescription(System.ServiceModel.UriSchemeKeyedCollection)
       à System.ServiceModel.ServiceHost..ctor(System.Type, System.Uri[])
       à Microsoft.ActiveDirectory.WebServices.ADWSHost..ctor(System.Uri[])
       à Microsoft.ActiveDirectory.WebServices.ADWSHostFactory.CreateServiceHost(System.String, System.Uri[])
       à Microsoft.ActiveDirectory.WebServices.WindowsHostService.StartService(System.Object)
       à System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       à System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       à System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
       à System.Threading.ThreadHelper.ThreadStart(System.Object)

答案1

我终于找到了!由于我无法重新安装 .Net Framework(它会卸载太多角色),所以我用“困难”的方法做了这件事:我从安装了完全相同版本的 Windows 8.1 PC 中获取了一个 Microsoft.NET 文件夹,将其复制到那里,将权限更改为本地系统,然后您就可以开始:NetTcpPortSharing 然后所有其他服务都启动了!

相关内容