<?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: .NET SDK OAuthTest sample app error in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NET-SDK-OAuthTest-sample-app-error/m-p/538875#M25872</link>
    <description>&lt;P&gt;Hi Greg, many thanks for the advice, it turned out it was the port.&lt;/P&gt;&lt;P&gt;I had tried restarting the PC, running VS as Admin, and also tried other ports in the vicinity of that in the original sample code.&amp;nbsp; In the end I changed the port to 8080, and it worked.&lt;/P&gt;&lt;P&gt;I had wondered if the error message was misleading (not for the 1st time).&lt;/P&gt;&lt;P&gt;Thanks again for your quick response and advice.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;</description>
    <pubDate>Wed, 11 Aug 2021 22:38:58 GMT</pubDate>
    <dc:creator>Paul M.131</dc:creator>
    <dc:date>2021-08-11T22:38:58Z</dc:date>
    <item>
      <title>.NET SDK OAuthTest sample app error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NET-SDK-OAuthTest-sample-app-error/m-p/538810#M25863</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm looking to migrate my Windows .NET service app (no user interaction) from a long lived token to a short-lived token.&lt;/P&gt;
&lt;P&gt;I am working through the &lt;STRONG&gt;OAuthTest&lt;/STRONG&gt; app, and have entered my apps ApiKey and ApiSecret.&amp;nbsp; I have also set the Redirect URI to&amp;nbsp;&lt;SPAN&gt;&lt;A href="http://127.0.0.1:52579/authorize" target="_blank" rel="noopener"&gt;http://127.0.0.1:52579/authorize&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;When debugging the code, it runs as far as the&amp;nbsp;AcquireAccessToken method, down to the code line&amp;nbsp;http.Start();, and on this line an error occurs stating "&lt;EM&gt;The process cannot access the file because it is being used by another process&lt;/EM&gt;".&amp;nbsp; I am puzzled as to what the file could be.&lt;/P&gt;
&lt;P&gt;I have tried moving the code folder to another location on the PC, "cleaning" the solution, but nothing resolves this error.&lt;/P&gt;
&lt;P&gt;Strangely, I have copied my code to another couple of PCs and it runs perfectly!!&lt;/P&gt;
&lt;P&gt;I would like to understand what's causing this issue on my main development machine.&lt;/P&gt;
&lt;P&gt;Any ideas?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 17:57:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NET-SDK-OAuthTest-sample-app-error/m-p/538810#M25863</guid>
      <dc:creator>Paul M.131</dc:creator>
      <dc:date>2021-08-11T17:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: .NET SDK OAuthTest sample app error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NET-SDK-OAuthTest-sample-app-error/m-p/538822#M25866</link>
      <description>&lt;P&gt;That 'http.Start' call starts the local web server which is used to catch the redirect from the app authorization flow. The error message seems to be indicating that the server can't be started, perhaps because that port is already in use. Is there anything on that computer using that port, or do you maybe accidentally already have another instance of the sample app process running?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 17:57:14 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NET-SDK-OAuthTest-sample-app-error/m-p/538822#M25866</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-08-11T17:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: .NET SDK OAuthTest sample app error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NET-SDK-OAuthTest-sample-app-error/m-p/538875#M25872</link>
      <description>&lt;P&gt;Hi Greg, many thanks for the advice, it turned out it was the port.&lt;/P&gt;&lt;P&gt;I had tried restarting the PC, running VS as Admin, and also tried other ports in the vicinity of that in the original sample code.&amp;nbsp; In the end I changed the port to 8080, and it worked.&lt;/P&gt;&lt;P&gt;I had wondered if the error message was misleading (not for the 1st time).&lt;/P&gt;&lt;P&gt;Thanks again for your quick response and advice.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 22:38:58 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/NET-SDK-OAuthTest-sample-app-error/m-p/538875#M25872</guid>
      <dc:creator>Paul M.131</dc:creator>
      <dc:date>2021-08-11T22:38:58Z</dc:date>
    </item>
  </channel>
</rss>

