我在Windows 2012 R2中有一个问题:我已经搜索并尝试了我所知道的一切来解决这个问题,但是我不能启动NetTcpPortSharing服务,因此我不能配置Windows角色等等。
我的这些服务还没有开始:
我相信,他们中的很多人都依赖NetTcpPortSharing服务。我在谷歌上搜索了一天却什么都没找到。我尝试了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)发布于 2015-02-07 10:14:55
我终于找到了!由于我无法重新安装.Net框架(它会卸载太多角色),所以我采用了“硬”的方式:我从安装了完全相同版本的Windows8.1 PC上取出一个Microsoft.NET文件夹,在那里复制它,将权限更改到本地系统,然后您就可以了: NetTcpPortSharing,然后所有其他服务都启动了!
https://serverfault.com/questions/664193
复制相似问题