<?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: Unable to Log In Using WebServiceManager in Vault Customization Forum</title>
    <link>https://forums.autodesk.com/t5/vault-customization-forum/unable-to-log-in-using-webservicemanager/m-p/7340318#M7219</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good job finding the 'issue' yourself. Don't now if it really matters, but the ServerIdentities has two properties, FileServer and DataServer. Might be better to specify them both.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Autodesk.Connectivity.WebServices.ServerIdentities serverIdentity = new Autodesk.Connectivity.WebServices.ServerIdentities()
                {
                    FileServer = _login.svr
                    DataServer = _login.svr
                };&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Aug 2017 20:40:22 GMT</pubDate>
    <dc:creator>psaarloos</dc:creator>
    <dc:date>2017-08-30T20:40:22Z</dc:date>
    <item>
      <title>Unable to Log In Using WebServiceManager</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/unable-to-log-in-using-webservicemanager/m-p/7339658#M7217</link>
      <description>&lt;P&gt;I have a console application that is attempting to log into Vault 2017 using a WebServiceManager object. When I run the code it just launches, pauses and closes out like nothing happened. When I run it and step through the lines an error message pops up saying I need to enable remote debugging on the Vault server. Before I go and start installing tools on the Vault I want to see if I'm doing something incorrectly in my code. Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;static void Main(string[] args)
        {
            try
            {

                LoginInfo _login = new LoginInfo();

                Autodesk.Connectivity.WebServices.ServerIdentities serverIdentity = new Autodesk.Connectivity.WebServices.ServerIdentities()
                {
                    FileServer = _login.svr
                };

                UserPasswordCredentials login = new UserPasswordCredentials(serverIdentity, _login.vault, _login.usrName, _login.pw);

                using (WebServiceManager ServiceManager = new WebServiceManager(login))
                {
                    try
                        {
                            Folder root = ServiceManager.DocumentService.GetFolderRoot();
                        }
                    
                    catch (Exception e)
                        {
                            MessageBox.Show("Your stuff broke: " + e.Message);
                        }

                ServiceManager.Dispose();
                }
                
            }


            catch (Exception ex)
            {
                MessageBox.Show("Your stuff broke: " + ex.Message);

            }
        }

    }&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2017-08-30_0816.png" style="width: 482px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/395862i51E443F072402D8A/image-size/large?v=v2&amp;amp;px=999" role="button" title="2017-08-30_0816.png" alt="2017-08-30_0816.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 16:20:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/unable-to-log-in-using-webservicemanager/m-p/7339658#M7217</guid>
      <dc:creator>obourne</dc:creator>
      <dc:date>2017-08-30T16:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Log In Using WebServiceManager</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/unable-to-log-in-using-webservicemanager/m-p/7339831#M7218</link>
      <description>&lt;P&gt;As it turns out I am logging in. It's just that my code has no output so it was simply closing when it was done. I added a Console.Writeline statement to dispay the root variable and I saw the Vault folder root....so I'm logged in.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 17:17:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/unable-to-log-in-using-webservicemanager/m-p/7339831#M7218</guid>
      <dc:creator>obourne</dc:creator>
      <dc:date>2017-08-30T17:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Log In Using WebServiceManager</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/unable-to-log-in-using-webservicemanager/m-p/7340318#M7219</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good job finding the 'issue' yourself. Don't now if it really matters, but the ServerIdentities has two properties, FileServer and DataServer. Might be better to specify them both.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Autodesk.Connectivity.WebServices.ServerIdentities serverIdentity = new Autodesk.Connectivity.WebServices.ServerIdentities()
                {
                    FileServer = _login.svr
                    DataServer = _login.svr
                };&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 20:40:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/unable-to-log-in-using-webservicemanager/m-p/7340318#M7219</guid>
      <dc:creator>psaarloos</dc:creator>
      <dc:date>2017-08-30T20:40:22Z</dc:date>
    </item>
  </channel>
</rss>

