Work Around Unspecified Error in Windows App Certification Kit - visual-studio

Could someone recommend some troubleshooting tips for the Windows App Certification Kit (WACK) process when attempting to Create an App Package for the store? The app package builds fine, however, when WACK starts it immediately crashes with an "Unspecified Error".
I'm using VS Community and an Individual developer account.
I've tried uninstall WACK and re-installing, but it is integrated in VS Community, so no luck there. I have also tried side-loading the app, but the PowerScript (PS) fails. Checking the PS log it states, "The specific error text for this failure is: Unspecified error."

I had the same issue but deleting the AppPackages, bin, BundleArtifacts and obj folder before running the Store Certification fixed the issue.

Related

Visual Studio unable to download installation files

I simply wish to install Visual Studio 2017 to compile a project.
Trying to install via the installer obtained from Microsoft fails after being unable to obtain the .opc file from aka.ms (found that after checking logs in %Temp%)
Moved to a full install version with all files and .opc file present. Installer still attempts to download from the web. Fails saying it is unable to download.
Tried running installed with --layout pointing toward the location of the offline files, same error.
Installed certificates from the certificates folder both in Personal and Trusted Root stores, no difference.
Tried starting CNG Key Isolation service, fails with error 1053
Microsoft support transferred me three times before saying the problem is on their end, so how, if one were to have no internet connection and evidently has all files required for install available, install this, if the installer stubbornly attempts to download from the web?
Is there a KB I am missing or some procedure I have to follow with the full installers?
In my case it is the network firewall blocking the downloading because the downloading involve not only main Microsoft visual studio site which is allowed in our network but also some url like https://aka.ms which is blocked by our firewall.the error is listed in c:\users\myusername\appdata\local\temp\dd_bootstrapper_xxx.log
It appears from what you have submitted you are attempting to download a offline copy of Visual Studio. It also appears that you are attempting to run the file originally downloaded to create the bootstrapper for the installation.
You want to instead launch the setup executable which is actually in the layout folder.
Hope this helps. ^^
Appears the cause for this was the service disclosure debug, disabling the debug, binding all services back into the svchost and after rebooting the service is working again. I have been able to install VS now.

Visual Studio 2017 Installer is "Unable to download installation files"

I've just finished talking to the "Microsoft Support Chat" and he told me to post this here (i can't post it on the developercommunity forums because i need to click a button in the installer which isn't there at that stage).
When I'm trying to run the VS Enterprise 2017 installer (or any other edition) the installer cancels with the error message: "Unable to download installation files. Check your internet connection and try again."
What I tried so far:
Running as Administrator
Downloading the installer with a different browser
Using the --layout option to download files first (same error message, no files downloaded)
Installing the certificates
Using the --update option before running the installer regularly
Running the Windows 10 Windows Update Troubleshooter (couldn't identify the problem)
Disabling Bitdefender Antivirus
Multiple Reboots/Re-Downloads
One more thing that might be helpful is that quite a while back when i was installing "Cyber Ghost VPN" on the same machine i had trouble connecting using that application because a windows service that should've been active wasn't running.
Also I would've included the Logs from running the vscollect tool but i can't seem to figure out how to attach a file here. Do i have to upload it somewhere else and include the link or is there a way i can just attach the file here?
It could be a certificate issue, maybe your time and region are not set correctly, so the certificate is in a different date than the server. I followed this three spets a couple weeks ago and it worked.
Install the certificates, usually in "certificates" folder,(inside Layout folder).
Right-click each one to install it with administrator rigths.
3.Run the installation file.

VS Express 2012, Windows Phone 8 SDK: The interface is unknown

I can't deploy applications to to my Windows Phone 8 device from Visual Studio Express 2012 anymore. I always get the following two lines in the console:
Deployment of application to device failed.
The interface is unknown.
The emulator also does not work anymore (xde.exe just crashes). All that worked once (Hyper-V is active).
All that happened without a change to my app (the same happens with a fresh hello world app).
The problem is not my phone, I tested a different phone (even different model), same problem.
I already completely removed and reinstalled the Phone SDK including Visual Studio.
The problem might have occurred since I updated to Windows 8.1 but I am not sure about this.
If anybody has a clue of what is going on here I would highly appreciate your help.
Since you've already tried removing/reinstalling VS and SDK, try creating a new user account on your Win8.1 box and running VS from that. If it works, the problem was probably some settings in CurrentUser registry hive, which Remove doesn't always clean up. Reinstall the already-installed VS and SDK may work better.
The 'interface' error means this is likely some COM issue, and that implicates registry. If you can figure out which DLL contains the interface, you may be able to fix it with (admin command line) > REGSVR32 <dllPath>. You can trace the registry accesses being made when you try to debug the app via SystemInternals ProcessMonitor

VS2010 SP1 Installation. “The feature you are trying to use is on a network resource that is unavailable”

Ultimately, I'm trying to install the windows phone app SDK so that I can put an app I've made on my phone.
To do this, I am told I need to install SP1.
When I attempt this I get the following:
"The feature you are trying to use is on a network resource that is unavailable visual studio riaservices.msi"
I download the riaservices.msi and point the dialog to it, and I get the message:
"The file is not a valid installation package for the product WCF RIA Services V1.0 for VS 2010."
I've downloaded the ISO as mentioned in a related post on this website, but I've no idea what I'm doing with that now it's mounted.
Some of the features I've tried to install have asked me to insert the CD which I don't have, I downloaded it for free from a university scheme.
Can anyone help me fix this? It's infuriating beyond belief.
Someone answered the question over on SuperUser, this got a fair few views so here's a link to there:
https://superuser.com/questions/460773/vs2010-sp1-installation-the-feature-you-are-trying-to-use-is-on-a-network-reso
This is kind of error found while uninstalling programs, I saw this error when I try to uninstall Java. But it is common i-tones, Blackberry software and certain other applications also.
As a Technical Support I met this problem and found a solution for a client PC running with Windows XP.
All the step by step procedure I written here
[Solved] The Feature That You Are Trying to Use is On a Network Resource That is Unavailable Java

Windows Phone Application Project Type Unavailable in VS2010

I recently had to reinstall the OS on my dev box and I am now in the process of reinstalling various applications. I had previously installed the WP7 SDK without any problems but unfortunately I'm having problems this time around. The only project type I have available in the Silverlight for Windows Phone category is one that I downloaded from the online templates section.
When I try to open it or any of the WP7 projects I created previously I get a "The project type is not supported by this installation." error. I am not sure what I am missing. I have followed the three steps listed here so I've installed the SDK, the Dev Tools and the Dev Tools fix. The installation of VS2010 itself seems to be fine as I can create ASP.NET and Silverlight applications and run them without any problems.
Has anyone encountered something like this before?
Edit: I have installed Service Pack 1 for VS 2010 but that hasn't helped unfortunately.
Edit: I have also re-installed the Windows Phone Dev Tools and that installation reported no errors but I still get no projects under the Silverlight for Windows Phone category.
Try opening a visual studio command prompt and typing:
devenv /ResetSkipPkgs
I have thankfully resolved this. Last night I uninstalled everything and reinstalled again but this time I made sure to right-click on each executable and select "Run as administrator". That seems to have done the trick as my existing WP7 projects are compiling and running successfully and I can create new ones too. I did run into two error messages however -
"Zune software is not launched. Retry after making sure that Zune software is launched". I got around this initially by setting the target to Windows Phone 7 Emulator instead of Windows Phone 7 Device in the target dropdown on the main toolbar.
"Error: Connection failed because of invalid command-line arguments." I got around this by rebooting as mentioned here.

Resources