locked
Windows Store App Certification Kit - AccessViolationException

    Question

  • Hello everybody, as said in the subject I'm having serious troubles running WACK.

    If I run it from within Visual Studio it just stop working with no other info. If I run it from an elevated command prompt then I receive an AccessViolationException in the beginning phases. Here is the command line output (It's in italian but it's self-explanatory I think)

    c:\Program Files (x86)\Windows Kits\8.1\App Certification Kit>appcert test -apptype windowsstoreapp -appxpackagepath C:\Users\Giuseppe\Desktop\Fineco.
    Banking.RT_0.0.1.4_AnyCPU_Test\Fineco.Banking.RT_0.0.1.4_AnyCPU.appx -reportoutputpath C:\Users\Giuseppe\Desktop\report.xml

    Avvio dell'esecuzione della fase PROLOG (1 di 3).
        Avvio dell'esecuzione dell'attività Modifica lo stato del servizio TAEF.
        L'esecuzione dell'attività Modifica lo stato del servizio TAEF è riuscita.
        Avvio dell'esecuzione dell'attività Esegue la distribuzione/pulizia di AppX nello scenario IDE..
    Root "Autorità di certificazione radice attendibili"
    La firma elettronica corrisponde alla chiave pubblica
    Certificati correlati:

    Corrispondenza esatta:
    Elemento 2:
    Numero di serie: 479263135209cd8049dea9f63e9fb5da
    Autorità emittente: CN=Giuseppe
     NotBefore: 06/02/2014 12:24
     NotAfter: 06/02/2015 18:24
    Soggetto: CN=Giuseppe
    La firma elettronica corrisponde alla chiave pubblica
    Certificato radice: soggetto corrispondente all'autorità emittente
    Hash certificato (sha1): a9 93 62 c7 06 b8 1f 81 a0 71 9b a9 0e e0 a5 55 d2 8e 93 e0

    Il certificato "Giuseppe" è già presente nell'archivio.
    CertUtil: - Esecuzione comando addstore riuscita.
        L'esecuzione dell'attività Esegue la distribuzione/pulizia di AppX nello scenario IDE. è riuscita.
        Avvio dell'esecuzione dell'attività Arresti anomali e blocchi.
        Avvio dell'esecuzione dell'attività Modifica Heap a tolleranza di errore.
        Avvio dell'esecuzione dell'attività Inventario programmi.
        L'esecuzione dell'attività Modifica Heap a tolleranza di errore è riuscita.

    Eccezione non gestita: System.Reflection.TargetInvocationException: Eccezione generata dalla destinazione di una chiamata. ---> System.AccessViolation
    Exception: Tentativo di lettura o scrittura della memoria protetta. Spesso questa condizione indica che altre parti della memoria sono danneggiate.
       in NativeMethodsType.CreateAppxPackageInventory(UInt32 dwFlags, String appxPackageFullName, String& pbstrFinalXml)
       in Microsoft.Windows.SoftwareLogo.Tasks.Inventory.CreateProgramInventoryForTailoredApps()
       in Microsoft.Windows.SoftwareLogo.Tasks.Inventory.ExecuteTask(Object parameter)
       --- Fine della traccia dello stack dell'eccezione interna ---
       in System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       in System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       in System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       in Microsoft.Windows.SoftwareLogo.ExecutionDriver.Execution.ExecuteTask(Task task, String parameter)
       in Microsoft.Windows.SoftwareLogo.ExecutionDriver.Execution.ExecutionThreadProc(Object threadContext)
       in System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx
    )
       in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       in System.Threading.ThreadHelper.ThreadStart(Object obj)

    c:\Program Files (x86)\Windows Kits\8.1\App Certification Kit>

    My configuration is:

     Windows 8.1 Pro w/ Visual Studio 2013 Pro + Blend and Windows Phone 8 SDK.

    My app is targeting Windows 8 PC.

    Any idea of what is causing all these problems?

    Sunday, February 9, 2014 11:09 AM

All replies

  • Hi,

    What is your version of WACK installed in your system? 3.1 is the latest one, all the app should be test with this: http://msdn.microsoft.com/en-US/windows/apps/bg127575, some times older version of WACK may let the app pass but newer one won't.

    And I do not familiar with the WACK. You can go to the link below to get more professional help:

    http://msdn.microsoft.com/en-us/windows/apps/hh690938

    Best Wishes!


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to &quot;Mark as Answer&quot; the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Monday, February 10, 2014 9:09 AM
  • The WACK version is 3.1 as it comes with VS2013...Another info I may give you is that even if I launch WACK OUTSIDE  visual studio but WITH UI (via appcertui.exe in C:\Program Files (x86)\Windows Kits\8.1\App Certification Kit) I got the error BEFORE even choosing an application package suring the phase "Scanning your system configuration" or something like that (the first thing tht appears after you choose "Windows Store App" in the menu.

    Screenshot: https://skydrive.live.com/redir?resid=21AD9965C43C5C1C!10599&authkey=!AFMGDVnorthbu30&v=3&ithint=photo%2c.PNG

    Monday, February 10, 2014 1:14 PM
  • Hi,

    Do you resolve your problem or Would you go to the link below to look for help?

    http://msdn.microsoft.com/en-us/windows/apps/hh690938

    Best Wishes!


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to &quot;Mark as Answer&quot; the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Thursday, February 27, 2014 9:16 AM