<?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 Re: Help with V3 snapdiff API on Windows in ONTAP Rest API Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Help-with-V3-snapdiff-API-on-Windows/m-p/442045#M471</link>
    <description>&lt;P&gt;The RPC server is turned on and as mentioned above, the rpc connect is successful and returns a handle, but subsequent rpc calls with the handle throw an exception.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Mar 2023 11:27:21 GMT</pubDate>
    <dc:creator>PeteTanenhaus</dc:creator>
    <dc:date>2023-03-01T11:27:21Z</dc:date>
    <item>
      <title>Help with V3 snapdiff API on Windows</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Help-with-V3-snapdiff-API-on-Windows/m-p/442028#M469</link>
      <description>&lt;P&gt;I am trying to prototype using the version 3 snapdiff api and have been running into access violations, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using Visual Studio 2017 (and building x64) and I have built the x64 version of&lt;STRONG&gt; oncrpc.dll&lt;/STRONG&gt; .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have successfully issued the REST api's to generate an access token from the NetApp supplied license, and have also been able to issue the REST api to start a snapdiff session and return a session id and handle.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code calls &lt;STRONG&gt;sd_rpc_connect_v3 &lt;/STRONG&gt;with cluster ip address and session information from the rest call, and it succeeds and returns what appears to be a valid &lt;STRONG&gt;sd_connect_handle_t &lt;/STRONG&gt;handle.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem is that calling any rpc calls with this handle (even&lt;STRONG&gt; sd_rpc_disconnect_v3&lt;/STRONG&gt;) throws an access violation exception.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe I followed all of the instructions in the SDK documentation and I am using SDK DLL's and libraries in&amp;nbsp; &lt;STRONG&gt;lib\nt\x64\VS22.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the exception I consistently am getting:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PeteTanenhaus_0-1677617131285.png" style="width: 855px;"&gt;&lt;img src="https://community.netapp.com/t5/image/serverpage/image-id/25236i36AB7CD1D93536EF/image-dimensions/855x375?v=v2" width="855" height="375" role="button" title="PeteTanenhaus_0-1677617131285.png" alt="PeteTanenhaus_0-1677617131285.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Again, the connect appears to be successful and does return what appears to be a valid handle.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any insight or suggestion would be greatly appreciated ....&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 09:52:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Help-with-V3-snapdiff-API-on-Windows/m-p/442028#M469</guid>
      <dc:creator>PeteTanenhaus</dc:creator>
      <dc:date>2025-06-04T09:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help with V3 snapdiff API on Windows</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Help-with-V3-snapdiff-API-on-Windows/m-p/442044#M470</link>
      <description>&lt;P&gt;No idea, only thing that I could ask you to check is - Is this option enabled ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Run the commands below to enable&lt;/P&gt;&lt;P&gt;::&amp;gt; set adv&lt;/P&gt;&lt;P&gt;::&amp;gt; vserver snapdiff-rpc-server on -vserver &amp;lt;svm_name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To verify&lt;/P&gt;&lt;P&gt;::&amp;gt; set adv&lt;/P&gt;&lt;P&gt;::&amp;gt; vserver snapdiff-rpc-server-show&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 10:09:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Help-with-V3-snapdiff-API-on-Windows/m-p/442044#M470</guid>
      <dc:creator>Ontapforrum</dc:creator>
      <dc:date>2023-03-01T10:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help with V3 snapdiff API on Windows</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Help-with-V3-snapdiff-API-on-Windows/m-p/442045#M471</link>
      <description>&lt;P&gt;The RPC server is turned on and as mentioned above, the rpc connect is successful and returns a handle, but subsequent rpc calls with the handle throw an exception.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 11:27:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Help-with-V3-snapdiff-API-on-Windows/m-p/442045#M471</guid>
      <dc:creator>PeteTanenhaus</dc:creator>
      <dc:date>2023-03-01T11:27:21Z</dc:date>
    </item>
  </channel>
</rss>

