Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get-HybridConnection NewtonSoft.Json Version4.5.0.0 cannot find file #76

Closed
ashelley opened this issue Jan 8, 2015 · 1 comment
Closed

Comments

@ashelley
Copy link

ashelley commented Jan 8, 2015

Hello I'm having this issue:

PS C:\WINDOWS\system32> get-hybridconnection
get-hybridconnection : Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral,
PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.
At line:1 char:1
+ get-hybridconnection
+ ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Get-HybridConnection], FileNotFoundException
    + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.HybridConnectionManager.Commands.GetHybridConn
   ection

I found this issue that talks about it on stack overflow:

http://stackoverflow.com/questions/26937504/unable-to-perform-azure-biztalk-hybrid-connection-on-premisis-part

Is there anything to do to resolve this?

I've read this:

http://blog.rthand.com/post/2013/11/04/When-net-assemblies-arent-properly-versioned-odd-errors-happen.aspx

but I do not have JSON.net installed into the gac:

C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>gacutil /l newtonsoft.jso
n
Microsoft (R) .NET Global Assembly Cache Utility.  Version 4.0.30319.1
Copyright (c) Microsoft Corporation.  All rights reserved.

The Global Assembly Cache contains the following assemblies:

Number of items = 0

Any help is appreciated

@matt-gibbs
Copy link
Contributor

The assembly does not need to be installed into the gac. The cmdlet resources should have been part of the install. Perhaps the install was using a different profile than your current user. The walkthrough says that you must be running as admin. Also, the 64-bit Powershell and 32-bit powershell will have different assembly resolver paths. Closing this issue in this repo. The hybridconnection manager isn't part of azure powershell.

hyonholee referenced this issue in hyonholee/azure-powershell Sep 4, 2015
ionuttulai pushed a commit to ionuttulai/azure-powershell that referenced this issue Mar 4, 2020
Adding root level .gitignore and .gitattributes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants