Eu tenho lidado com um problema com o serviço IIS. De vez em quando, ele para de funcionar para mim e é sempre o mesmo problema: o serviço IIS e os pools de aplicativos não são iniciados porque o serviço WAS não está sendo iniciado. E o WAS está falhando devido ao erro estranho: Windows could not start the Windows Process Activation Service service on Local Computer. Error 13: The data is invalid.
Hámuitobarulhonainternetsobreisso,masnadafuncionaparamim:
C:\Windows\System32\inetsrv\Config
resultaramapenasnacorrespondênciaexatadearquivosXMLválidosC:\inetpub\temp\apppools
estãotodasláAsoluçãoquefuncionouparamimfoifazerumaremoçãocompletadoIISedoWASereinicializarparareinstalarnovamente.Eufizissomuitasvezes.Noentanto,desdedoisdias,oproblemavoltouenãoconsigofazê-lofuncionarreinstalando-o.
Eutenholidoetentadocoisasdiferentesnainternet,masfiqueisempaciênciaparaconsertarissoagora.
AquiestáasériedeeventosqueacontecemquandotentoiniciaroIIS(emordemcrescente):
Eaquiestáumavisoqueacontecelogoapósoacima:
Tambémgostariadeacrescentarqueviumasériedeerrospoucoantesdeoproblemacomeçarontem:
Agora, a vez com a fonte: SMSvcHost 4.0.0.0
é um pouco interessante, pois tem esses detalhes:
A request to start the service failed.
Error Code: System.Configuration.ConfigurationErrorsException: The type 'Microsoft.VisualStudio.Diagnostics.ServiceModelSink.Behavior, Microsoft.VisualStudio.Diagnostics.ServiceModelSink, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' registered for extension 'Microsoft.VisualStudio.Diagnostics.ServiceModelSink.Behavior' could not be loaded. (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config line 247)
at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult)
at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at System.ServiceModel.Activation.AspNetEnvironment.UnsafeGetSectionFromConfigurationManager(String sectionPath)
at System.ServiceModel.Configuration.ConfigurationHelpers.UnsafeGetAssociatedSection(ContextInformation evalContext, String sectionPath)
at System.ServiceModel.Description.ConfigLoader.LookupCommonBehaviors(ContextInformation context)
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.SharingService.StartControlService()
at System.ServiceModel.Activation.SharingService.Start()
at System.ServiceModel.Activation.TcpPortSharing.OnStart(String[] args)
Process Name: SMSvcHost
Process ID: 3348
Ele está apontando para o machine.config, mas não entendo por que ele está reclamando. Eu pensei que estava procurando serviço SMB relacionado que eu não instalei no componente do Windows.
Estou preso a isso agora.
Tags windows-10 iis