<?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 API sample code problem in Vault Customization Forum</title>
    <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-api-sample-code-problem/m-p/3116882#M12614</link>
    <description>&lt;P&gt;Thanks for the reply Doug, I have tried re-building but that did not solve it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This morning the standard code was working again, nothing changed - just decided it would run again. So I made a modification (added a loop to step through&amp;nbsp;a selection of&amp;nbsp;files)&amp;nbsp;and ran it again - the&amp;nbsp;error returned! The standard code fails with 'promote error' and code 155. Re-booting / re-building&amp;nbsp;does not clear it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it is something in my modified code that is upsetting things, but everything seems to be fine up to the promote command.&amp;nbsp;I am passing a valid ID number but cannot figure out why the promote is failing or what is preventing normal operation after the error ocurs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will remove Restrict Operations and see if that helps the situation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Aug 2011 14:49:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-08-08T14:49:20Z</dc:date>
    <item>
      <title>Vault API sample code problem</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-api-sample-code-problem/m-p/3114684#M12611</link>
      <description>&lt;P&gt;Something strange happened yesterday and I can't find the solution - I was using the Item Editor sample code and everything worked fine at first. For no apparent reason it stopped working, when I try to create an item it gives a "Promote Error". When I debug I get an error at the promote files line saying "there is no source code at the current location" and then the promote error followed by error code 155.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did not modify the sample code in any way, and I have re-installed the SDK to make sure it was clean. I also applied the API patch.&amp;nbsp;I am assuming that it is a VS / config&amp;nbsp;issue and I have googled it but with no success. My setup is Vault Pro 2012 running on Win 7 64bit (server &amp;amp; client running on dev machine) / VS 2008 Pro.&amp;nbsp;Can anyone help please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2011 09:15:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/vault-api-sample-code-problem/m-p/3114684#M12611</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-05T09:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Vault API sample code problem</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-api-sample-code-problem/m-p/3114802#M12612</link>
      <description>&lt;P&gt;Update - I tried removing references and adding them&amp;nbsp;back in. If I use the Autodesk.Connectivity.Extensibility.dll from the Client explorer folder I get a different error - the source file is different from when the module was built - and when I continue&amp;nbsp;it jumps into event handler&amp;nbsp;code from the Restrict Operations sample (which I had used previously). It seems like the dll has been modified, is this possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still have no idea why the code suddenly stopped working though, nothing changed on the PC and I did not do anything with the Restrict Operations sample at that time. I am new to .net and maybe this is a&amp;nbsp;basic newbie blunder, but any help or guidance would be very&amp;nbsp;appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2011 11:20:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/vault-api-sample-code-problem/m-p/3114802#M12612</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-05T11:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Vault API sample code problem</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-api-sample-code-problem/m-p/3116832#M12613</link>
      <description>&lt;P&gt;The error "there is no source code at the current location"﻿ could mean that the error is originating outside your source code.&amp;nbsp; Such as a referenced DLL like Autodesk.Connectivity.WebServices.dll.&lt;/P&gt;
&lt;P&gt;It could also means that your source code does not matched the compiled code.&amp;nbsp; If that's the problem, a rebuild should fix it.&lt;/P&gt;
&lt;P&gt;It could also mean that you are trying to debug a Release build.&amp;nbsp; If that's the problem, switch to the Debug configuration and re-run.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to the API documentation, error 155 means IllegalNullParam.&amp;nbsp; That means that null was passed in incorrectly to an API function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are confused about altered DLLs you can go to Windows Explorer and view the properties on the DLL.&amp;nbsp; The version number and create date should tell you if things have changed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It sounds like RestrictOperations is interfering with things.&amp;nbsp; I suggest un-deploying that app so that you can remove that as a possible source of errors.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2011 14:27:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/vault-api-sample-code-problem/m-p/3116832#M12613</guid>
      <dc:creator>Redmond.D</dc:creator>
      <dc:date>2011-08-08T14:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Vault API sample code problem</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-api-sample-code-problem/m-p/3116882#M12614</link>
      <description>&lt;P&gt;Thanks for the reply Doug, I have tried re-building but that did not solve it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This morning the standard code was working again, nothing changed - just decided it would run again. So I made a modification (added a loop to step through&amp;nbsp;a selection of&amp;nbsp;files)&amp;nbsp;and ran it again - the&amp;nbsp;error returned! The standard code fails with 'promote error' and code 155. Re-booting / re-building&amp;nbsp;does not clear it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it is something in my modified code that is upsetting things, but everything seems to be fine up to the promote command.&amp;nbsp;I am passing a valid ID number but cannot figure out why the promote is failing or what is preventing normal operation after the error ocurs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will remove Restrict Operations and see if that helps the situation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2011 14:49:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/vault-api-sample-code-problem/m-p/3116882#M12614</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-08T14:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Vault API sample code problem</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-api-sample-code-problem/m-p/3810811#M12615</link>
      <description>&lt;P&gt;I also this problem after&amp;nbsp;UpdateItemsFromFiles API function ...&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2013 08:12:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/vault-api-sample-code-problem/m-p/3810811#M12615</guid>
      <dc:creator>maxstels</dc:creator>
      <dc:date>2013-03-21T08:12:26Z</dc:date>
    </item>
  </channel>
</rss>

