This project is read-only.

Dropbox: The remote server returned an error: (401) Unauthorized. in .NET 4.5

Feb 13, 2015 at 8:28 AM
Edited Feb 13, 2015 at 10:10 AM
Hello there,

We have two projects using AppLimit.CloudComputing.SharpBox version for Dropbox communication.

One project is a .NET MVC 4.0 web site running on IIS (7.5) using .NET Framework 4.5, the other is a Windows Application also using .NET Framework 4.5, running as a service on Windows Server (2008 R2) with the local system account.

Both have been running smoothly on .NET Framework 4.0, but when we upgraded to .NET Framework 4.5.2 on our Windows Server, the Windows Application started throwing this exception:

"Exception of type 'AppLimit.CloudComputing.SharpBox.Exceptions.SharpBoxException' was thrown. The remote server returned an error: (401) Unauthorized."

UPDATE: The exception is only thrown when uploading to a sub folder (like "/TEST") in Dropbox, not when uploading to the root folder.

We tried running the Windows Service using the Administrator account, to test if there was a permission issue - that didn't help.

Our .NET MVC web site is still working fine, uploading files to Dropbox without getting this exception.

Finally, does anybody know where we can download the source code for the latest version ( of AppLimit.CloudComputing.SharpBox?

Any help - and fast - would be much appreciated!