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