【问题标题】:How to fix Can't retrieve group information for user IIS APPPOOL\DefaultAppPool如何修复无法检索用户 IIS APPPOOL\DefaultAppPool 的组信息
【发布时间】:2017-02-05 23:13:18
【问题描述】:

在 Windows 10 中使用 Visual Studio Community Edition。 ASP.NET MVC 4 应用程序使用 Visual Studio 安装的 IIS Express 在调试模式下运行。

升级到 Windows 10 周年纪念版失败并出现错误

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

is 是升级失败的原因。 如何解决问题?是否可以删除或修复 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]

【问题讨论】:

    标签: asp.net-mvc visual-studio iis visual-studio-2015 iis-express


    【解决方案1】:

    我会说这是并非每个 Windows 错误都是问题

    IIS APPPOOL\DefaultAppPool是一个虚拟用户,在系统中并不存在,以这个用户名作为参数调用Win32 API函数NetUserGetLocalGroups总是会失败,因为找不到那个用户,因为它是一个虚拟的。 因此,虽然 Windows 更新过程将此报告为错误,但我很确定这不是您的更新无法正常工作的问题。再次查看日志以找到罪魁祸首。

    顺便说一句,据我所知,IIS APPPOOL\* 用户未在 Visual Studio 附带的 IIS Express 中使用。它们仅由适当的 IIS 使用,在某些时候您必须在系统上安装这些 IIS。我认为删除 IIS 中的应用程序池 DefaultAppPool 不会从系统中删除对此虚拟用户的所有引用。

    【讨论】:

    • 在此计算机/高级/配置文件中有IIS APPPOOL\DefaultAppPool 的配置文件。计算机从 Windows 7 升级。使用 Windows 7 时安装了 IIS,并且在 Windows 7 中卸载 IIS 后此配置文件仍然存在
    • 您可以删除该配置文件(文件夹)。如果 IIS 再次需要它,它将创建一个新的。我仍然认为它不会解决您的问题。
    • 删除 DefaultAppPool 配置文件后,更新仍然失败并出现同样的错误。我更新了问题并添加了新日志。如何找到失败的原因?
    • 这是我的预期,您的更新 Windows 问题与IIS APPPOOL\DefaultAppPool 帐户无关。我不知道如何找到原因,但你的问题标题现在不再反映你在问什么。您可能想提出一个新问题或更改此问题。
    • 我重新创建了更新文件夹。现在 setuperr.log 包含 24 个错误行而不是 33 个,但问题仍然存在。我在stackoverflow.com/questions/39769674/… 发布了这个如何解决?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-06-15
    • 2016-06-15
    • 2014-03-13
    • 2018-08-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多