locked
Windows 8 CTP / Visual Studio 11 Beta / JavaScript App / DEP0700

    Question

  • I just installed the Windows 8 Customer Technology Preview on a VHD, booted into it, and then grabbed the VS11 beta.  I created a new JavaScript Metro Style app, pressed Ctrl+F5, and got the following error:

    "Error 1 Error : DEP0700 : Registration of the app in the layout folder "C:\Users\Jeremy\Documents\Visual Studio 11\Projects\Temp\Application1\Application1\bin\Debug\AppX" failed. Application1"

    I'm the only user on the system.

    I accepted the developer license.

    I tried running VS under both normal and elevated privileges.

    I tried both the path I wanted to use (C:\dev\temp\Application1) and the one Visual Studio defaults to (C:\Users\Jeremy\Documents\VIsual Studio 11\Projects\Temp\Application1).

    Any thoughts as to what I've done wrong?

    Thanks!

    Sunday, March 04, 2012 3:14 PM

All replies

  • Hi,

    Can you please execute the following command in Power Shell and post the log to this thread to help us diagnose the issue:

    Get-WinEvent -logname Microsoft-Windows-Appx* |Select-Object -first 10|Out-GridView

    Feel free to remove any personal information from the log.

    Thanks

    Monday, March 05, 2012 5:43 PM
  • TimeCreated Id LevelDisplayName Message
    3/4/2012 7:53:33 AM 404 Error AppX Deployment operation failed with last error: 0x80070490 : While installing the 3dc2bed0-62c2-4f29-9187-8b9e4b5728db_1.0.0.0_neutral__req6rhny9ggkj package, the system failed to register the windows.visualElements extension due to the following error: Element not found. .
    3/4/2012 7:53:33 AM 401 Error AppX Deployment Register Operation on Package 3dc2bed0-62c2-4f29-9187-8b9e4b5728db_1.0.0.0_neutral__req6rhny9ggkj from: C:\Users\Jeremy\Documents\Visual Studio 11\Projects\Temp\Application1\Application1\bin\Debug\AppX\AppxManifest.xml failed with error code: 0x80073CF6. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing issues with AppX Deployment.
    3/4/2012 7:53:31 AM 605 Information Last successful state reached was PackagesInUseClosed.
    3/4/2012 7:53:31 AM 300 Error 0x80073CF6 : Cannot register the 3dc2bed0-62c2-4f29-9187-8b9e4b5728db_1.0.0.0_neutral__req6rhny9ggkj package due to the following error: Package could not be registered. .
    3/4/2012 7:53:31 AM 331 Warning 0x80070490 : While reverting the 3dc2bed0-62c2-4f29-9187-8b9e4b5728db_1.0.0.0_neutral__req6rhny9ggkj package, the system failed to de-register the windows.visualElements extension due to the following error: Element not found. .
    3/4/2012 7:53:31 AM 5092 Error Visual Elements Extension failed while processing Notifications with error 0x80070490.
    3/4/2012 7:53:30 AM 316 Error 0x80070490 : Cannot register the 3dc2bed0-62c2-4f29-9187-8b9e4b5728db_1.0.0.0_neutral__req6rhny9ggkj package because the following error was encountered, causing the system to veto during the registration of the windows.visualElements extension: Element not found. .
    3/4/2012 7:53:30 AM 306 Error 0x80070490 : While installing the 3dc2bed0-62c2-4f29-9187-8b9e4b5728db_1.0.0.0_neutral__req6rhny9ggkj package, the system failed to register the windows.visualElements extension due to the following error: Element not found. .
    3/4/2012 7:53:30 AM 5092 Error Visual Elements Extension failed while processing Notifications with error 0x80070490.
    3/4/2012 7:53:30 AM 603 Information Beginning AppX Deployment Register Operation on package with main parameter: file:///C:/Users/Jeremy/Documents/Visual%20Studio%2011/Projects/Temp/Application1/Application1/bin/Debug/AppX/AppxManifest.xml. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing issues with AppX Deployment.
    Tuesday, March 06, 2012 4:58 AM
  • Thanks for posting the log.

    Do you have package.appxmanifest file modified in the project?

    0x80070490 is 'element not found', seems it cannot find something in the xml file.

    Wednesday, March 07, 2012 1:48 AM
  • Funny, it's working now.  I don't know what's changed, but I can deploy apps just fine now.  Thanks for the time looking at this...

    Sunday, March 11, 2012 3:27 PM