microsoft / SDN

This repo includes PowerShell scripts and VMM service templates for setting up the Microsoft Software Defined Networking (SDN) Stack using Windows Server 2016
Other
486 stars 541 forks source link

VMM Could not load file or assembly Newtonsoft.Json #180

Open devalian opened 6 years ago

devalian commented 6 years ago

Hi,

my SCVMM suddenly have the following error: Execution of :: on the configuration provider failed. Detailed exception: Unable to connect to the network service. Check connection string and network connectivity. Execution of Microsoft.SystemCenter.NetworkService::OpenDeviceConnectionEx on the configuration provider 3e2875a7-5831-4fb2-b388-1672e1c20fee failed. Detailed exception: System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified. Check the documentation for the configuration provider or contact the publisher support. Unable to connect to the network service. Check connection string and network connectivity.

Check the documentation for the configuration provider or contact the publisher support.

ID: 21426

anyone know what's the problem?

micros01 commented 6 years ago

Have you possibly installed Azure Site recovery on the VMM server? I had this error also, realized after some troubleshooting that the Newtonsoft.json.dll in VMM\bin folder was replaced by ASR with an older version. Added back the original DLL-file to the bin folder, restarted the service and then the NC was fine again.

devalian commented 6 years ago

Wow yes I did install asr. Just to give a bit of the background, I had both SDNv2 and asr installed around the same week, and right after that having multiple issues where cluster was unstable, rhs issue happening, seems to be asr causes rhs issue. Hence I uninstalled the asr recently.

Let me give it a try.

devalian commented 6 years ago

also, can i check with you what's the version comes with VMM? i currently have 6.0.4.17603. if its not the correct version, do you mind to send me a copy? my email is rklee@cloudify.asia