Tuesday, September 07, 2010

Contact Us!

AppTheory wants to talk to you about your business requirements.

Click Contact to fill out an online requirements questionnaire.

Thanks!

DNN Gold Partner


 

Ecommerce Award

Subscribe to this Blog

DotNetNuke Blogs

Current Articles | Archives | Search |

You receive “The request signature we calculated does not match the signature you provided. Check your key and signing method.” when uploading to Amazon S3 with the ThreeSharp library.

You may remember in one of my previous posts I recommended the Affirma ThreeSharp library for interacting with your Amazon S3 storage system. One little ‘gotcha’ I ran into having used the library for a while is that the library does not UrlEncode the file name prior to sending it to Amazon. So If your file has a non URL safe character such as a ‘#’ in it you will receive an exception like the title of this post stating there was a signature mismatch. This is in fact a bit of a red herring, but once I looked at the logs for the files that generated this exception it became pretty clear what the issue was. So don’t forget to call System.Web.HttpUtility.UrlEncode(keyName)) on your key before passing it to the Three Sharp library.


Posted in: General, Cloud Computing on Wednesday, November 18, 2009 2:33 PM by Scott Schecter

COMMENTS

Only registered users may post comments.
Copyright © 2010 AppTheory