<?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 Dropbox API Error on Download using asp.net: Thread Was Being Aborted in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-Error-on-Download-using-asp-net-Thread-Was-Being/m-p/576881#M26905</link>
    <description>&lt;P&gt;I have an App I made that was working well previously, but upgrading my code to the latest editions broke my ability to download files from my App Folder in Dropbox, to my asp.net App. This is an on-going issue and I really need to find a resolve.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I get this message in ASP.NET when I attempt to download a file from Dropbox using the api.&lt;/P&gt;
&lt;PRE&gt;[ThreadAbortException: Thread was being aborted.]
   System.Web.HttpContext.InvokeCancellableCallback(WaitCallback callback, Object state) +113
   System.Web.Util.SynchronizationHelper.SafeWrapCallback(Action action) +113&lt;/PRE&gt;
&lt;P&gt;I can't find any way to get around it.&lt;/P&gt;
&lt;P&gt;I'm also wondering if I'm missing a web.config setting, and I'm not sure what the reference means in the documentation about opening up a port for dbx.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Upload works great. I'm only running into an issue on download, and the file is less than 100k&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's my code:&lt;/P&gt;
&lt;P&gt;Dim dbx As New DropboxClient(AccessToken)&lt;/P&gt;
&lt;P&gt;Dim path As String = "/" &amp;amp; HostName &amp;amp; "/" &amp;amp; Filename&lt;BR /&gt;Using response = Await dbx.Files.DownloadAsync(path)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DownloadAsync is called and throws the error, so why is the thread being aborted before I even get a response?&lt;/P&gt;</description>
    <pubDate>Wed, 27 Apr 2022 12:52:50 GMT</pubDate>
    <dc:creator>Sunsing</dc:creator>
    <dc:date>2022-04-27T12:52:50Z</dc:date>
    <item>
      <title>Dropbox API Error on Download using asp.net: Thread Was Being Aborted</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-Error-on-Download-using-asp-net-Thread-Was-Being/m-p/576881#M26905</link>
      <description>&lt;P&gt;I have an App I made that was working well previously, but upgrading my code to the latest editions broke my ability to download files from my App Folder in Dropbox, to my asp.net App. This is an on-going issue and I really need to find a resolve.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I get this message in ASP.NET when I attempt to download a file from Dropbox using the api.&lt;/P&gt;
&lt;PRE&gt;[ThreadAbortException: Thread was being aborted.]
   System.Web.HttpContext.InvokeCancellableCallback(WaitCallback callback, Object state) +113
   System.Web.Util.SynchronizationHelper.SafeWrapCallback(Action action) +113&lt;/PRE&gt;
&lt;P&gt;I can't find any way to get around it.&lt;/P&gt;
&lt;P&gt;I'm also wondering if I'm missing a web.config setting, and I'm not sure what the reference means in the documentation about opening up a port for dbx.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Upload works great. I'm only running into an issue on download, and the file is less than 100k&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's my code:&lt;/P&gt;
&lt;P&gt;Dim dbx As New DropboxClient(AccessToken)&lt;/P&gt;
&lt;P&gt;Dim path As String = "/" &amp;amp; HostName &amp;amp; "/" &amp;amp; Filename&lt;BR /&gt;Using response = Await dbx.Files.DownloadAsync(path)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DownloadAsync is called and throws the error, so why is the thread being aborted before I even get a response?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 12:52:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-Error-on-Download-using-asp-net-Thread-Was-Being/m-p/576881#M26905</guid>
      <dc:creator>Sunsing</dc:creator>
      <dc:date>2022-04-27T12:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API Error on Download using asp.net: Thread Was Being Aborted</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-Error-on-Download-using-asp-net-Thread-Was-Being/m-p/576993#M26913</link>
      <description>&lt;P&gt;The output here doesn't seem to mention any Dropbox code. Do you get any other error/output/stack containing any Dropbox SDK references?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, can you elaborate on what you mean when you say you were "upgrading my code to the latest editions"? What specifically were you upgrading (for example, the Dropbox SDK itself, or something else), and from what version and to what version?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 16:18:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-Error-on-Download-using-asp-net-Thread-Was-Being/m-p/576993#M26913</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-02-10T16:18:34Z</dc:date>
    </item>
  </channel>
</rss>

