0


我在四处寻找解决方案时看到了很多关于 Windows 应用程序认证工具包的问题,​​尤其是在 NGenTest 中。缩短包名称对我不起作用,我还没有在市场中提交任何应用程序。除了“Microsoft Advertising SDK for Windows 8”之外,我没有使用任何第三方库,但这是我在 Performance_Test__trace_Launch_1192012_101737.txt 中的测试结果。

如果您查看 NGemTest,GetCorSvcBindToUnregisteredWorker 有问题,我找不到任何解决方案。大家有没有遇到过这种情况?你认为是什么问题?

program Information: 0 : 11/9/2012 10:17:37 AM INFO:[Configuration:LoadSettings]overridepath - %localappdata%\Microsoft\AppCertKitPerfConfig
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[Configuration:LoadSettings]disablexperf - false
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[Configuration:LoadSettings]xperfpath - ..\Windows Performance Toolkit\xperf.exe
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[Configuration:LoadSettings]xperfflags - Base+FILE_IO+FILE_IO_INIT+CSWITCH+MEMORY
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[Configuration:LoadSettings]xperfuserflags - Microsoft-Windows-Immersive-Shell+Win32HeapRanges
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[Configuration:LoadSettings]xperfminbuffers - 10
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[Configuration:LoadSettings]xperftimeoutmsec - 300000
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[Configuration:LoadSettings]systemcfgtimeoutmsec - 10000
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[Configuration:LoadSettings]runngen - true
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[Configuration:LoadSettings]launchtesttimemsec - 10000
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[Configuration:LoadSettings]suspendtesttimemsec - 15000
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[Configuration:LoadSettings]launchwarningsec - 3
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[Configuration:LoadSettings]launchfailsec - 5
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[Configuration:LoadSettings]maxcpuusagepercent - 50
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[Configuration:LoadSettings]maxlaunchfileiomb - 50
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[Configuration:LoadSettings]maxsuspendfileiomb - 20
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[Configuration:LoadSettings]maxprivatepagesmb - 25
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[Configuration:LoadSettings]suspendfailsec - 2
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[ConfigFile::GetConfig]Override path = C:\Users\Jayson\AppData\Local\Microsoft\AppCertKitPerfConfig\Microsoft.Windows.SoftwareLogo.Performance.dll.config
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[ConfigFile::ReadStringEntry]Reading entry: xperfpath
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[ConfigFile::ReadStringEntry]Reading entry: disablexperf
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[ConfigFile::ReadStringEntry]Reading entry: xperfflags
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[ConfigFile::ReadStringEntry]Reading entry: xperfuserflags
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[ConfigFile::ReadStringEntry]Reading entry: xperfminbuffers
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[ConfigFile::ReadStringEntry]Reading entry: xperftimeoutmsec
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[ConfigFile::ReadStringEntry]Reading entry: systemcfgtimeoutmsec
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[ConfigFile::ReadStringEntry]Reading entry: runNgen
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[ConfigFile::ReadStringEntry]Reading entry: launchtesttimemsec
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[ConfigFile::ReadStringEntry]Reading entry: suspendtesttimemsec
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[ConfigFile::ReadStringEntry]Reading entry: launchwarningsec
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[ConfigFile::ReadStringEntry]Reading entry: launchfailsec
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[ConfigFile::ReadStringEntry]Reading entry: maxcpuusagepercent
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[ConfigFile::ReadStringEntry]Reading entry: maxlaunchfileioMB
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[ConfigFile::ReadStringEntry]Reading entry: maxsuspendfileioMB
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[ConfigFile::ReadStringEntry]Reading entry: maxprivatepagesMB
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[ConfigFile::ReadStringEntry]Reading entry: suspendfailsec
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[AppXPackage::GetPackageFromManifestFile]Loading Manifest.
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[AppXPackage::GetPackageFromManifestFile]Finding the Package node.
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[AppXPackage::GetPackageFromManifestFile]Creating namespace and identity node.
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[AppXPackage::GetPackageFromManifestFile]Loading applications.
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[AppXPackage::GetPackageFromManifestFile]Number of applications: 1.
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[AppXPackage::GetPackageFromManifestFile]New Application.
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[AppXPackage::GetPackageFromManifestFile]Loading id.
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[AppXPackage::GetPackageFromManifestFile]Id: App.
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[AppXPackage::GetPackageFromManifestFile]EntryPointType: MCA
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[AppXPackage::GetPackageFromManifestFile]Entrypoint value = WACK Genius.exe
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[AppXPackage::GetPackageFromManifestFile]Creating application node.
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[AppXPackage::GetPackageFromManifestFile]node created.
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[SystemConfigure::Setup]Retrieving active power scheme.
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[SystemConfigure::GetCurrentPowerScheme]Current Power Scheme Guid : 381b4222-f694-41f0-9685-ff5bb260df2e
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[SystemConfigure::Setup]Original power scheme guid: 381b4222-f694-41f0-9685-ff5bb260df2e
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[SystemConfigure::Setup]Duplicating active power scheme.
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[SystemConfigure::Setup]duplicate power scheme guid: 3139fb0e-783f-4f9a-8d99-2a0ff62c8c23
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[SystemConfigure::Setup]Setting duplicate guid: 3139fb0e-783f-4f9a-8d99-2a0ff62c8c23 to active.
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[ProcessAction::Run]Starting Run of: powercfg with arguments -S 3139fb0e-783f-4f9a-8d99-2a0ff62c8c23
program Information: 0 : 11/9/2012 10:17:37 AM INFO:[ProcessAction::WaitForExit]Waiting for exit with timeout of 10000
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::WaitForExit]Exitcode: 0
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[SystemConfigure::Setup]setting monitor timeout values.
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::Run]Starting Run of: powercfg with arguments -X -monitor-timeout-ac 999
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::WaitForExit]Waiting for exit with timeout of 10000
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::WaitForExit]Exitcode: 0
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::Run]Starting Run of: powercfg with arguments -X -monitor-timeout-dc 999
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::WaitForExit]Waiting for exit with timeout of 10000
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::WaitForExit]Exitcode: 0
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[SystemConfigure::Setup]setting disk timeout values.
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::Run]Starting Run of: powercfg with arguments -X -disk-timeout-ac 999
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::WaitForExit]Waiting for exit with timeout of 10000
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::WaitForExit]Exitcode: 0
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::Run]Starting Run of: powercfg with arguments -X -disk-timeout-dc 999
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::WaitForExit]Waiting for exit with timeout of 10000
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::WaitForExit]Exitcode: 0
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[SystemConfigure::Setup]setting standby timeout values.
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::Run]Starting Run of: powercfg with arguments -X -standby-timeout-ac 999
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::WaitForExit]Waiting for exit with timeout of 10000
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::WaitForExit]Exitcode: 0
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::Run]Starting Run of: powercfg with arguments -X -standby-timeout-dc 999
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::WaitForExit]Waiting for exit with timeout of 10000
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::WaitForExit]Exitcode: 0
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[SystemConfigure::Setup]setting hibernate timeout values.
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::Run]Starting Run of: powercfg with arguments -X -hibernate-timeout-ac 999
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::WaitForExit]Waiting for exit with timeout of 10000
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::WaitForExit]Exitcode: 0
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::Run]Starting Run of: powercfg with arguments -X -hibernate-timeout-dc 999
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::WaitForExit]Waiting for exit with timeout of 10000
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::WaitForExit]Exitcode: 0
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[SystemConfigure::Setup]Turning off screen saver.
program Information: 0 : 11/9/2012 10:17:38 AM INFO:The app WSB_1.0.0.8_neutral__e57n2qd78jwy8 is not in running state.
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[NGenTest]PackageFullName value is : WSB_1.0.0.8_neutral__e57n2qd78jwy8
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[NGenTest]32 Bit Ngen - C:\Program Files\WindowsApps\WSB_1.0.0.8_neutral__e57n2qd78jwy8\WACK Genius.exe
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[NGenTest]NGen Command: C:\Windows\Microsoft.NET\Framework\v4.0.30319\ngen.exe install "C:\Program Files\WindowsApps\WSB_1.0.0.8_neutral__e57n2qd78jwy8\WACK Genius.exe" /NoDependencies /noroot /version:v4.0.30319 /package:"WSB_1.0.0.8_neutral__e57n2qd78jwy8" /localappdata:"C:\Users\Jayson\AppData\Local\Packages\wsb_e57n2qd78jwy8\AC" /nologo 
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[NGenTest]NGen Command Output:
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[NGenTest]ERROR:  GetCorSvcBindToUnregisteredWorker failed because the worker process died with errorcode -2147221168
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[NGenTest]Uninstalling assembly C:\Program Files\WindowsApps\WSB_1.0.0.8_neutral__e57n2qd78jwy8\WACK Genius.exe because of an error during compilation: Worker exited unexpectedly during startup (Exception from HRESULT: 0x80131F04).
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[NGenTest]Worker exited unexpectedly during startup (Exception from HRESULT: 0x80131F04)
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[NGenTest]NGen Command Output end
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[NGenTest]ERROR: Failure while compiling: C:\Program Files\WindowsApps\WSB_1.0.0.8_neutral__e57n2qd78jwy8\WACK Genius.exe
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[NGenTest]32 Bit Ngen - C:\Program Files\WindowsApps\WSB_1.0.0.8_neutral__e57n2qd78jwy8\Microsoft.Advertising.WinRT.UI.winmd
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[NGenTest]NGen Command: C:\Windows\Microsoft.NET\Framework\v4.0.30319\ngen.exe install "C:\Program Files\WindowsApps\WSB_1.0.0.8_neutral__e57n2qd78jwy8\Microsoft.Advertising.WinRT.UI.winmd" /NoDependencies /noroot /version:v4.0.30319 /package:"WSB_1.0.0.8_neutral__e57n2qd78jwy8" /localappdata:"C:\Users\Jayson\AppData\Local\Packages\wsb_e57n2qd78jwy8\AC" /nologo 
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[NGenTest]NGen Command Output:
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[NGenTest]ERROR:  GetCorSvcBindToUnregisteredWorker failed because the worker process died with errorcode -2147221168
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[NGenTest]Uninstalling assembly C:\Program Files\WindowsApps\WSB_1.0.0.8_neutral__e57n2qd78jwy8\Microsoft.Advertising.WinRT.UI.winmd because of an error during compilation: Worker exited unexpectedly during startup (Exception from HRESULT: 0x80131F04).
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[NGenTest]Worker exited unexpectedly during startup (Exception from HRESULT: 0x80131F04)
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[NGenTest]NGen Command Output end
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[NGenTest]ERROR: Failure while compiling: C:\Program Files\WindowsApps\WSB_1.0.0.8_neutral__e57n2qd78jwy8\Microsoft.Advertising.WinRT.UI.winmd
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[NGenTest]32 Bit Ngen - C:\Program Files\WindowsApps\WSB_1.0.0.8_neutral__e57n2qd78jwy8\MicrosoftAdvertising.winmd
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[NGenTest]NGen Command: C:\Windows\Microsoft.NET\Framework\v4.0.30319\ngen.exe install "C:\Program Files\WindowsApps\WSB_1.0.0.8_neutral__e57n2qd78jwy8\MicrosoftAdvertising.winmd" /NoDependencies /noroot /version:v4.0.30319 /package:"WSB_1.0.0.8_neutral__e57n2qd78jwy8" /localappdata:"C:\Users\Jayson\AppData\Local\Packages\wsb_e57n2qd78jwy8\AC" /nologo 
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[NGenTest]NGen Command Output:
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[NGenTest]ERROR:  GetCorSvcBindToUnregisteredWorker failed because the worker process died with errorcode -2147221168
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[NGenTest]Uninstalling assembly C:\Program Files\WindowsApps\WSB_1.0.0.8_neutral__e57n2qd78jwy8\MicrosoftAdvertising.winmd because of an error during compilation: Worker exited unexpectedly during startup (Exception from HRESULT: 0x80131F04).
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[NGenTest]Worker exited unexpectedly during startup (Exception from HRESULT: 0x80131F04)
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[NGenTest]NGen Command Output end
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[NGenTest]ERROR: Failure while compiling: C:\Program Files\WindowsApps\WSB_1.0.0.8_neutral__e57n2qd78jwy8\MicrosoftAdvertising.winmd
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[NGenTest]Error occurred while generating compiling at least one assembly.
Invoking method [Cleanup]
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[Performance::Cleanup]Restoring system power configuration.
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[SystemConfigure::Cleanup]Setting original guid: 381b4222-f694-41f0-9685-ff5bb260df2e to active.
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::Run]Starting Run of: powercfg with arguments -S 381b4222-f694-41f0-9685-ff5bb260df2e
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::WaitForExit]Waiting for exit with timeout of 10000
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::WaitForExit]Exitcode: 0
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[SystemConfigure::Cleanup]Deleting duplicate guid.
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::Run]Starting Run of: powercfg with arguments -DELETE 3139fb0e-783f-4f9a-8d99-2a0ff62c8c23
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::WaitForExit]Waiting for exit with timeout of 10000
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[ProcessAction::WaitForExit]Exitcode: 0
program Information: 0 : 11/9/2012 10:17:38 AM INFO:[SystemConfigure::Cleanup]Reseting screen saver.

我在用:

  • Windows 8 企业版评估
  • 适用于 Windows 8 的 Microsoft Visual Studio Express 2012
4

1 回答 1

0

从 NGen 工作进程返回的错误代码指示“无法从注册表中读取密钥”,但不清楚它在失败时尝试读取的注册表项。我建议您使用 Process Monitor(procmon.exe,可以从http://technet.microsoft.com/en-us/sysinternals/bb896645安装)来记录来自 NGen 工作进程(mscorsvw. exe 进程),查看其中哪一个失败了。一旦发现这一点,我们应该能够弄清楚如何解决它。

我很想听听您的意见,并知道 Process Monitor 揭示了什么。

于 2013-02-05T00:45:50.203 回答