web-dev-qa-db-ja.com

Windowsプロセスアクティブ化サービスが開始されていません-エラー13

IISバージョン10がWindows 10 Proバージョン1709にインストールされ、ビルド16299.125がインストールされています。

Windowsの更新後、IISが機能しなくなりました。WAS(Windowsプロセスアクティブ化サービス)を開始できないため、W3SVCが機能していないことがわかりました。WASを開始しようとすると、Windowsのディスプレイメッセージ:

Windowsは、ローカルコンピューターでWindowsプロセスアプリケーションサービスを開始できません。エラー13:データが無効です

Windowsイベントログを見ると、イベントID 5005、5215が原因でWASが開始されておらず、イベントID 7023が原因でサービスコントロールマネージャーが停止していることがわかります。

私はいくつかの調査を行い、多くのものを試しました:

  1. ここで提案されているコマンドを試しました https://stackoverflow.com/a/39969350/9146236

  2. これはIISログです:

    [12/26/2017 17:36:37] [ ***** IIS 10.0 Component Based Setup ***** ]
    [12/26/2017 17:36:37] .\inetsrv\iissetup.exe  /install SharedLibraries /nano 
    [12/26/2017 17:36:37] Setting Installation Type to Nano
    [12/26/2017 17:36:37] Successfully added IIS_IUSRS ACE to DACL at %ProgramData%\Microsoft\Windows\WER\ReportQueue.
    [12/26/2017 17:36:38] < !!FAIL!! > Failed to create the NetFrameworkConfigurationKey key container (result=0x8009000f)
    [12/26/2017 17:36:38] < !!FAIL!! > Install of component SharedLibraries result=0x8009000f
    [12/26/2017 17:36:38] < !!FAIL!! > COMPONENT::ExecuteCommand result=0x8009000f
    [12/26/2017 17:36:38] [ End of IIS 10.0 Component Based Setup ]
    
  3. 私はプロセスモニターを実行し、WASとinetsrvに関する情報を取得しました。

    17:36:37,8212043    conhost.exe 10620   FASTIO_NETWORK_QUERY_OPEN   C:\WINDOWS\inetsrv\iissetup.exe  \install SharedLibraries \nano FAST IO DISALLOWED  
    17:36:37,8212488    conhost.exe 10620   IRP_MJ_CREATE   C:\WINDOWS\inetsrv\iissetup.exe  \install SharedLibraries \nano PATH NOT FOUND  Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
    

    そして:

    18:15:01,5512834    services.exe    668 RegOpenKey  HKLM\System\CurrentControlSet\Services\WAS\StartOverride    NAME NOT FOUND  Desired Access: Query Value
    18:15:01,5512974    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\Start    SUCCESS Type: REG_DWORD, Length: 4, Data: 2
    18:15:01,5513106    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\Start    SUCCESS Type: REG_DWORD, Length: 4, Data: 2
    18:15:01,5513231    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\ErrorControl SUCCESS Type: REG_DWORD, Length: 4, Data: 1
    18:15:01,5513423    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\ServiceAccountManaged    NAME NOT FOUND  Length: 16
    18:15:01,5513567    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\Tag  NAME NOT FOUND  Length: 16
    18:15:01,5513702    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\DependOnService  SUCCESS Type: REG_MULTI_SZ, Length: 14, Data: RPCSS
    18:15:01,5513853    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\DependOnGroup    NAME NOT FOUND  Length: 268
    18:15:01,5513984    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\Group    NAME NOT FOUND  Length: 268
    18:15:01,5514261    services.exe    668 RegCloseKey HKLM\System\CurrentControlSet\Services\WAS  SUCCESS 
    18:15:01,5514382    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\ObjectName   SUCCESS Type: REG_SZ, Length: 24, Data: LocalSystem
    18:15:01,5514521    services.exe    668 RegCloseKey HKLM\System\CurrentControlSet\Services\WAS  SUCCESS 
    18:15:01,5536911    services.exe    668 RegOpenKey  HKLM\System\CurrentControlSet\Services\WAS  SUCCESS Desired Access: Read
    18:15:01,5537284    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\ImagePath    SUCCESS Type: REG_EXPAND_SZ, Length: 82, Data: %windir%\system32\svchost.exe -k iissvcs
    18:15:01,5537600    services.exe    668 RegOpenKey  HKLM\System\CurrentControlSet\Services\WAS  SUCCESS Desired Access: Read
    18:15:01,5537823    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\Type SUCCESS Type: REG_DWORD, Length: 4, Data: 32
    18:15:01,5538039    services.exe    668 RegOpenKey  HKLM\System\CurrentControlSet\Services\WAS\StartOverride    NAME NOT FOUND  Desired Access: Query Value
    18:15:01,5538226    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\Start    SUCCESS Type: REG_DWORD, Length: 4, Data: 2
    18:15:01,5538653    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\Start    SUCCESS Type: REG_DWORD, Length: 4, Data: 2
    18:15:01,5539450    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\ErrorControl SUCCESS Type: REG_DWORD, Length: 4, Data: 1
    18:15:01,5539612    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\ServiceAccountManaged    NAME NOT FOUND  Length: 16
    18:15:01,5539751    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\Tag  NAME NOT FOUND  Length: 16
    18:15:01,5539893    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\DependOnService  SUCCESS Type: REG_MULTI_SZ, Length: 14, Data: RPCSS
    18:15:01,5540060    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\DependOnGroup    NAME NOT FOUND  Length: 268
    18:15:01,5540468    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\Group    NAME NOT FOUND  Length: 26818:15:03,2385240 services.exe    668 RegOpenKey  HKLM\System\CurrentControlSet\Services\WAS  SUCCESS Desired Access: Read
    18:15:03,2385446    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\ImagePath    SUCCESS Type: REG_EXPAND_SZ, Length: 82, Data: %windir%\system32\svchost.exe -k iissvcs
    18:15:03,2385633    services.exe    668 RegOpenKey  HKLM\System\CurrentControlSet\Services\WAS  SUCCESS Desired Access: Read
    18:15:03,2385750    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\Type SUCCESS Type: REG_DWORD, Length: 4, Data: 32
    18:15:03,2385854    services.exe    668 RegOpenKey  HKLM\System\CurrentControlSet\Services\WAS\StartOverride    NAME NOT FOUND  Desired Access: Query Value
    18:15:03,2385945    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\Start    SUCCESS Type: REG_DWORD, Length: 4, Data: 2
    18:15:03,2386025    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\Start    SUCCESS Type: REG_DWORD, Length: 4, Data: 2
    18:15:03,2386100    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\ErrorControl SUCCESS Type: REG_DWORD, Length: 4, Data: 1
    18:15:03,2386170    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\ServiceAccountManaged    NAME NOT FOUND  Length: 16
    18:15:03,2386239    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\Tag  NAME NOT FOUND  Length: 16
    18:15:03,2386313    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\DependOnService  SUCCESS Type: REG_MULTI_SZ, Length: 14, Data: RPCSS
    18:15:03,2386393    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\DependOnGroup    NAME NOT FOUND  Length: 268
    18:15:03,2386465    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\Group    NAME NOT FOUND  Length: 268
    18:15:03,2386641    services.exe    668 RegCloseKey HKLM\System\CurrentControlSet\Services\WAS  SUCCESS 
    18:15:03,2386715    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\ObjectName   SUCCESS Type: REG_SZ, Length: 24, Data: LocalSystem
    18:15:03,2386888    services.exe    668 RegCloseKey HKLM\System\CurrentControlSet\Services\WAS  SUCCESS 18:15:03,2653344    services.exe    668 RegOpenKey  HKLM\System\CurrentControlSet\Services\WAS  SUCCESS Desired Access: Read
    18:15:03,2653643    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\FailureActions   SUCCESS Type: REG_BINARY, Length: 44, Data: 80 51 01 00 01 00 00 00 01 00 00 00 03 00 00 00
    18:15:03,2653871    services.exe    668 RegCloseKey HKLM\System\CurrentControlSet\Services\WAS  SUCCESS 
    18:15:03,2653989    services.exe    668 RegOpenKey  HKLM\System\CurrentControlSet\Services\WAS  SUCCESS Desired Access: Read
    18:15:03,2654100    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\ImagePath    SUCCESS Type: REG_EXPAND_SZ, Length: 82, Data: %windir%\system32\svchost.exe -k iissvcs
    18:15:03,2654259    services.exe    668 RegCloseKey HKLM\System\CurrentControlSet\Services\WAS  SUCCESS 
    18:15:03,2654436    services.exe    668 RegOpenKey  HKLM\System\CurrentControlSet\Services\WAS  SUCCESS Desired Access: Read
    18:15:03,2654637    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\SvcHostSplitDisable  SUCCESS Type: REG_DWORD, Length: 4, Data: 1
    18:15:03,2654801    services.exe    668 RegCloseKey HKLM\System\CurrentControlSet\Services\WAS  SUCCESS 
    18:15:03,2655908    services.exe    668 RegOpenKey  HKLM\System\CurrentControlSet\Services\WAS  SUCCESS Desired Access: Read
    18:15:03,2656137    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\ObjectName   SUCCESS Type: REG_SZ, Length: 24, Data: LocalSystem
    18:15:03,2656275    services.exe    668 RegCloseKey HKLM\System\CurrentControlSet\Services\WAS  SUCCESS 
    18:15:03,2679162    services.exe    668 RegOpenKey  HKLM\System\CurrentControlSet\Services\WAS  SUCCESS Desired Access: Read
    18:15:03,2679292    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\Environment  NAME NOT FOUND  Length: 268
    18:15:03,2679395    services.exe    668 RegCloseKey HKLM\System\CurrentControlSet\Services\WAS  SUCCESS 
    18:15:03,2813183    csrss.exe   452 IRP_MJ_CREATE   C:\Windows\System32\svchost.exe.Config  NAME NOT FOUND  Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a, Impersonating: AUTORIDADE NT\SISTEMA
    18:15:03,2816062    services.exe    668 RegOpenKey  HKLM\System\CurrentControlSet\Services\WAS  SUCCESS Desired Access: Read
    18:15:03,2816175    services.exe    668 RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\RequiredPrivileges   BUFFER OVERFLOW Length: 268
    18:15:03,3401656    svchost.exe 9232    RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\Parameters\ServiceDll    SUCCESS Type: REG_EXPAND_SZ, Length: 78, Data: %windir%\system32\inetsrv\iisw3adm.dll
    18:15:03,3401959    svchost.exe 9232    RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\Parameters\ServiceManifest   NAME NOT FOUND  Length: 144
    18:15:03,3402112    svchost.exe 9232    RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\Parameters\ServiceMain   NAME NOT FOUND  Length: 144
    18:15:03,3403389    svchost.exe 9232    FASTIO_NETWORK_QUERY_OPEN   C:\Windows\System32\inetsrv\iisw3adm.dll    FAST IO DISALLOWED  
    18:15:03,3404363    svchost.exe 9232    IRP_MJ_CREATE   C:\Windows\System32\inetsrv\iisw3adm.dll    SUCCESS Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
    18:15:03,3404750    svchost.exe 9232    FASTIO_QUERY_INFORMATION    C:\Windows\System32\inetsrv\iisw3adm.dll    SUCCESS Type: QueryBasicInformationFile, CreationTime: 29/09/2017 11:43:11, LastAccessTime: 30/09/2017 13:20:35, LastWriteTime: 30/09/2017 13:20:35, ChangeTime: 12/12/2017 19:37:41, FileAttributes: A
    18:15:03,3404911    svchost.exe 9232    IRP_MJ_CLEANUP  C:\Windows\System32\inetsrv\iisw3adm.dll    SUCCESS 
    18:15:03,3405070    svchost.exe 9232    IRP_MJ_CLOSE    C:\Windows\System32\inetsrv\iisw3adm.dll    SUCCESS 
    18:15:03,3406013    svchost.exe 9232    IRP_MJ_CREATE   C:\Windows\System32\inetsrv\iisw3adm.dll    SUCCESS Desired Access: Read Data/List Directory, Execute/Traverse, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a, OpenResult: Opened
    18:15:03,3406564    svchost.exe 9232    FASTIO_ACQUIRE_FOR_SECTION_SYNCHRONIZATION  C:\Windows\System32\inetsrv\iisw3adm.dll    FILE LOCKED WITH ONLY READERS   SyncType: SyncTypeCreateSection, PageProtection: PAGE_EXECUTE_READ|PAGE_NOCACHE
    18:15:03,3406942    svchost.exe 9232    FASTIO_RELEASE_FOR_SECTION_SYNCHRONIZATION  C:\Windows\System32\inetsrv\iisw3adm.dll    SUCCESS 
    18:15:03,3407476    svchost.exe 9232    FASTIO_ACQUIRE_FOR_SECTION_SYNCHRONIZATION  C:\Windows\System32\inetsrv\iisw3adm.dll    SUCCESS SyncType: SyncTypeOther
    18:15:03,3775143    svchost.exe 9232    FASTIO_QUERY_INFORMATION    C:\Windows\System32\inetsrv\iisres.dll  SUCCESS Type: QueryBasicInformationFile, CreationTime: 29/09/2017 11:43:11, LastAccessTime: 30/09/2017 13:20:31, LastWriteTime: 30/09/2017 13:20:31, ChangeTime: 12/12/2017 19:37:41, FileAttributes: A
    18:15:03,3775266    svchost.exe 9232    IRP_MJ_CLEANUP  C:\Windows\System32\inetsrv\iisres.dll  SUCCESS 
    18:15:03,3775415    svchost.exe 9232    IRP_MJ_CLOSE    C:\Windows\System32\inetsrv\iisres.dll  SUCCESS 
    18:15:03,3776336    svchost.exe 9232    IRP_MJ_CREATE   C:\Windows\System32\inetsrv\iisres.dll  SUCCESS Desired Access: Read Data/List Directory, Execute/Traverse, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a, OpenResult: Opened
    18:15:03,3776866    svchost.exe 9232    FASTIO_ACQUIRE_FOR_SECTION_SYNCHRONIZATION  C:\Windows\System32\inetsrv\iisres.dll  FILE LOCKED WITH ONLY READERS   SyncType: SyncTypeCreateSection, PageProtection: PAGE_EXECUTE_READ|PAGE_NOCACHE
    18:15:03,3777529    svchost.exe 9232    FASTIO_RELEASE_FOR_SECTION_SYNCHRONIZATION  C:\Windows\System32\inetsrv\iisres.dll  SUCCESS 
    18:15:03,3777646    svchost.exe 9232    FASTIO_ACQUIRE_FOR_SECTION_SYNCHRONIZATION  C:\Windows\System32\inetsrv\iisres.dll  SUCCESS SyncType: SyncTypeOther
    18:15:03,3777740    svchost.exe 9232    FASTIO_RELEASE_FOR_SECTION_SYNCHRONIZATION  C:\Windows\System32\inetsrv\iisres.dll  SUCCESS 
    18:15:03,3778576    svchost.exe 9232    Load Image  C:\Windows\System32\inetsrv\iisres.dll  SUCCESS Image Base: 0x25f14650000, Image Size: 0x3b000
    18:15:03,3778931    svchost.exe 9232    IRP_MJ_CLEANUP  C:\Windows\System32\inetsrv\iisres.dll  SUCCESS 
    18:15:03,3779127    svchost.exe 9232    IRP_MJ_CLOSE    C:\Windows\System32\inetsrv\iisres.dll  SUCCESS 
    18:15:03,3781217    svchost.exe 9232    FASTIO_NETWORK_QUERY_OPEN   C:\Windows\System32\inetsrv\CRYPTSP.dll FAST IO DISALLOWED  
    18:15:03,3782051    svchost.exe 9232    IRP_MJ_CREATE   C:\Windows\System32\inetsrv\CRYPTSP.dll NAME NOT FOUND  Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
    18:15:03,3823147    svchost.exe 9232    RegOpenKey  HKLM\Software\Microsoft\InetStp\Configuration   NAME NOT FOUND  Desired Access: Read
    18:15:03,3835549    svchost.exe 9232    IRP_MJ_QUERY_INFORMATION    C:\Windows\System32\inetsrv\iisw3adm.dll    SUCCESS Type: QueryNameInformationFile, Name: \Windows\System32\inetsrv\iisw3adm.dll
    18:15:03,3858351    svchost.exe 9232    RegCloseKey HKLM\System\CurrentControlSet\Services\WAS\Parameters   SUCCESS 
    18:15:03,3896142    svchost.exe 9232    RegOpenKey  HKLM\System\CurrentControlSet\Control\Cryptography\Configuration    REPARSE Desired Access: Read
    18:15:03,3896269    svchost.exe 9232    RegOpenKey  HKLM\System\CurrentControlSet\Control\Cryptography\Configuration    SUCCESS Desired Access: Read
    18:15:03,3896479    svchost.exe 9232    RegCloseKey HKLM\System\CurrentControlSet\Control\Cryptography\Configuration    SUCCESS 
    18:15:03,3901094    svchost.exe 9232    RegOpenKey  HKLM\System\CurrentControlSet\Services\WAS\Parameters   REPARSE Desired Access: Read
    18:15:03,3901180    svchost.exe 9232    RegOpenKey  HKLM\System\CurrentControlSet\Services\WAS\Parameters   SUCCESS Desired Access: Read
    18:15:03,3901349    svchost.exe 9232    RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\Parameters\StartupWaitHintInMilliseconds NAME NOT FOUND  Length: 144
    18:15:03,3901432    svchost.exe 9232    RegCloseKey HKLM\System\CurrentControlSet\Services\WAS\Parameters   SUCCESS 
    18:15:03,3918415    svchost.exe 9232    RegOpenKey  HKLM\System\CurrentControlSet\Services\WAS\Parameters\SystemSettings    REPARSE Desired Access: Read
    18:15:03,3918597    svchost.exe 9232    RegOpenKey  HKLM\System\CurrentControlSet\Services\WAS\Parameters\SystemSettings    NAME NOT FOUND  Desired Access: Read
    18:15:03,3919820    svchost.exe 9232    RegOpenKey  HKU\.DEFAULT\Control Panel\Desktop\MuiCached\MachineLanguageConfiguration   NAME NOT FOUND  Desired Access: Read
    18:15:03,3920564    svchost.exe 9232    RegOpenKey  HKU\.DEFAULT\Control Panel\Desktop\LanguageConfiguration    NAME NOT FOUND  Desired Access: Read
    18:15:03,3923861    svchost.exe 9232    RegOpenKey  HKLM\System\CurrentControlSet\Control\CMF\Config    REPARSE Desired Access: Read
    18:15:03,3924044    svchost.exe 9232    RegOpenKey  HKLM\System\CurrentControlSet\Control\CMF\Config    SUCCESS Desired Access: Read
    18:15:03,3924200    svchost.exe 9232    RegQueryValue   HKLM\System\CurrentControlSet\Control\CMF\Config\SYSTEM SUCCESS Type: REG_DWORD, Length: 4, Data: 3
    18:15:03,3924301    svchost.exe 9232    RegCloseKey HKLM\System\CurrentControlSet\Control\CMF\Config    SUCCESS 
    18:15:03,3933736    svchost.exe 9232    RegOpenKey  HKLM\System\CurrentControlSet\Services\WAS\Parameters   REPARSE Desired Access: Read
    18:15:03,3933830    svchost.exe 9232    RegOpenKey  HKLM\System\CurrentControlSet\Services\WAS\Parameters   SUCCESS Desired Access: Read
    18:15:03,3934030    svchost.exe 9232    RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\Parameters\ConfigIsolationEnabled    NAME NOT FOUND  Length: 144
    18:15:03,3934123    svchost.exe 9232    RegCloseKey HKLM\System\CurrentControlSet\Services\WAS\Parameters   SUCCESS 
    18:15:03,3934378    svchost.exe 9232    RegOpenKey  HKLM\System\CurrentControlSet\Services\WAS\Parameters   REPARSE Desired Access: Read
    18:15:03,3934459    svchost.exe 9232    RegOpenKey  HKLM\System\CurrentControlSet\Services\WAS\Parameters   SUCCESS Desired Access: Read
    18:15:03,3934669    svchost.exe 9232    RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\Parameters\ConfigIsolationPath   NAME NOT FOUND  Length: 144
    18:15:03,3934998    svchost.exe 9232    RegCloseKey HKLM\System\CurrentControlSet\Services\WAS\Parameters   SUCCESS 
    18:15:03,3935441    svchost.exe 9232    RegOpenKey  HKLM\System\CurrentControlSet\Services\WAS\Parameters   REPARSE Desired Access: Read
    18:15:03,3935527    svchost.exe 9232    RegOpenKey  HKLM\System\CurrentControlSet\Services\WAS\Parameters   SUCCESS Desired Access: Read
    18:15:03,3935692    svchost.exe 9232    RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\Parameters\ConfigIsolationSectionsExcluded   NAME NOT FOUND  Length: 144
    18:15:03,3935944    svchost.exe 9232    RegCloseKey HKLM\System\CurrentControlSet\Services\WAS\Parameters   SUCCESS 
    18:15:03,3936177    svchost.exe 9232    RegOpenKey  HKLM\System\CurrentControlSet\Services\WAS\Parameters   REPARSE Desired Access: Read
    18:15:03,3936258    svchost.exe 9232    RegOpenKey  HKLM\System\CurrentControlSet\Services\WAS\Parameters   SUCCESS Desired Access: Read
    18:15:03,3936412    svchost.exe 9232    RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\Parameters\ConfigIsolationSectionsIncluded   NAME NOT FOUND  Length: 144
    18:15:03,3936638    svchost.exe 9232    RegCloseKey HKLM\System\CurrentControlSet\Services\WAS\Parameters   SUCCESS 
    18:15:03,3941436    svchost.exe 9232    RegOpenKey  HKLM\System\CurrentControlSet\Services\WAS\Parameters   REPARSE Desired Access: Read
    18:15:03,3941577    svchost.exe 9232    RegOpenKey  HKLM\System\CurrentControlSet\Services\WAS\Parameters   SUCCESS Desired Access: Read
    18:15:03,3942278    svchost.exe 9232    RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\Parameters\CreateSharedMachineKeyLocation    NAME NOT FOUND  Length: 144
    18:15:03,3942367    svchost.exe 9232    RegCloseKey HKLM\System\CurrentControlSet\Services\WAS\Parameters   SUCCESS 
    18:15:03,3942772    svchost.exe 9232    RegOpenKey  HKLM\SYSTEM\CurrentControlSet\Services\WAS\Parameters\  REPARSE Desired Access: Read/Write
    18:15:03,3942864    svchost.exe 9232    RegOpenKey  HKLM\System\CurrentControlSet\Services\WAS\Parameters   SUCCESS Desired Access: Read/Write
    18:15:03,3943192    svchost.exe 9232    RegQueryValue   HKLM\System\CurrentControlSet\Services\WAS\Parameters\NanoSetup SUCCESS Type: REG_DWORD, Length: 4, Data: 1
    18:15:03,3982593    svchost.exe 2848    IRP_MJ_DIRECTORY_CONTROL    C:\Windows\System32\inetsrv\Config  SUCCESS Type: NotifyChangeDirectory, Filter: FILE_NOTIFY_CHANGE_FILE_NAME, FILE_NOTIFY_CHANGE_DIR_NAME, FILE_NOTIFY_CHANGE_SIZE, FILE_NOTIFY_CHANGE_LAST_WRITE, FILE_NOTIFY_CHANGE_CREATION, FILE_NOTIFY_CHANGE_EA, FILE_NOTIFY_CHANGE_SECURITY, FILE_NOTIFY_CHANGE_STREAM_NAME, FILE_NOTIFY_CHANGE_STREAM_SIZE, FILE_NOTIFY_CHANGE_STREAM_WRITE
    18:15:03,3982841    svchost.exe 2848    IRP_MJ_DIRECTORY_CONTROL    C:\Windows\System32\inetsrv\Config  SUCCESS Type: NotifyChangeDirectory, Filter: FILE_NOTIFY_CHANGE_FILE_NAME, FILE_NOTIFY_CHANGE_DIR_NAME, FILE_NOTIFY_CHANGE_SIZE, FILE_NOTIFY_CHANGE_LAST_WRITE, FILE_NOTIFY_CHANGE_CREATION, FILE_NOTIFY_CHANGE_EA, FILE_NOTIFY_CHANGE_SECURITY, FILE_NOTIFY_CHANGE_STREAM_NAME, FILE_NOTIFY_CHANGE_STREAM_SIZE, FILE_NOTIFY_CHANGE_STREAM_WRITE
    18:15:03,3983025    svchost.exe 2848    IRP_MJ_DIRECTORY_CONTROL    C:\Windows\System32\inetsrv\Config  SUCCESS Type: NotifyChangeDirectory, Filter: FILE_NOTIFY_CHANGE_FILE_NAME, FILE_NOTIFY_CHANGE_DIR_NAME, FILE_NOTIFY_CHANGE_SIZE, FILE_NOTIFY_CHANGE_LAST_WRITE, FILE_NOTIFY_CHANGE_CREATION, FILE_NOTIFY_CHANGE_EA, FILE_NOTIFY_CHANGE_SECURITY, FILE_NOTIFY_CHANGE_STREAM_NAME, FILE_NOTIFY_CHANGE_STREAM_SIZE, FILE_NOTIFY_CHANGE_STREAM_WRITE
    18:15:03,3983194    svchost.exe 2848    IRP_MJ_DIRECTORY_CONTROL    C:\Windows\System32\inetsrv\Config  SUCCESS Type: NotifyChangeDirectory, Filter: FILE_NOTIFY_CHANGE_FILE_NAME, FILE_NOTIFY_CHANGE_DIR_NAME, FILE_NOTIFY_CHANGE_SIZE, FILE_NOTIFY_CHANGE_LAST_WRITE, FILE_NOTIFY_CHANGE_CREATION, FILE_NOTIFY_CHANGE_EA, FILE_NOTIFY_CHANGE_SECURITY, FILE_NOTIFY_CHANGE_STREAM_NAME, FILE_NOTIFY_CHANGE_STREAM_SIZE, FILE_NOTIFY_CHANGE_STREAM_WRITE
    18:15:03,3983318    svchost.exe 2848    IRP_MJ_DIRECTORY_CONTROL    C:\Windows\System32\inetsrv\Config  SUCCESS Type: NotifyChangeDirectory, Filter: FILE_NOTIFY_CHANGE_FILE_NAME, FILE_NOTIFY_CHANGE_DIR_NAME, FILE_NOTIFY_CHANGE_SIZE, FILE_NOTIFY_CHANGE_LAST_WRITE, FILE_NOTIFY_CHANGE_CREATION, FILE_NOTIFY_CHANGE_EA, FILE_NOTIFY_CHANGE_SECURITY, FILE_NOTIFY_CHANGE_STREAM_NAME, FILE_NOTIFY_CHANGE_STREAM_SIZE, FILE_NOTIFY_CHANGE_STREAM_WRITE
    18:15:03,3983416    svchost.exe 2848    IRP_MJ_DIRECTORY_CONTROL    C:\Windows\System32\inetsrv\Config  SUCCESS Type: NotifyChangeDirectory, Filter: FILE_NOTIFY_CHANGE_FILE_NAME, FILE_NOTIFY_CHANGE_DIR_NAME, FILE_NOTIFY_CHANGE_SIZE, FILE_NOTIFY_CHANGE_LAST_WRITE, FILE_NOTIFY_CHANGE_CREATION, FILE_NOTIFY_CHANGE_EA, FILE_NOTIFY_CHANGE_SECURITY, FILE_NOTIFY_CHANGE_STREAM_NAME, FILE_NOTIFY_CHANGE_STREAM_SIZE, FILE_NOTIFY_CHANGE_STREAM_WRITE
    18:15:03,4167740    csrss.exe   452 IRP_MJ_CREATE   C:\Windows\System32\cmd.exe.Config  NAME NOT FOUND  Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a, Impersonating: AUTORIDADE NT\SISTEMA
    18:15:03,4259260    System  4   IRP_MJ_CREATE   C:\Windows\System32\inetsrv\iissetup.exe    SUCCESS Desired Access: Read Data/List Directory, Execute/Traverse, Read Attributes, Disposition: Open, Options: Non-Directory File, Complete If Oplocked, Attributes: N, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
    18:15:03,4260443    System  4   IRP_MJ_SET_INFORMATION  C:\Windows\System32\inetsrv\iissetup.exe    SUCCESS Type: SetBasicInformationFile, CreationTime: -1, LastAccessTime: -1, LastWriteTime: -1, ChangeTime: -1, FileAttributes: n/a
    18:15:03,4260568    System  4   IRP_MJ_QUERY_INFORMATION    C:\Windows\System32\inetsrv\iissetup.exe    SUCCESS Type: QueryAttributeTagFile, Attributes: A, ReparseTag: 0x0
    18:15:03,4260658    System  4   IRP_MJ_QUERY_INFORMATION    C:\Windows\Sys
    

どうすれば修正できますか?

9
André Luchesi

IISとWindowsプロセスアクティブ化サービスを実行しています。アプリケーションをテストしたところ、問題ありません。

修正方法:

1)IISのバックアップ

手順:

https://brainstorage.wordpress.com/2014/07/24/backuprestore-iis-8-configuration/http://tritoneco.com/2015/09/02/backup -and-restore-iis-to-another-server /

2)アンインストールIISおよびWAS

手順:

http://eddiejackson.net/wp/?p=14378

3)インストールIISおよびWAS

4)IISを復元する

アプリケーションに適用される可能性のあるソフトウェアバージョン、証明書、およびログインに関する重要な指示が含まれているため、この修正に進む前に、リストされているソースをお読みください。

敬具、アンドレ

3
André Luchesi

この障害は、WASが古いOSから残っているマシンキーにアクセスできなかったことが原因であると思われました。これらのマシンキーは、applicationHost.configまたはweb.config内の機密情報(ユーザーパスワードや接続文字列など)を暗号化するために使用されます。これらのキーを削除し、WASに再生成させると、副次的な影響で問題を解決できます。

以前に暗号化された構成(OSアップグレード前)がある場合、WASは新しいキーを使用して元の構成(古いキーで暗号化されたもの)を復号化できないため、再構成および再暗号化する必要があります。

古いマシンキーを削除する手順は次のとおりです。

  1. RSAマシンキーフォルダーに移動します:C:\ Users\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys

  2. 名前がd6d986f09a1ee04e24c949879fdb506c_ *で始まるマシンキー(ファイル)を見つけます。メモ帳を使用して開くと、「NetFrameworkConfigurationKey」というプレーンテキストが表示されます。

  3. このファイルを他のフォルダにバックアップします。

  4. このファイルを削除します。

  5. 2-4と同じ手順に従って、iisWasKeyをバックアップおよび削除します:76944fb33636aeddb9590521c2e8815a_ *

  6. 2-4と同じ手順に従って、iisConfigurationKeyをバックアップおよび削除します。6de9cb26d2b98c01ec4e9e8b34824aa2_ *

  7. WASを手動で開始する

    • 「管理者として実行」からコマンドプロンプトを開きます。
    • ネットスタートは
3
Yanbing Shi

私の問題は、IISとブラウザを使用してハードウェアフィールドデバイスを構成するアプリケーションです。アプリケーションをアンインストールしてオフにするIISその後修復するIISこの問題は修正されました。次に、再アクティブ化IISして、アプリケーションを再度インストールします。今すぐ機能します。

0
Michael

Yanbing Shi答えは結構です。私は(ここ: https://turbo.net/containers/[email protected]/a14c597b11c74b37be92934ee1fc83a6 )このスクリプト(彼の回答に基づく)が非常に役立つことを発見しました。これをCMDで管理者権限で実行します:

if exist "C:\Windows\system32\inetsrv\inetmgr.exe" (
rem clear out old keys  
del 
"C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\76944fb33636aeddb9590521c2e8815a*" 
/Q/A  
del 
"C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\6de9cb26d2b98c01ec4e9e8b34824aa2*" 
/Q/A  
del 
"C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\7a436fe806e483969f48a894af2fe9a1*" 
/Q/A  
del 
"C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\bedbf0b4da5f8061b6444baedf4c00b1*" 
/Q/A  
del 
"C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\c2319c42033a5ca7f44e731bfd3fa2b5*" 
/Q/A  
del 
"C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\d6d986f09a1ee04e24c949879fdb506c*" 
/Q/A  
rem import new keys  
if exist "C:\Windows\Microsoft.net\framework64\v2.0.50727\aspnet_regiis.exe" (pushd 
"C:\Windows\Microsoft.net\framework64\v2.0.50727" )  else (if exist 
"C:\Windows\Microsoft.net\framework\v2.0.50727\aspnet_regiis.exe" (pushd 
"C:\Windows\Microsoft.net\framework\v2.0.50727" )  else (if exist 
"C:\Windows\Microsoft.net\framework64\v4.0.30319\aspnet_regiis.exe" (pushd 
"C:\Windows\Microsoft.net\framework64\v4.0.30319" )  else (if exist 
"C:\Windows\Microsoft.net\framework\v4.0.30319\aspnet_regiis.exe" (pushd 
"C:\Windows\Microsoft.net\framework\v4.0.30319" )  else (
echo ERROR: cannot find .NET Framework  
exit /b 1 
) ) ) )  
aspnet_regiis.exe -pi "iisConfigurationKey" "c:\iis-init\iisConfigurationKey.xml"  
aspnet_regiis.exe -pi "iisWasKey" "c:\iis-init\iisWasKey.xml"  
aspnet_regiis.exe -pi "MS IIS DCOM Server" "c:\iis-init\MSIISDCOMServer.xml"  
aspnet_regiis.exe -pi "WMSvc Certificate Key Container" 
"C:\init\WMSvcCertificateKeyContainer.xml"  
aspnet_regiis.exe -pi "Microsoft Internet Information Server" "c:\iis- 
init\MicrosoftInternetInformationServer.xml"  
aspnet_regiis.exe -pi "NetFrameworkConfigurationKey" "c:\iis- 
init\NetFrameworkConfigurationKey.xml"  
popd 
rem start iis  
net start w3svc 
)  else (
echo ERROR: cannot find C:\Windows\system32\inetsrv\inetmgr.exe  
exit /b 1 
) 
0
izio