That was my point! Patching to.NET 4.6.1 breaks NPM! I just asked because a bunch of people have been recently burned by this. When posting a Purchase Order Invoice, we are getting 'Exception has been thrown by the target of an invocation' for random Purchase Orders/Items/Vendors. This production environment has been live for a year and this issue just arose in the past month. 'Exception has been thrown by the target of an invocation' error message when you try to create a project in Visual Studio 2015 IDE As per the VS IDE log (ActivityLog.xml), Construction of frame content failed. Frame identifier: ST:0:0:{74946827-37a0-11d2-a273-00c04f8ef4ff} Frame caption: Exception details: System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) at Microsoft.VisualStudio.Shell.Interop.IVsShell5.LoadPackageWithContext(Guid& packageGuid, Int32 reason, Guid& context) at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.GetPackage() at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent() I also reviewed the DebugDiag trace. Considering above error message, one of the relevant call stacks was as mentioned below: Type: System.Reflection.TargetInvocationException This problem occurs when the 'FIPS-compliant algorithms' policy is enabled on a system. For more details:https://support.microsoft.com/en-in/kb/811833 Here, fipsalgorithmpolicy registry subkey was set to 1 (Enabled). [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlLsaFipsAlgorithmPolicy] I disabled FIPS setting “Enabled” DWORD value to Zero. [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlLsaFipsAlgorithmPolicy] Then the problem was resolved. I was able to create projects in Visual Studio 2015 IDE. For whatever reason the New-DeployRule cmdlet has been throwing an error on this one system and I have been beating my face off the desk trying to figure out what is the fix. I can run it all day elsewhere so I'm not sure what my roadblock here is. Baby einstein bouncer recall. Long story short, I get an error when trying to make a new Auto Deploy rule >New-DeployRule -Name FirstBoot -Item ESXi-HA -AllHosts Pretty simple, and straight forward. However it barfs out this error New-DeployRule : Cannot process argument transformation on parameter 'Item'. Exception has been thrown by the target of an invocation. At line:1 char:38 I upgraded PowerCLI to the latest version with the vCD cmdlets, same error. I originally had .net 4 so I made it match my Win 7 VM where this command works all day long that has a bunch of .net versions sandwiched together so now there is 2.0 sp2, 3.0 sp2, 3.5sp1 and 4 for the sake of grabbing straws. I get the same error all the time. Would anybody have any great ideas of anything to at least check? Thanks, steve
0 Comments
Leave a Reply. |