<?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: Login problem Vault 2017 in custom web service in Vault Customization Forum</title>
    <link>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6382214#M8400</link>
    <description>&lt;P&gt;Thanks for your feedback Wayne. Thats sounds logical.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Although your solution works as well, I tested another solution. I added the lines below to the web.config of the web service. (Got that from the Thin Client web.config). This works as well. What is the difference between your solution and mine? Is it that Licensing edition="None" is using the 'old' behavior by getting a license through the ADMS server?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;configSections&amp;gt;
    &amp;lt;section name="Licensing" type="Autodesk.Connectivity.WebServices.LicensingSection, Autodesk.Connectivity.WebServices"/&amp;gt;
  &amp;lt;/configSections&amp;gt;
  &amp;lt;Licensing edition="None"/&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jun 2016 12:12:02 GMT</pubDate>
    <dc:creator>psaarloos</dc:creator>
    <dc:date>2016-06-14T12:12:02Z</dc:date>
    <item>
      <title>Login problem Vault 2017 in custom web service</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6377541#M8398</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I ran into an issue with logging into Vault from a custom webservice.&lt;BR /&gt;&lt;BR /&gt;Vault Professional server and client are installed. The new 2017 WebService dll's, Interop and clmloader (64-bit) are deployed in the Virtual Directory of the custom web service. The ApplicationPool used by the custom web service is also running in 64-bit&lt;BR /&gt;&lt;BR /&gt;The WebServiceManager is failing to be created.&lt;BR /&gt;&lt;BR /&gt;The weird thing is that when I install a Vault Basic client the problem doesn't occur!&lt;BR /&gt;&lt;BR /&gt;I also tried to add the configsection to the web.config file (as explained in the Vault API help, Clic licensing app.config sample).&lt;BR /&gt;&lt;BR /&gt;Anybody an idea how to solve the issue?</description>
      <pubDate>Fri, 10 Jun 2016 17:14:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6377541#M8398</guid>
      <dc:creator>psaarloos</dc:creator>
      <dc:date>2016-06-10T17:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem Vault 2017 in custom web service</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6381025#M8399</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a suggestion to try:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;/P&gt;
&lt;P&gt;By default the SDK tries to locate the native DLLs in the same folder as the Autodesk.Connectivity.Webservices.dll assembly, but this breaks down when run under IIS, since IIS will copy a web-applications assemblies (but not native DLLs) to a “Temporary ASP.NET Files” folder where they are actually invoked from.&amp;nbsp; To solve this (assuming this is the problem they are seeing), they can set an “appPath” attribute to the location of the native DLLs in the licensing section of their web.config. &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;For example: &lt;BR /&gt;&amp;lt;Licensing edition="Professional" appPath=”c:\full\path\to\folder\with\native\DLLs” /&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;&amp;lt; &amp;lt;&amp;lt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let me know if this solves it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Wayne&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 18:57:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6381025#M8399</guid>
      <dc:creator>wayne.brill</dc:creator>
      <dc:date>2016-06-13T18:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem Vault 2017 in custom web service</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6382214#M8400</link>
      <description>&lt;P&gt;Thanks for your feedback Wayne. Thats sounds logical.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Although your solution works as well, I tested another solution. I added the lines below to the web.config of the web service. (Got that from the Thin Client web.config). This works as well. What is the difference between your solution and mine? Is it that Licensing edition="None" is using the 'old' behavior by getting a license through the ADMS server?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;configSections&amp;gt;
    &amp;lt;section name="Licensing" type="Autodesk.Connectivity.WebServices.LicensingSection, Autodesk.Connectivity.WebServices"/&amp;gt;
  &amp;lt;/configSections&amp;gt;
  &amp;lt;Licensing edition="None"/&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 12:12:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6382214#M8400</guid>
      <dc:creator>psaarloos</dc:creator>
      <dc:date>2016-06-14T12:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem Vault 2017 in custom web service</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6382930#M8401</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for letting me know the suggestion worked.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the feedback about &amp;nbsp; &amp;lt;Licensing edition="None"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"That will only work if the client will only be doing a read-only signin (which does not require a license)."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Wayne&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 16:13:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6382930#M8401</guid>
      <dc:creator>wayne.brill</dc:creator>
      <dc:date>2016-06-14T16:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem Vault 2017 in custom web service</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6383016#M8402</link>
      <description>Thanks for this valuable information Wayne!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Pim</description>
      <pubDate>Tue, 14 Jun 2016 16:50:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6383016#M8402</guid>
      <dc:creator>psaarloos</dc:creator>
      <dc:date>2016-06-14T16:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem Vault 2017 in custom web service</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6483100#M8403</link>
      <description>&lt;P&gt;Just thought I'd mention that I've been having this issue too, but mine was caused by the fact that I had:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color="#a31515" face="Consolas" size="2"&gt;Licensing&lt;/FONT&gt; &lt;FONT color="#ff0000" face="Consolas" size="2"&gt;edition&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;=&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;"n&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;one&lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;"&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt; /&amp;gt;&amp;nbsp; (The "N" needs to be capitalized) &lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And I forgot to set the &lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#0000ff" face="Consolas" size="2"&gt;&lt;FONT color="#2b91af" face="Consolas" size="2"&gt;AuthenticationFlags to &lt;/FONT&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;ReadOnly.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000" face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;Works now, yay.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000" face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;&lt;FONT face="Consolas" size="2"&gt;Thanks for the info Wayne.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2016 02:41:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6483100#M8403</guid>
      <dc:creator>gavbath</dc:creator>
      <dc:date>2016-08-08T02:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem Vault 2017 in custom web service</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6538501#M8404</link>
      <description>&lt;P&gt;Hi Wayne.&lt;/P&gt;&lt;P&gt;I'm&amp;nbsp;facing the same problem, and can't get the&amp;nbsp;webservice to work.&lt;/P&gt;&lt;P&gt;Can you provide a web.config file that has the "appPath" attribute specified?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bReg Ola&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2016 07:45:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6538501#M8404</guid>
      <dc:creator>ola_andersson</dc:creator>
      <dc:date>2016-09-02T07:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem Vault 2017 in custom web service</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6952200#M8405</link>
      <description>&lt;P&gt;Hello Wayne,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I had this very issue and this post helped. Now however I need to be able to submit a job from a webservice so I need to consume a license. What should this value be set too?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a list of valid values?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 22:32:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6952200#M8405</guid>
      <dc:creator>rjay75</dc:creator>
      <dc:date>2017-03-16T22:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem Vault 2017 in custom web service</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6952213#M8406</link>
      <description>&lt;P&gt;If it's Vault Professional, then you would use:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&amp;lt;Licensing edition="Professional"/&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 16 Mar 2017 22:36:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6952213#M8406</guid>
      <dc:creator>gavbath</dc:creator>
      <dc:date>2017-03-16T22:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem Vault 2017 in custom web service</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6952227#M8407</link>
      <description>&lt;P&gt;Thanks. That's what I thought.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However setting it to Professional results in this exception&amp;nbsp;'System.Runtime.InteropServices.SEHException' &amp;nbsp;being thrown when trying to actually login. Am I missing something else needed for getting a license.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Logging in readonly and with it set to None has no problems.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 22:41:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6952227#M8407</guid>
      <dc:creator>rjay75</dc:creator>
      <dc:date>2017-03-16T22:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem Vault 2017 in custom web service</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6952237#M8408</link>
      <description>&lt;P&gt;Would you mind including your code for the login call? I think the authenticationflags will need to be set to "Normal"&lt;/P&gt;
&lt;P&gt;Also, are you deploying these files to the build folder?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;"Autodesk.Connectivity.WebServices.Interop.dll"&lt;/LI&gt;
&lt;LI&gt;"Autodesk.Connectivity.WebServices.WCF.dll"&lt;/LI&gt;
&lt;LI&gt;"clmloader.dll"&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I don't know exactly what your error means, but those are the main things to check, as well as making sure that the build platform target (bitness) matches the versions of the dlls that you're referencing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 22:45:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6952237#M8408</guid>
      <dc:creator>gavbath</dc:creator>
      <dc:date>2017-03-16T22:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem Vault 2017 in custom web service</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6952245#M8409</link>
      <description>&lt;P&gt;Here's the code to login.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Snippet&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;protected&lt;/SPAN&gt;&amp;nbsp;VaultWebServiceConnection&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;string&lt;/SPAN&gt;&amp;nbsp;VaultServer,&amp;nbsp;&lt;SPAN&gt;string&lt;/SPAN&gt;&amp;nbsp;DefaultVault,&amp;nbsp;&lt;SPAN&gt;string&lt;/SPAN&gt;&amp;nbsp;VaultUserName,&amp;nbsp;&lt;SPAN&gt;string&lt;/SPAN&gt;&amp;nbsp;VaultPassword&lt;SPAN&gt;)&lt;/SPAN&gt;
&lt;SPAN&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;if&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;string&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;IsNullOrEmpty&lt;SPAN&gt;(&lt;/SPAN&gt;VaultServer&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&amp;nbsp;VaultServer&amp;nbsp;&lt;SPAN&gt;=&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;Settings&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;VaultServer;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;if&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;string&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;IsNullOrEmpty&lt;SPAN&gt;(&lt;/SPAN&gt;DefaultVault&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&amp;nbsp;DefaultVault&amp;nbsp;&lt;SPAN&gt;=&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;Settings&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;DefaultVault;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;if&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;string&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;IsNullOrEmpty&lt;SPAN&gt;(&lt;/SPAN&gt;VaultUserName&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&amp;nbsp;VaultUserName&amp;nbsp;&lt;SPAN&gt;=&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;Settings&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;VaultUserName;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;if&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;string&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;IsNullOrEmpty&lt;SPAN&gt;(&lt;/SPAN&gt;VaultPassword&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&amp;nbsp;VaultPassword&amp;nbsp;&lt;SPAN&gt;=&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;Settings&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;VaultPassword;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;ServerIdentities&lt;/SPAN&gt;&amp;nbsp;si&amp;nbsp;&lt;SPAN&gt;=&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;new&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;ServerIdentities&lt;/SPAN&gt;&lt;SPAN&gt;()&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;{&lt;/SPAN&gt;&amp;nbsp;DataServer&amp;nbsp;&lt;SPAN&gt;=&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;Settings&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;VaultServer,&amp;nbsp;FileServer&amp;nbsp;&lt;SPAN&gt;=&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;Settings&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;VaultServer&amp;nbsp;&lt;SPAN&gt;}&lt;/SPAN&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;UserPasswordCredentials&lt;/SPAN&gt;&amp;nbsp;usrpc&amp;nbsp;&lt;SPAN&gt;=&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;new&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;UserPasswordCredentials&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;si,&amp;nbsp;DefaultVault,&amp;nbsp;VaultUserName,&amp;nbsp;VaultPassword&lt;SPAN&gt;)&lt;/SPAN&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;try&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;_WebServiceManagerInstance&amp;nbsp;&lt;SPAN&gt;=&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;new&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;WebServiceManager&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;usrpc&lt;SPAN&gt;)&lt;/SPAN&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;}&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;catch&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Exception&lt;/SPAN&gt;&amp;nbsp;ex&lt;SPAN&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;throw&lt;/SPAN&gt;&amp;nbsp;ex;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;}&lt;/SPAN&gt;
&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And in my web.config&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Snippet&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;configSections&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;section&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;name&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Licensing&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;type&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Autodesk.Connectivity.WebServices.LicensingSection,&amp;nbsp;Autodesk.Connectivity.WebServices&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;/&amp;gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;configSections&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;Licensing&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;edition&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Professional&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;/&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Setting the licensing edition to Non get results in this exception.&amp;nbsp;'Autodesk.Connectivity.WebServices.VaultLicenseMismatchException'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Setting the licensing edition to None and adding the readonly flag to the credentials allows it to login but it a permission denied error when trying to submit a Job to the the JobService.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 22:51:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6952245#M8409</guid>
      <dc:creator>rjay75</dc:creator>
      <dc:date>2017-03-16T22:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem Vault 2017 in custom web service</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6952271#M8410</link>
      <description>&lt;P&gt;Hmmm... I don't create the WebServiceManager directly, I use the VDF:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LogInResult results = vdf.Vault.Library.ConnectionManager.LogIn("servername", "Vaultname", "username", "password",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AuthenticationFlags.Standard, null);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And then the results object contains a connection object, which manages the WebServiceManager.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you'd get to your WSM like so:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;var wsm = results.Connection.WebServiceManager&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would that work for you?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 23:11:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6952271#M8410</guid>
      <dc:creator>gavbath</dc:creator>
      <dc:date>2017-03-16T23:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem Vault 2017 in custom web service</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6953215#M8411</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am having an issue as well with getting a licensed connection. I am using the VDF ConnectionManager.LogIn method. It works when the app.config contains 'Licensing="None"', but I need a writeable (ServerOnly) connection!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error I am getting is 'Error: Exception of type ‘Autodesk.Connectivity.WebServices.VaultLicenseException’ was thrown.'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using this code:&lt;/P&gt;
&lt;PRE&gt;result = Library.ConnectionManager.LogIn(this.textBoxServer.Text.Trim(), string.Empty, this.textBoxUsername.Text.Trim(), this.textBoxPassword.Text.Trim(), AuthenticationFlags.ServerOnly, null);
                   &lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am 100% sure all the references are in place. How can I solve the issue? On some machines it's working normally, even without the licensing attributes in the app.config, but on other machines the error as mentioned pops up. Vault Client itself works normally, as well as the job processor application on this machine.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2017 12:08:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6953215#M8411</guid>
      <dc:creator>psaarloos</dc:creator>
      <dc:date>2017-03-17T12:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem Vault 2017 in custom web service</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6954234#M8412</link>
      <description>&lt;P&gt;Ok, tried it using the ConnectionManager. Same result, unable to login due to an exception. Using the ConnectionManager just doesn't throw the exception. The login still fails.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll keep trying different things.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2017 16:50:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/6954234#M8412</guid>
      <dc:creator>rjay75</dc:creator>
      <dc:date>2017-03-17T16:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem Vault 2017 in custom web service</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/7856392#M8413</link>
      <description>&lt;P&gt;Hello Pim,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running into the same issue and I am wondering if you ever got a solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am also using VDF to authenticate. If the AuthenticationFlag is Read-only it will log in but if it is set to Standard, it fails to log in. I also have the app.config set to use "Professional" instead of "None". But doesn't seem to do correct anything. Any insight would be greatly appreciated.&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;&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 14:44:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/7856392#M8413</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-15T14:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem Vault 2017 in custom web service</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/7857617#M8414</link>
      <description>&lt;P&gt;Hi Dan,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you checked all the other prerequisites, such as installing a Vault client and connecting to a Vault to build the license information, now that licensing is client-side?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 20:19:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/7857617#M8414</guid>
      <dc:creator>gavbath</dc:creator>
      <dc:date>2018-03-15T20:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem Vault 2017 in custom web service</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/7857658#M8415</link>
      <description>&lt;P&gt;Gavin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the response. Yeah I have all the prerequisites and I have the Vault Pro client installed. I can log in from the Vault Pro client but when I try to start the windows service, it hangs when it tries to log in. It doesn't return a Login Result. I have to kill the service through the command prompt.&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;&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 20:27:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/7857658#M8415</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-15T20:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem Vault 2017 in custom web service</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/7857752#M8416</link>
      <description>&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which user account is being used when you run the service? If it's the Network Service or something like that, you might want to try to change the log on of the service to another user account. Make sure you launch Vault Client using that user account as well at least one time. You can do this by right-clicking the Vault Professional application and choose 'Run as different user'.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 20:53:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/7857752#M8416</guid>
      <dc:creator>psaarloos</dc:creator>
      <dc:date>2018-03-15T20:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Login problem Vault 2017 in custom web service</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/7857942#M8417</link>
      <description>&lt;P&gt;Pim,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response. The user account running the service is Local System. I will try a different user account and will let you know. But below is a screencast of what I am experiencing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://autode.sk/2Iu1gai" target="_blank"&gt;http://autode.sk/2Iu1gai&lt;/A&gt;&lt;/STRONG&gt;&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;&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 22:13:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/login-problem-vault-2017-in-custom-web-service/m-p/7857942#M8417</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-15T22:13:51Z</dc:date>
    </item>
  </channel>
</rss>

