Error due to .Net Version


Summary

This article provides a summary on how to fix error regarding .Net version.

Applies To

This article applies to MachPanel build v5.3.10.

Symptoms Or Error MSG:

Failure due to: Error processing command: Value cannot be null. 
Parameter name: parameters
For this change from .net 4.0 to 2.0
Failure due to: Error processing command: Value cannot be null. Parameter name: serverSettings



Steps to Resolve

     1. You may encounter some new error for remote server where Prov Svc needs to be run under v2.0 like for Ex2010 or SharePoint 2010 integration etc. Check Prov. Svc version on remote server and change to 2.0.

Open"MachSol.MachPanel.Provisioning-Svc.exe.Config" on Remote server under MachPanel Remote Serverinstallation directory C:\Program Files\MachSol\MachPanel Remote Server.



Replace the code:

<       <startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>

        BY

<       <startup><supportedRuntime version="v2.0.50727"/></startup>








  1. .Net 4.0 is required for Ex 2013 or later, CRM 2013 or later, SharePoint 2013 or later, Lync 2010 or later, Hyper-V 2012 R2 or later. Replace the code.

<       <startup><supportedRuntime version="v2.0.50727"/></startup>

        BY

<       <startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>