Visual Studio 2012 Update 4 fails - visual-studio-2012

Downloaded ISO and verified the hash. Installed Web Deploy 3.5 separately and Preperations.exe file is present in the "packages" directory..
After several tries, I even cleaned up "C:\ProgramData\Package Cache" directory, but nothing helps..
I'm going to uninstall Web Deploy 3.5 and try it again.. Any suggestions?

After uninstalling the Web Deploy 3.5, I got the error as shown in the screenshot.
Steps I've taken to fix this:
Downloaded Update 4 ISO from http://go.microsoft.com/fwlink/?LinkId=327544
Manually uninstalled Web Deploy 3.5
Ran VS2012 repair using the command-line (couldn't do it via Add/Remove Programs): vs_premium.exe /repair
Had to run the repair twice as it failed the first time
Ran Update 4 installer and it failed with following error:
[19A8:1FD0][2013-12-17T09:47:13]: Acquiring package: Preparation, payload: Preparation, copy from: C:\Users\Ostati\Desktop\Temp\VS2012.4\packages\Preparation.exe
[10C4:1550][2013-12-17T09:47:13]: Verified acquired payload: Preparation at path: C:\ProgramData\Package Cache.unverified\Preparation, moving to: C:\ProgramData\Package Cache\C6B63A9C9DFE6A89D63665FB41EFDD35689A78AD\packages\Preparation.exe.
[10C4:1550][2013-12-17T09:47:13]: Error 0x80070002: Failed to move verified file to complete payload path: C:\ProgramData\Package Cache\C6B63A9C9DFE6A89D63665FB41EFDD35689A78AD\packages\Preparation.exe
[10C4:1550][2013-12-17T09:47:13]: Error 0x80070002: Failed to cache payload: Preparation
[19A8:1FD0][2013-12-17T09:47:13]: MUX: Verify Failed. Retry acquiring, Retry Count: 1 of 3
Manually Copied C:\Users\Ostati\Desktop\Temp\VS2012.4\packages" to C:\ProgramData\Package
Cache\C6B63A9C9DFE6A89D63665FB41EFDD35689A78AD\"
Ran Update 4 again and it worked!**

I got the same error when installing update 4, and found the following error message in the log file.
[2B50:1FF0][2014-05-12T11:21:37]: MUX: ExecuteError: Package
(webdeploy_x64_en_usmsi_902) failed: Error Message Id: 30002
ErrorMessage: Installing some features of Microsoft Web Deploy 3.5 is
not supported when using Shared Configuration for IIS. Please disable
Shared Configuration before installing these features ("IIS 7.0
Deployment Handler", "IIS Manager UI Module").
It seems that you can't install the update while you've got a shared configuration enabled.
I fixed this by disabling my shared configuration, then repairing the update, then re-enabling the shared configuration.

Related

How to delete an unpackaged app from HoloLens 2

I'm having trouble deleting an app from HL2 which was deployed directly from Visual Studio.
I want to delete it because i want to deploy a packaged version through Device Portal.
Obviously it gives an error message:
Failure reason: Another user has already installed an unpackaged
version of this app. The current user cannot replace this with a
packaged version. The conflicting package is AppName and it was
published by CN=CompanyName. Failure text: The provided package is
already installed, and reinstallation of the package was blocked.
Check the AppXDeployment-Server event log for details. (0x80073cfb)
So i have tried to delete it on Device Portal, but there is an error message again:
Failed to uninstall package AppName_1.0.0.0_arm64__...
I have tried to delete it directly from the HoloLens, the app icon disappers from the HoloLens, but the application is still in the Installed Apps list. (And i cannot deploy the packaged version)
Is there a way to force delete an application?
HoloLens2 OS version: 20348.1518.arm64fre.fe_release_svc_sydney_rel_prod.220906-1328
UPDATE:
On the Device Portal, when i want to remove the app i get response on DELETE api/app/packagemanager/package?package=AppName... with code 500 and body
{"Code" : -2147009295, "CodeText" : "Package was not found.\r\n", "Reason" : "Windows cannot remove AppName_1.0.0.0_arm64__... because the current user does not have that package installed. Use Get-AppxPackage to see the list of packages installed.", "Success" : false}

Visual Studio 2022 fails to load nuget packages from custom package repository

I'm using Visual Studio 2022 Update 17.3.3
I have some nuget packages in a custom store, maintained by my company. Accessing those packages used to work in the past. The way we set it up is generate a PAT on Azure ADO, and then use nuget to register them as package sources like this:
nuget.exe sources add -name mypackagerepo -password myPAT -username username#ourdomain.com -source https://pkgs.dev.azure.com/mycompany/_packaging/mypackagerepo/nuget/v3/index.json
A few days ago, Nuget Package Manager started to fail with the error
[mypackagerepo] Unable to load the service index for source https://mycompany.pkgs.visualstudio.com/_packaging/mypackagerepo/nuget/v3/index.json.
Response status code does not indicate success: 401 (Unauthorized).
If I open that link in a browser, I get HTTP 200 and a valid JSON response.
One series of steps to produce the error is
In VS / Tools / Nuget Package Manager / Manage Nuget Packages for Solution
In Package source, select the custom package source mypackagerepo
In the Browse tab, hit Refresh
VS displayes "Error occured"
Hit "Show errors in output"
The above error message is visible
I tried a bunch of things suggested by others
restarted VS
restarted my PC
removed my %appdata%/Roaming/Nuget/nuget.config file
created a new PAT and recreated the package source registrations
cleaned up (removed all VS related entries from) my credential cache
repaired then reinstalled VS
Any ideas how to fix it?

Gradle Build Failed after updating android studio from 3.6.1 to 3.6.2

I have recently updated my ide and when I tried to run my old code that I have written before updating ide, it started showing a message that is below:
FAILURE:Build failed with a exception.
What went wrong: Execution failed for the task ':app:mergeDebugResources'.
Could not resolve all files for configuration ':app:_internal_aapt2_binary'.
Could not resolve com.android.tools.build:appt2:3.6.2-6040484. Required by:
project :app
No cached version of com.android.tools.build:appt2:3.6.2-6040484 available for offline mode.
No cached version of com.android.tools.build.appt2:3.6.2-6040484 available for offline mode.
So what's the problem in it and one more thing is that I have enabled the toggle offline mode and even after connecting to the network it's not running and showing the same message.
Plz reply soon.

Could not connect to nuget feed

I try to use private nuget feed, so I've made steps from the second part of instruction: http://docs.nuget.org/docs/creating-packages/hosting-your-own-nuget-feeds
But when I try to connect from Visual Studio to this feed I received message: "Could not connect to the feed specified at 'http://localhost:90/nuget/'. Please verify that the package source (located in the Package Manager Settings) is valid and ensure your network connectivity."
Could anyone met with the familiar issue?
I host it in IIS 7.5, Windows 7, nuget.server version 2.0.1
Experimentally I've added directory as nuget feed location and that is working fine.
I found the solution. When I updated nuget package manager in Visual Studio everything works fine.

Error in installing Azure tools in VS 2010

I am trying to install Microsoft Azure tools in VS 2010 ultimate trial version in Windows 7 OS. But I am getting following error ::
Error 0x80070643: Failed to install MSI package.
Error 0x80070643: Failed to execute MSI package.
Error 0x80070643: Failed to configure per-machine MSI package.
Error 0x80070643: Failed to execute MSI package.
I have searched for this error alot but did not get appropriate solution. Somewhere I read that Microsoft Web Developer needs to be installed. I have installed it too but still getting the same error. can anyone help me with this error? Could you also provide me some link and guidelines..
Have you tried installing the Azure emulator?
See here
Are you installing from the web platform installer? That should install everything needed.
I ran into the same problems installing it stand-alone, then downloaded the web platform installer and logged in on my admin account. Everything got installed correctly from there.

Resources