none
WACK Crashes when clicking "view results"

    Question

  • The Windows App Certification Kit is crashing on me in the final step, when I click "Click here to view the results". I'm still able to get to the results by navigating to where the HTML file is stored on disk, but I thought I would post the crash log here:

    Note, this doesn't seem to be a crash with my app, but actually a crash with WACK. 

    See the end of this message for details on invoking 
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.ComponentModel.Win32Exception (0x80004005): Class not registered
       at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
       at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
       at System.Windows.Forms.LinkLabel.OnMouseUp(MouseEventArgs e)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.Label.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17626 built by: FX45RCREL
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
    ----------------------------------------
    appcertui
        Assembly Version: 0.0.0.0
        Win32 Version: 2.0.8400.0 (winmain_win8rc.120518-1423)
        CodeBase: file:///C:/Program%20Files%20(x86)/Windows%20Kits/8.0/App%20Certification%20Kit/appcertui.exe
    ----------------------------------------
    Microsoft.AE.Windows
        Assembly Version: 6.2.0.0
        Win32 Version: 6.2.8400.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Windows%20Kits/8.0/App%20Certification%20Kit/Microsoft.AE.Windows.DLL
    ----------------------------------------
    System
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17626 built by: FX45RCREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    Microsoft.AE
        Assembly Version: 6.2.0.0
        Win32 Version: 6.2.8400.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Windows%20Kits/8.0/App%20Certification%20Kit/Microsoft.AE.DLL
    ----------------------------------------
    System.Windows.Forms
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17626 built by: FX45RCREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System.Drawing
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17626 built by: FX45RCREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    Microsoft.Windows.SoftwareLogo.Shared
        Assembly Version: 0.0.0.0
        Win32 Version: 2.0.8400.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Windows%20Kits/8.0/App%20Certification%20Kit/Microsoft.Windows.SoftwareLogo.Shared.DLL
    ----------------------------------------
    System.Xml
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17626 built by: FX45RCREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    appcertui.resources
        Assembly Version: 6.2.0.0
        Win32 Version: 6.2.8400.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Windows%20Kits/8.0/App%20Certification%20Kit/en/appcertui.resources.DLL
    ----------------------------------------
    System.Configuration
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17626 built by: FX45RCREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

    Thursday, August 02, 2012 9:02 PM

All replies

  • That wasn't the full trace, I've attached the full trace here:

    http://pastebin.com/h5FrLDbb

    Thursday, August 02, 2012 9:03 PM
  • Hello,

    when you double click on the results .htm file in explorer, what application opens the file e.g. internet explorer, etc.?

    much appreciated,

    mike

    Monday, August 06, 2012 8:40 PM
  • I have Chrome set as my default Browser so it opens in Chrome when I double click the htm file. 
    Monday, August 06, 2012 8:52 PM
  • If you right click on a htm file and choose Open With, Choose Default program, and select Internet explorer, do you see the above error with the ACK?

    thanks!

    mike

    Monday, August 06, 2012 10:16 PM
  • I don't know if this could be a coincidence, but I'm seeing a very similar crash in one of my apps:  it's a .NET Framework 3.5 application, which, when deployed on Windows 8 Release Preview (build 8400), gets exactly this same crash.  The problem seems to be that calling this:

    System.Diagnostics.Process.Start("http://any.valid.url.com/");

    generates exactly this stack trace.  On previous versions of Windows, this code starts the default browser and loads the URL given as the parameter, but on Windows 8, the calling app crashes.


    • Edited by cbrianhill Wednesday, August 08, 2012 1:59 AM
    Wednesday, August 08, 2012 1:58 AM
  • You Found a solution?

    http://blogdomolina.blogspot.com [ Se a mensagem resolveu seu problema, por favor classifique-a ]

    Tuesday, August 21, 2012 5:53 PM
  • You Found a solution?

    http://blogdomolina.blogspot.com [ Se a mensagem resolveu seu problema, por favor classifique-a ]

    Save the xml file, and let the app crash. Then go to the XML file, right click it, and Open it with Internet explorer. 
    Wednesday, August 22, 2012 8:43 PM
  • This worked to me....

       Dim oProcess As New System.Diagnostics.Process
       oProcess.StartInfo.FileName = "explorer.exe"
       oProcess.StartInfo.Arguments = "http://ononnononn.onon"
       oProcess.Start()


    http://blogdomolina.blogspot.com [ Se a mensagem resolveu seu problema, por favor classifique-a ]

    Thursday, August 23, 2012 1:40 AM
  • I'm also having this WACK crash in Windows 8 RTM with Visual Studio 2012 Express RTM.
    Monday, September 10, 2012 7:14 AM
  • The crash does not happen when Internet Explorer is set as the default program for .htm files.

    Note that this should not lower any priority for getting this crash in WACK fixed when Chrome is set as the default program for .htm files, not that it looks like there's any priority on this issue anyway.

    Monday, October 15, 2012 7:37 AM
  • Exactly!
    Whenever I used Chrome as Default.


    http://blogdomolina.blogspot.com [ Se a mensagem resolveu seu problema, por favor classifique-a ]

    Wednesday, October 17, 2012 3:53 PM
  • I wonder how that can be even a problem. I do not want to see the code how MS tries to display the XML. Calling ShellExecute("open", xmlpath) ought to be enough.
    Thursday, October 18, 2012 10:45 PM