I am trying to connect dropbox from my c# application in which I used dropbox.api.dll to connect and upload files. Its working in my local computer but not working in server. I got error "Exception has been thrown by the target of an invocation".
I investigate and found dropbox.api.dll is not registered with windows GAC.
The Dropbox app isn't designed to run on Windows Server operating systems, however you may find it to be functional if you run the Dropbox app as an application in a user account, instead of as a server service.
For more information on this, you can have a look here.
Let me know if there's any other questions I can help with!