<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Could not load file or assembly 'Newtonsoft.Json in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Could-not-load-file-or-assembly-Newtonsoft-Json/m-p/455575#M6960</link>
    <description>&lt;P&gt;when using the PSToolkit provided with SnapCenter, I very often get this error when importing the DataOntap.C.dll module under the PSTOOLKIT:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS C:\Windows\system32&amp;gt; Import-Module "C:\Program Files\NetApp\SMCore\SAL\PSToolkit\DataONTAP.C.dll"&lt;BR /&gt;Import-Module : Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.&lt;BR /&gt;At line:1 char:1&lt;BR /&gt;+ Import-Module "C:\Program Files\NetApp\SMCore\SAL\PSToolkit\DataONTAP ...&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : NotSpecified: (:) [Import-Module], FileNotFoundException&lt;BR /&gt;+ FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.ImportModuleCommand&lt;/P&gt;&lt;P&gt;PS C:\Windows\system32&amp;gt; $PSVersiontable&lt;/P&gt;&lt;P&gt;Name Value&lt;BR /&gt;---- -----&lt;BR /&gt;PSVersion 5.1.17763.5122&lt;BR /&gt;PSEdition Desktop&lt;BR /&gt;PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}&lt;BR /&gt;BuildVersion 10.0.17763.5122&lt;BR /&gt;CLRVersion 4.0.30319.42000&lt;BR /&gt;WSManStackVersion 3.0&lt;BR /&gt;PSRemotingProtocolVersion 2.3&lt;BR /&gt;SerializationVersion 1.1.0.1&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PS C:\Windows\system32&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;there is no newtonsoft in the PSTOOLKIT directory. I even tried to grab the file from the smcore directtory but that does not change anything either.&lt;/P&gt;&lt;P&gt;I am trying this in the LAB but customers hit same issues. in some lab it works though. I suppose different versions.&lt;/P&gt;&lt;P&gt;but how do I tackle this problem for good when I hit it?&lt;/P&gt;&lt;P&gt;without reinstalling .Net or anything disruptive like that please, as I would give same piece of advice to customers.&lt;/P&gt;&lt;P&gt;it would be nice to know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Domenico.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Oct 2024 17:49:11 GMT</pubDate>
    <dc:creator>dmauro</dc:creator>
    <dc:date>2024-10-02T17:49:11Z</dc:date>
    <item>
      <title>Could not load file or assembly 'Newtonsoft.Json</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Could-not-load-file-or-assembly-Newtonsoft-Json/m-p/455575#M6960</link>
      <description>&lt;P&gt;when using the PSToolkit provided with SnapCenter, I very often get this error when importing the DataOntap.C.dll module under the PSTOOLKIT:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS C:\Windows\system32&amp;gt; Import-Module "C:\Program Files\NetApp\SMCore\SAL\PSToolkit\DataONTAP.C.dll"&lt;BR /&gt;Import-Module : Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.&lt;BR /&gt;At line:1 char:1&lt;BR /&gt;+ Import-Module "C:\Program Files\NetApp\SMCore\SAL\PSToolkit\DataONTAP ...&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : NotSpecified: (:) [Import-Module], FileNotFoundException&lt;BR /&gt;+ FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.ImportModuleCommand&lt;/P&gt;&lt;P&gt;PS C:\Windows\system32&amp;gt; $PSVersiontable&lt;/P&gt;&lt;P&gt;Name Value&lt;BR /&gt;---- -----&lt;BR /&gt;PSVersion 5.1.17763.5122&lt;BR /&gt;PSEdition Desktop&lt;BR /&gt;PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}&lt;BR /&gt;BuildVersion 10.0.17763.5122&lt;BR /&gt;CLRVersion 4.0.30319.42000&lt;BR /&gt;WSManStackVersion 3.0&lt;BR /&gt;PSRemotingProtocolVersion 2.3&lt;BR /&gt;SerializationVersion 1.1.0.1&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PS C:\Windows\system32&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;there is no newtonsoft in the PSTOOLKIT directory. I even tried to grab the file from the smcore directtory but that does not change anything either.&lt;/P&gt;&lt;P&gt;I am trying this in the LAB but customers hit same issues. in some lab it works though. I suppose different versions.&lt;/P&gt;&lt;P&gt;but how do I tackle this problem for good when I hit it?&lt;/P&gt;&lt;P&gt;without reinstalling .Net or anything disruptive like that please, as I would give same piece of advice to customers.&lt;/P&gt;&lt;P&gt;it would be nice to know.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Domenico.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2024 17:49:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Could-not-load-file-or-assembly-Newtonsoft-Json/m-p/455575#M6960</guid>
      <dc:creator>dmauro</dc:creator>
      <dc:date>2024-10-02T17:49:11Z</dc:date>
    </item>
  </channel>
</rss>

