1

在Windows 10中使用了Visual Studio Community Edition。 ASP.NET MVC 4應用程序使用由Visual Studio安裝的IIS Express以調試模式運行。如何解決無法檢索用戶IIS的組信息APPPOOL DefaultAppPool

升級到Windows 10 anniversity版失敗,錯誤

0xc1900101 - 0x30018 安裝在FIRST_BOOT階段未能使用Sysprep操作過程中出現錯誤。

Windows setuperr.log文件如下。 在日誌的最後一行包含

Can't retrieve group information for user IIS APPPOOL\DefaultAppPool. 

根據https://social.technet.microsoft.com/Forums/windows/en-US/b8d1f70b-c631-4de9-8dd2-844ef8d0d7c7/how-to-fix-0xc19001010x30018-error-upgrading-to-anniversity-edition?forum=win10itprosetup

是是沒有升級的原因。 如何解決這個問題?是可以刪除或修復Visual Studio IIS APPPOOL \ DefaultAppPool帳戶,以便Visual Studio繼續工作。

我還沒有在Visual Studio或其他地方找到任何GUI。

2016-09-27 00:47:32, Error  [0x0803b6] MIG Can't retrieve group information for user IIS APPPOOL\DefaultAppPool. NetUserGetLocalGroups failed 0x000008AD 
2016-09-27 00:47:36, Error     SP  pSPRemoveUpgradeRegTree: failed to delete reg tree HKLM\SYSTEM\Setup\Upgrade[gle=0x00000005] 
2016-09-27 00:47:45, Error  [0x0803b6] MIG Can't retrieve group information for user IIS APPPOOL\DefaultAppPool. NetUserGetLocalGroups failed 0x000008AD 
2016-09-27 00:47:48, Error  [0x080831] MIG CSIAgent: Invalid xml format: FormatException: "id" attribute is mandatory. void __cdecl Mig::CMXEMigrationXml::LoadSupportedComponent(class UnBCL::XmlNode *,int,class Mig::CMXEMigrationXml *,class Mig::CMXEXmlComponent *) 
2016-09-27 00:48:04, Error     CSI 00000001 (F) 80220008 [Error,Facility=FACILITY_STATE_MANAGEMENT,Code=8] #89591# from CWcmScalarInstanceCore::GetCurrentValue(options = 393216 (0x00060000), status = [6]"(null)", value = { type: 40972 (0x0000a00c), bytes (12 (0x0000000c)): 65006e002d00550053000000 }) 
[gle=0x80004005] 
2016-09-27 00:48:06, Error     CSI 00000002 (F) 80220008 [Error,Facility=FACILITY_STATE_MANAGEMENT,Code=8] #161004# from CWcmScalarInstanceCore::GetCurrentValue(options = 393216 (0x00060000), status = [6]"(null)", value = { type: 40972 (0x0000a00c), bytes (12 (0x0000000c)): 65006e002d00550053000000 }) 
[gle=0x80004005] 
2016-09-27 00:48:29, Error  [0x080389] MIG Failure while calling IDiscovery->Gather for Plugin={ServerPath="Microsoft-Windows-AppX-Deployment-Server\AppxUpgradeMigrationPlugin.dll", CLSID={AE27C1A6-25F2-45FD-9A28-081B81F29E0A}, ThreadingModel=Apartment}. Error: 0x80010105 
2016-09-27 00:48:29, Error     SP  Error READ, 0x80010105 while gathering/applying object: pre-scan, Action,CMXEPlugin,C:\$WINDOWS.~BT\Sources\ReplacementManifests,Microsoft-Windows-AppX-Deployment-Server\AppxUpgradeMigrationPlugin.dll,{AE27C1A6-25F2-45FD-9A28-081B81F29E0A},Apartment. Will return 2[gle=0x000000cb] 
2016-09-27 00:48:33, Error     CSI 00000003 (F) 80220008 [Error,Facility=FACILITY_STATE_MANAGEMENT,Code=8] #247735# from CWcmScalarInstanceCore::GetCurrentValue(options = 393216 (0x00060000), status = [6]"(null)", value = { type: 40972 (0x0000a00c), bytes (12 (0x0000000c)): 65006e002d00550053000000 }) 
[gle=0x80004005] 
2016-09-27 00:48:41, Error  [0x0803b6] MIG Can't retrieve group information for user IIS APPPOOL\DefaultAppPool. NetUserGetLocalGroups failed 0x000008AD 
2016-09-27 00:48:46, Error  [0x080831] MIG CSIAgent: Invalid xml format: FormatException: Component with display name: Plugin/{C939EC0F-2F56-4CE8-AF56-2336596A5FA7} already loaded __cdecl Mig::CMXEMigrationXml::CMXEMigrationXml(class Mig::CPlatform *,class UnBCL::String *,class UnBCL::XmlDocument *,class UnBCL::String *,class UnBCL::String *) 
2016-09-27 00:51:00, Error  [0x0808fe] MIG Plugin {526D451C-721A-4b97-AD34-DCE5D8CD22C5}: [shmig] Failed to get preferred homegroup with hr=0x80070490 
2016-09-27 00:52:03, Error      CSetupAutomation::Resurrect: File not found: C:\$WINDOWS.~BT\Sources\Panther\automation.dat[gle=0x00000002] 
2016-09-27 00:52:03, Error     SP  CSetupPlatform::ResurrectAutomation: Failed to resurrect automation: 0x80070002[gle=0x00000002] 
2016-09-27 00:52:03, Error  [0x0803b6] MIG Can't retrieve group information for user IIS APPPOOL\DefaultAppPool. NetUserGetLocalGroups failed 0x000008AD 

更新

刪除IIS用戶配置文件更新後仍然失敗,同樣的錯誤。現在seytuperr.log不包含與用戶相關的錯誤。如何找到更新失敗的原因?

2016-09-28 19:21:32, Error      [SetupHost.exe] IOCTL_STORAGE_QUERY_PROPERTY failed: 0x1 
2016-09-28 19:32:04, Error      [SetupHost.exe] IOCTL_STORAGE_QUERY_PROPERTY failed: 0x1 
2016-09-28 19:32:04, Error      [SetupHost.exe] IOCTL_STORAGE_QUERY_PROPERTY failed: 0x1 
2016-09-28 19:32:04, Error      [SetupHost.exe] IOCTL_STORAGE_QUERY_PROPERTY failed: 0x1 
2016-09-28 19:32:04, Error      [SetupHost.exe] IOCTL_STORAGE_QUERY_PROPERTY failed: 0x1 
2016-09-28 19:32:04, Error      [SetupHost.exe] IOCTL_STORAGE_QUERY_PROPERTY failed: 0x1 
2016-09-28 19:32:20, Error     MOUPG CDlpResponseImpl<class CDlpErrorImpl<class CDlpObjectInternalImpl<class CUnknownImpl<class IDlpResponse> > > >::CheckUserCancelled(1586): Result = 0x800704D3 
2016-09-28 19:32:20, Error     MOUPG CDlpResponseImpl<class CDlpErrorImpl<class CDlpObjectInternalImpl<class CUnknownImpl<class IDlpResponse> > > >::Execute(1751): Result = 0x800704D3 
2016-09-28 19:32:20, Error     MOUPG CDlpActionImpl<class CDlpErrorImpl<class CDlpObjectInternalImpl<class CUnknownImpl<class IMoSetupDlpAction> > > >::ExecuteResponse(1184): Result = 0x800704D3 
2016-09-28 19:32:20, Error     MOUPG CDlpActionSummary::ExecuteRoutine(202): Result = 0x800704D3 
2016-09-28 19:32:20, Error     MOUPG CDlpActionImpl<class CDlpErrorImpl<class CDlpObjectInternalImpl<class CUnknownImpl<class IMoSetupDlpAction> > > >::Execute(441): Result = 0x800704D3 
2016-09-28 19:34:05, Error      [SetupHost.exe] IOCTL_STORAGE_QUERY_PROPERTY failed: 0x1 
2016-09-28 19:34:05, Error      [SetupHost.exe] IOCTL_STORAGE_QUERY_PROPERTY failed: 0x1 
2016-09-28 19:34:05, Error      [SetupHost.exe] IOCTL_STORAGE_QUERY_PROPERTY failed: 0x1 
2016-09-28 19:34:05, Error      [SetupHost.exe] IOCTL_STORAGE_QUERY_PROPERTY failed: 0x1 
2016-09-28 19:34:05, Error      [SetupHost.exe] IOCTL_STORAGE_QUERY_PROPERTY failed: 0x1 
2016-09-28 19:37:33, Error      [SetupHost.exe] IOCTL_STORAGE_QUERY_PROPERTY failed: 0x1 
2016-09-28 19:37:33, Error      [SetupHost.exe] IOCTL_STORAGE_QUERY_PROPERTY failed: 0x1 
2016-09-28 19:37:33, Error      [SetupHost.exe] IOCTL_STORAGE_QUERY_PROPERTY failed: 0x1 
2016-09-28 19:43:42, Error      [SetupHost.exe] IOCTL_STORAGE_QUERY_PROPERTY failed: 0x1 
2016-09-28 19:43:42, Error      [SetupHost.exe] IOCTL_STORAGE_QUERY_PROPERTY failed: 0x1 
2016-09-28 19:43:49, Error     SP  pSPRemoveUpgradeRegTree: failed to delete reg tree HKLM\SYSTEM\Setup\Upgrade[gle=0x00000005] 
2016-09-28 19:44:01, Error  [0x080831] MIG CSIAgent: Invalid xml format: FormatException: "id" attribute is mandatory. void __cdecl Mig::CMXEMigrationXml::LoadSupportedComponent(class UnBCL::XmlNode *,int,class Mig::CMXEMigrationXml *,class Mig::CMXEXmlComponent *) 
2016-09-28 19:44:12, Error     CSI 00000001 (F) 80220008 [Error,Facility=FACILITY_STATE_MANAGEMENT,Code=8] #18323# from CWcmScalarInstanceCore::GetCurrentValue(options = 393216 (0x00060000), status = [6]"(null)", value = { type: 40972 (0x0000a00c), bytes (12 (0x0000000c)): 650074002d00450045000000 }) 
[gle=0x80004005] 
2016-09-28 19:44:42, Error  [0x080389] MIG Failure while calling IDiscovery->Gather for Plugin={ServerPath="Microsoft-Windows-AppX-Deployment-Server\AppxUpgradeMigrationPlugin.dll", CLSID={AE27C1A6-25F2-45FD-9A28-081B81F29E0A}, ThreadingModel=Apartment}. Error: 0x80010105 
2016-09-28 19:44:43, Error     SP  Error READ, 0x80010105 while gathering/applying object: pre-scan, Action,CMXEPlugin,C:\$WINDOWS.~BT\Sources\ReplacementManifests,Microsoft-Windows-AppX-Deployment-Server\AppxUpgradeMigrationPlugin.dll,{AE27C1A6-25F2-45FD-9A28-081B81F29E0A},Apartment. Will return 2[gle=0x000000cb] 
2016-09-28 19:44:47, Error     CSI 00000002 (F) 80220008 [Error,Facility=FACILITY_STATE_MANAGEMENT,Code=8] #105054# from CWcmScalarInstanceCore::GetCurrentValue(options = 393216 (0x00060000), status = [6]"(null)", value = { type: 40972 (0x0000a00c), bytes (12 (0x0000000c)): 650074002d00450045000000 }) 
[gle=0x80004005] 
2016-09-28 19:45:00, Error  [0x080831] MIG CSIAgent: Invalid xml format: FormatException: Component with display name: Plugin/{C939EC0F-2F56-4CE8-AF56-2336596A5FA7} already loaded __cdecl Mig::CMXEMigrationXml::CMXEMigrationXml(class Mig::CPlatform *,class UnBCL::String *,class UnBCL::XmlDocument *,class UnBCL::String *,class UnBCL::String *) 
2016-09-28 19:47:12, Error  [0x0808fe] MIG Plugin {526D451C-721A-4b97-AD34-DCE5D8CD22C5}: [shmig] Failed to get preferred homegroup with hr=0x80070490 
2016-09-28 19:48:29, Error      CSetupAutomation::Resurrect: File not found: C:\$WINDOWS.~BT\Sources\Panther\automation.dat[gle=0x00000002] 
2016-09-28 19:48:29, Error     SP  CSetupPlatform::ResurrectAutomation: Failed to resurrect automation: 0x80070002[gle=0x00000002] 

回答

0

我會說這是並不是每一個Windows錯誤的情況下是一個問題

IIS APPPOOL\DefaultAppPool是一個虛擬的用戶,它並不真正存在於系統中,調用Win32 API函數NetUserGetLocalGroups將此用戶名作爲參數,它將始終失敗,因爲它無法找到該用戶,因爲它是虛擬的。 因此,雖然Windows更新過程報告這是一個錯誤,我敢肯定,這不是問題,爲什麼你的更新不起作用。再次查看日誌以找到罪魁禍首。

順便說一句,據我所知,IIS APPPOOL\*用戶沒有在Visual Studio附帶的IIS Express中使用。它們只能在適當的IIS中使用,在某些時候您必須在系統上安裝它。我不認爲在IIS中刪除應用程序池DefaultAppPool將從系統中刪除對此虛擬用戶的所有引用。

+0

在This computer/Advanced/Profiles中有'IIS APPPOOL \ DefaultAppPool'的配置文件。計算機已從Windows 7升級。使用Windows 7時,安裝了IIS,並且在Windows 7中卸載IIS後,此配置文件仍保留。 – Andrus

+0

您可以刪除該配置文件(文件夾)。如果IIS再次需要它,它會創建一個新的。我仍然認爲它不會解決你的問題。 –

+0

在刪除DefaultAppPool配置文件後,更新仍會失敗,並出現相同的錯誤。我更新了問題並添加了新日誌。如何找到失敗的原因? – Andrus