<?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: Vault 2018 – AddIn - Some items in original selection set are no longer avai in Vault Customization Forum</title>
    <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-2018-addin-some-items-in-original-selection-set-are-no/m-p/7154234#M7408</link>
    <description>&lt;P&gt;A small update, it seems to be a connection issue.&lt;/P&gt;&lt;P&gt;The first response after a refresh is:&lt;/P&gt;&lt;P&gt;Error&lt;/P&gt;&lt;P&gt;Your account is logged out of the Autodesk data managment server. You must log in to access the vault.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is anybody else experiencing this or a similar issue&amp;nbsp;with 2018?&lt;/P&gt;</description>
    <pubDate>Thu, 15 Jun 2017 09:59:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-06-15T09:59:28Z</dc:date>
    <item>
      <title>Vault 2018 – AddIn - Some items in original selection set are no longer availabl</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-2018-addin-some-items-in-original-selection-set-are-no/m-p/7154027#M7407</link>
      <description>&lt;P&gt;Hello Reader smarter than me,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are running into a very strange issue and or glitch with Vault 2018 (Client) API. The (clearly undesired) result is an action that will work only once and then cause the Error from the Title, “Some items in original selection set are no longer available in Vault. Please refresh and try performing the operation again.”&lt;/P&gt;&lt;P&gt;The only cure is to Log Out, Log In again and again it will only work once and fail (even a refresh will cause the issue).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My first thought was that the connection is timed out or killed in some other way.&lt;/P&gt;&lt;P&gt;Another quite strange thing is, it work in 2016 as expected with no issues at all. This suggest that it is just a referencing issue of some sort.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The things that have been updated/changed for the 2018 version are&lt;/P&gt;&lt;P&gt;Updated output path to 2018 -&amp;gt; C:\ProgramData\Autodesk\Vault 2018\Extensions\tna\&lt;/P&gt;&lt;P&gt;Updated ApiVersion to 11.0 -&amp;gt; &amp;lt;Assembly: Autodesk.Connectivity.Extensibility.Framework.ApiVersion("11.0")&amp;gt;&lt;/P&gt;&lt;P&gt;Updated Referenced to SDK 2018 with same setting (Copy Local: False; Specific Version: False) -&amp;gt;&lt;/P&gt;&lt;P&gt;18.02.17 09:55&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 28.672 Autodesk.Connectivity.Explorer.Extensibility.dll&lt;/P&gt;&lt;P&gt;12.01.17 18:35&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 27.244 Autodesk.Connectivity.Explorer.Extensibility.xml&lt;/P&gt;&lt;P&gt;18.02.17 09:55&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 47.104 Autodesk.Connectivity.Extensibility.Framework.dll&lt;/P&gt;&lt;P&gt;12.01.17 18:35&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 25.734 Autodesk.Connectivity.Extensibility.Framework.xml&lt;/P&gt;&lt;P&gt;18.02.17 09:55&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 429.056 Autodesk.Connectivity.WebServices.dll&lt;/P&gt;&lt;P&gt;12.01.17 18:35&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 657.322 Autodesk.Connectivity.WebServices.xml&lt;/P&gt;&lt;P&gt;18.02.17 09:55&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.788.928 Autodesk.DataManagement.Client.Framework.Vault.dll&lt;/P&gt;&lt;P&gt;12.01.17 18:35&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 411.955 Autodesk.DataManagement.Client.Framework.Vault.xml&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is also not only related to the Vault Client, similar code is run in Inventor and will also fail after 1 call.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help or thoughts where the issue may be causes and or solved is very appreciated. If any additional information is required please ask.&lt;/P&gt;&lt;P&gt;Furthermore we struggle to find the Changes in the SDK through the online help.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.autodesk.com/view/VAULT/2018/ENU/?query=changes&amp;amp;cg=Developer's%20Documentation" target="_blank"&gt;http://help.autodesk.com/view/VAULT/2018/ENU/?query=changes&amp;amp;cg=Developer's%20Documentation&lt;/A&gt; ???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Info:&lt;/P&gt;&lt;P&gt;OS Client: Windows 7 Professional, Service Pack 1&lt;/P&gt;&lt;P&gt;Vault Professional Client 2018 Build: 23.0.76.0 (has the issue)&lt;/P&gt;&lt;P&gt;Vault Professional Client 2016 Build: 21.1.4.0, Update 1 (works like a charm)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://knowledge.autodesk.com/support/vault-products/troubleshooting/caas/sfdcarticles/sfdcarticles/Error-Some-items-in-original-selection-set-are-no-longer-available-in-Vault-Please-refresh.html" target="_blank"&gt;https://knowledge.autodesk.com/support/vault-products/troubleshooting/caas/sfdcarticles/sfdcarticles/Error-Some-items-in-original-selection-set-are-no-longer-available-in-Vault-Please-refresh.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The issue also occurs with Windows Admin running the code with an admin Vault user account.&lt;/P&gt;&lt;P&gt;Some items in original selection set are no longer available in Vault. Please refresh and try performing the operation again.&lt;/P&gt;&lt;P&gt;System.ServiceModel.Channels.ServiceChannel&lt;/P&gt;&lt;P&gt;In the Inventor AddIn the (translated) error produces is, Error: No access to a deleted object. Objectname: System.ServiceModel.Channels.ServiceChannel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reserve for code snippets:&lt;/P&gt;&lt;P&gt;As most of the code is custom / business specific and will only work with our Vault it does not really make sense to place the complete code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Anne&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2017 08:09:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/vault-2018-addin-some-items-in-original-selection-set-are-no/m-p/7154027#M7407</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-15T08:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Vault 2018 – AddIn - Some items in original selection set are no longer avai</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-2018-addin-some-items-in-original-selection-set-are-no/m-p/7154234#M7408</link>
      <description>&lt;P&gt;A small update, it seems to be a connection issue.&lt;/P&gt;&lt;P&gt;The first response after a refresh is:&lt;/P&gt;&lt;P&gt;Error&lt;/P&gt;&lt;P&gt;Your account is logged out of the Autodesk data managment server. You must log in to access the vault.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is anybody else experiencing this or a similar issue&amp;nbsp;with 2018?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2017 09:59:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/vault-2018-addin-some-items-in-original-selection-set-are-no/m-p/7154234#M7408</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-15T09:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Vault 2018 – AddIn - Some items in original selection set are no longer avai</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-2018-addin-some-items-in-original-selection-set-are-no/m-p/7154262#M7409</link>
      <description>&lt;P&gt;Hello Anne,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can imagine how horrible these kind of issues can be. Especially when it works in 2016 and suddenly does not in 2018.&lt;/P&gt;&lt;P&gt;All joking aside I just want to share what the actual issue was.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some reason I started with an application not running in the Vault Client and pasted the code. In 2014, 2016 it worked without any issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the code I utilize Using statement and this was causing the issue. Probably the disposing in pre 2018 was not working and got fixed.&lt;/P&gt;&lt;P&gt;Upon changing the Using Statement it works as expected again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For info:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000" face="Consolas" size="2"&gt;'Using mgr As ACWT.WebServiceManager = mVault.mApp.Connection.WebServiceManager&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000" face="Consolas" size="2"&gt;'End Using&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000" face="Consolas" size="2"&gt;Changed to&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;Dim&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; mgr &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;As&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; ACWT.&lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;WebServiceManager&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt; = &lt;/FONT&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;mVault&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;.mApp.Connection.WebServiceManager&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Anne&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2017 10:21:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/vault-2018-addin-some-items-in-original-selection-set-are-no/m-p/7154262#M7409</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-15T10:21:07Z</dc:date>
    </item>
  </channel>
</rss>

