SharedKey Authorization Header in VB.NET October 26, 2010
Posted by Toby77006 in Azure TableStorage.trackback
I couldn’t understand why my VB program was getting 403 Forbidden when the Azure Management Console could access my table just fine. Stupid coding problem, I was following C# examples that all include statements like this:
string messagetoSign = String.Format(“{0}\n/{1}/{2}”, gmtDate, accountName, tableName);
The VB equivalent is
Dim messagetoSign = String.Format(“{0}{3}/{1}/{2}”, gmtDate, accountName, tableName, Chr(10))
You would think it wanted Environment.NewLine but no, it just wants a line-feed.
Advertisement
Comments»
No comments yet — be the first.