Failed to start host 'dotnet$IdentityHost' - visual-studio

When I open VS 2022, I encountering below error message. How can I fix the error.
I reinstalled/repaired the program.
Could not start visual studio due to an error. StreamJsonRpc.RemoteInvocationException: Failed to start host 'dotnet$IdentityHost'. (ErrorKind: HostExited HResult: 80131500)
Version: VS 2022 - 17.4.4

There is this ticket about it https://developercommunity.visualstudio.com/t/could-not-start-visual-studio-failed-to-start-host/1170525 dit you have a look at it?
The poster said that he solved it by disabling avast anti-virus.

Related

TFS build giving error - The active Test Run was aborted because the execution process exited unexpectedly

We are using Visual Studio 2019 and TFS server 2015.
TFS build is giving below error:
Error: The active Test Run was aborted because the execution process exited unexpectedly. The test execution process crashed while running the tests. To investigate further, open file:///C:/Users/username/AppData/Local/CrashDumps/TE.ProcessHost.Managed.exe.11108.dmp file in Visual Studio and choose "Debug in mixed mode".
##[error]VSTest Test Run failed with exit code: 1
##[error] at Microsoft.TeamFoundation.DistributedTask.Task.Internal.PowerShell.InvokeVSTestCmdlet.ProcessRecord()
##[error] at System.Management.Automation.CommandProcessor.ProcessRecord()
If we uncheck Code coverage enable checkbox, then build gets successful, its failing when we enable that check box.
Observation: Recently on server, Visual Studio Build Tools 2022 (17.2.5) got updated. After that TFS builds not working.
Please someone help to solve this issue.

DEP6720: Failed to deploy package 'Native Debugger'

After updating the OS of the Hololens, I got the following error for all applications (built with Unity)
DEP6720 Failed to deploy package 'native Debugger'
DEP6859 Error
removing the file from the remote device DiagnosticsHubMsg.ddl not
found HRESULT exception 0x800700002
I googled and could not find any reference to this problem. I wonder if I have to update visual studio? (the latest seems to be 15.7.5)
EDIT:
I updated visual studio to 15.7.5 hoping to solve the problem. Now it is worse
I got the error but also these other errors
DEP6721 Failed to deploy optional package 'XAML UI Debugger
2'DEP6950: Error transferring the file to the remote device
XamlDiagnostics DEP6721: Failed to deploy optional package 'XAML UI
Debugger Dependency' DEP6950: Error transferring the file to the
remote device: XamlDiagnostics.dll. Remote Device Disconnected'.
DEP6721: Failed to deploy optional package 'Standard Collector
Bridge'DEP6950: Error transferring the file to the remote
device:DiagnosticsHub.StandardCollector.Bridge.dll. Remote Device
Disconnected'. DEP6720: Failed to deploy package 'Windows 10 Remote
Tools' DEP6950: Error transferring the file to the remote
device:TailoredDeploy.exe. Remote Device Disconnected'. DEP6720:
Failed to deploy package 'Core CLR' DEP6950: Error transferring the
file to the remote device: clrcompression.dll. Remote Device
Disconnected'.
I am lost at what to do
I could finally got to deploy on the hololens.
After following different advice that did not work, in the end I repaired my installation of Visual Studio.
After the repair, VS was set again to the language of Windows. The colors of the editor also changed. I could deploy to the hololens there. (it took a lot of time the first time)
However -and for some strange reason- I could not change my settings back to english. If I do that, the same problem reappears. So even though I am more confortable with english, now I have to use visual studio in the same language of the operation system

Getting error "Exception has been thrown by task scheduler" while opening Visual Studio in Windows 7

After Automatic updates installation of windows 7 encountered the error
Exception has been thrown by task scheduler
while opening the Visual Studio
Need to install this update if we are getting the error "Exception has been thrown by the task scheduler".
This is because of the D3DCOMPILER_47.dll is missing.
Link to download the update :
http://download.windowsupdate.com/c/msdownload/update/software/updt/2017/05/windows6.1-kb4019990-x64_35cc310e81ef23439ba0ec1f11d7b71dd34adfe5.msu

Deployment on IoT device remotely from VS 2015 failed with unexpected error: 'Wrong format: Unrecognized date-time format

Deployment of Windows IoT background application from my Visual studio on remote IoT (Raspberry pi 3) device is failing.
Error from the output log of visual studio does not provide any insight into the actual issue.
Error which I am getting in Visual Studio -
Error : DEP6701 : Bootstrapping failed with unexpected error: 'Wrong format: Unrecognized date-time format.'.
Here are my device setup details:
visual studio 2015 on my Hyper-V virtual Windows 10 machine.
Remote device - Raspberry Pi3 running Windows 10. (10.0.14393.67)
Created IoT background application using the template (without any
code changes).
It is building successfully but while deployment it is throwing an error -
How to fix this deployment related error?
Thanks,
/vikas

Oracle 12c client installer error

I'm trying to install Oracle client 12.1.0.2.0 (32-bit) on a completely clean copy of windows Server 2012, and I'm hitting a problem.
The installer runs fine until it gets to the final part - the net configuration assistant. An error message appears and says "[INS-20802] Oracle Net Configuration Assistant failed.". Here's the relevant part of the log file that is generated (I can post the entire thing if requested, but here's the bit with the actual error occurs):
INFO: Read: UnsatisfiedLinkError exception loading native library: oranjni12
INFO: Stderr Read: java.lang.UnsatisfiedLinkError: oracle.net.common.NetGetEnv.jniGetOracleHome()Ljava/lang/String;
WARNING: Skipping line: UnsatisfiedLinkError exception loading native library: oranjni12
INFO: Read: java.lang.UnsatisfiedLinkError: C:\app\ORACLE_USER\product\12.1.0\client_1\BIN\oranjni12.dll: Can't find dependent libraries
INFO: Stderr Read: at oracle.net.common.NetGetEnv.jniGetOracleHome(Native Method)
INFO: Stderr Read: at oracle.net.common.NetGetEnv.getOracleHome(Unknown Source)
INFO: Stderr Read: at oracle.net.ca.NetCALogger.getOracleHome(NetCALogger.java:230)
INFO: Stderr Read: at oracle.net.ca.NetCALogger.initOracleParameters(NetCALogger.java:215)
INFO: Stderr Read: at oracle.net.ca.NetCALogger.initLogger(NetCALogger.java:130)
INFO: Stderr Read: at oracle.net.ca.NetCA.main(NetCA.java:433)
WARNING: Skipping line: java.lang.UnsatisfiedLinkError: C:\app\ORACLE_USER\product\12.1.0\client_1\BIN\oranjni12.dll: Can't find dependent libraries
INFO: Read:
WARNING: Skipping line:
INFO: Read: Error: oracle.net.common.NetGetEnv.jniGetOracleHome()Ljava/lang/String;
WARNING: Skipping line: Error: oracle.net.common.NetGetEnv.jniGetOracleHome()Ljava/lang/String;
INFO: Read: Oracle Net Services configuration failed. The exit code is 1
WARNING: Skipping line: Oracle Net Services configuration failed. The exit code is 1
INFO: Completed Plugin named: Oracle Net Configuration Assistant
Here are a few things I have tried:
turning the firewall off
disconnecting from network (clutching at straws!)
running the installer as administrator
re-downloading the client installer from Oracle, in case it had somehow been corrupted
None of these things made any difference. I have successfully installed this exact version of the client on a Windows Server 2012 PC in the past and it worked fine...
Has anyone else encountered this issue?
It turns out that the Oracle 12.1.0.2.0 client needs the MSVC 2010 redistributable to be installed first.
I got it from here: https://www.microsoft.com/en-gb/download/details.aspx?id=5555
Once installed the Oracle client installer runs fine! Couldn't find this anywhere in the Oracle documentation, and the error message is not helpful at all...
Quick, clean easy fix:-
There is a bug in the 32-bit Oracle Installer file ./install/oraparam.ini, it’s trying to install the 64-bit version of MSVC instead of the 32-bit version.
Open install/oraparam.ini
Replace MSVCREDIST_LOC=vcredist_x64.exe
with
MSVCREDIST_LOC=vcredist_x86.exe
Save
Run installer
Having the same problem "[INS-20802] Oracle Net Configuration Assistant failed" and trying to install many times Oracle12cR2 on Windows1O. I installed Oracle12cR1 without problems, so I realized that "vcredist_x64.exe" file is even latest than the file I downloaded before from Microsoft webpage.
In this case, I uninstalled Oracle12cR1 and Installed again the Oracle12cR2 version, but using the vcredist_x64.exe that came together in the installation of Oracle12cR1.
Doing this, I was able to install the Oracle12cR2 without problems on Windows10.
I just got the same problem that oracle client did not install successful.
It stops with error [INS-20802] Oracle Net-Konfigurationsassistent nicht erfolgreich.
Just press button Überspringen/Skip a few times - it installs the needed dlls anyway. Then close/finish the installation.
Now you can start oracle/SQL Developer.

Resources