<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Padding error on Azure</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Padding error on Azure</description>
  <pubDate>Wed, 29 Jul 2026 12:23:39 -700</pubDate>
  <lastBuildDate>Thu, 13 Jan 2011 22:04:53 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=2425</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Padding error on Azure : Thanks Kim.  I think I was too...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2425&amp;PID=9648#9648</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=770" rel="nofollow">GeorgeB</a><br /><strong>Subject:</strong> 2425<br /><strong>Posted:</strong> 13-Jan-2011 at 10:04pm<br /><br />Thanks Kim.<DIV>&nbsp;</DIV><DIV>I think I was too excited about having it work I didn't even think about regenerating the model. </DIV><DIV>&nbsp;</DIV><DIV>How many times have I seen the license inside the generated designer? Hopefully this will help someone else on the forums.</DIV><DIV>&nbsp;</DIV><DIV>Sorry I should slowed down to a blur. Thanks for the assistance.</DIV><DIV>&nbsp;</DIV><DIV>Kr</DIV><DIV>George</DIV>]]>
   </description>
   <pubDate>Thu, 13 Jan 2011 22:04:53 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2425&amp;PID=9648#9648</guid>
  </item> 
  <item>
   <title>Padding error on Azure : The Product Key Updater only updates...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2425&amp;PID=9641#9641</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2425<br /><strong>Posted:</strong> 13-Jan-2011 at 10:35am<br /><br />The Product Key Updater only updates the registry with your new product key.&nbsp; You'll also need to open your VS solution and save your EDMX in order to regenerate the model code.&nbsp; Then re-build and re-deploy to Azure, and hopefully all will be good.]]>
   </description>
   <pubDate>Thu, 13 Jan 2011 10:35:46 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2425&amp;PID=9641#9641</guid>
  </item> 
  <item>
   <title>Padding error on Azure : Hi Kim  Okay so I have upgrade...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2425&amp;PID=9636#9636</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=770" rel="nofollow">GeorgeB</a><br /><strong>Subject:</strong> 2425<br /><strong>Posted:</strong> 13-Jan-2011 at 6:39am<br /><br />Hi Kim<DIV>&nbsp;</DIV><DIV>Okay so I have upgrade my license. I used the "Product Key Updater" from the Programs menu to enter the new license key.</DIV><DIV>&nbsp;</DIV><DIV>I deployed to Azure and I still get the Padding error.</DIV><DIV>&nbsp;</DIV><DIV>Am I missing a step?</DIV><DIV>&nbsp;</DIV><DIV>Kr</DIV><DIV>George</DIV>]]>
   </description>
   <pubDate>Thu, 13 Jan 2011 06:39:33 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2425&amp;PID=9636#9636</guid>
  </item> 
  <item>
   <title>Padding error on Azure : Yep, sorry for the confusion....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2425&amp;PID=9612#9612</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2425<br /><strong>Posted:</strong> 10-Jan-2011 at 1:26pm<br /><br />Yep, sorry for the confusion.&nbsp; The default is blank, but you want to specify <EM>something</EM>.&nbsp; I don't have any guidance on what that "something" should be, but think of it as a password so it should be non-trivial.<DIV>&nbsp;</DIV><DIV>I should add that support for load balancing is only provided with certain licenses.&nbsp; If your debug log contains a message about not finding a license for "session-agnostic load balancing" it means we're ignoring your server key.&nbsp; If you find this happening, contact your account rep about getting an eval license.&nbsp; </DIV>]]>
   </description>
   <pubDate>Mon, 10 Jan 2011 13:26:45 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2425&amp;PID=9612#9612</guid>
  </item> 
  <item>
   <title>Padding error on Azure : Hi Kim   I&amp;#039;ve taken out...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2425&amp;PID=9605#9605</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=770" rel="nofollow">GeorgeB</a><br /><strong>Subject:</strong> 2425<br /><strong>Posted:</strong> 10-Jan-2011 at 9:29am<br /><br />Hi Kim <DIV>&nbsp;</DIV><DIV>I've taken out anything that isn't needed. Takes 20 minutes to upload to staging so I'll have to wait to test.</DIV><DIV>&nbsp;</DIV><DIV>I'm not using ASP.NET security or the aspnetdb. All my own stuff.</DIV><DIV>&nbsp;</DIV><DIV>Okay wait - I'm rereading your original message (slower this time). You say make it none blank? So I can&nbsp;put in anything I want and it should work?&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>I made it blank as that is what I assumed from your message. My mistake then. The default is blank?</DIV><DIV>&nbsp;</DIV><DIV>It's getting late so I'll have a go at this in the morning again.</DIV><DIV>&nbsp;</DIV><DIV>Kr</DIV><DIV>George</DIV><span style="font-size:10px"><br /><br />Edited by GeorgeB - 10-Jan-2011 at 9:59am</span>]]>
   </description>
   <pubDate>Mon, 10 Jan 2011 09:29:02 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2425&amp;PID=9605#9605</guid>
  </item> 
  <item>
   <title>Padding error on Azure : I want to check that you didn&amp;#039;t...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2425&amp;PID=9603#9603</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2425<br /><strong>Posted:</strong> 10-Jan-2011 at 8:32am<br /><br />I want to check that you didn't copy the &lt;serverSettings&gt; from my post above&nbsp;as is.&nbsp; Those values are the defaults.&nbsp; The only change you should need is to set the sessionEncryptionKey to a <strong>non-blank</strong> value; when not set or blank DevForce assigns a value for each running instance based on the machine address.&nbsp; So, make sure you've got all your previous serverSettings values, and then set the sessionEncryptionKey.&nbsp; <DIV>&nbsp;</DIV><DIV>Other than this setting, I don't know what would cause the error.&nbsp; Are you using ASP.NET security or the aspnetdb directly?&nbsp; </DIV>]]>
   </description>
   <pubDate>Mon, 10 Jan 2011 08:32:29 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2425&amp;PID=9603#9603</guid>
  </item> 
  <item>
   <title>Padding error on Azure : Hi Kim  I took the opportunityto...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2425&amp;PID=9602#9602</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=770" rel="nofollow">GeorgeB</a><br /><strong>Subject:</strong> 2425<br /><strong>Posted:</strong> 10-Jan-2011 at 6:52am<br /><br />Hi Kim<DIV>&nbsp;</DIV><DIV>I took the opportunity&nbsp;to move to another datacenter and I have reconfigured everything from scratch. </DIV><DIV>&nbsp;</DIV><DIV>However I'm still getting the padding errors even with the changes you suggested.</DIV><DIV>&nbsp;</DIV><DIV>When I go back to a single instance, everything runs perfectly.</DIV><DIV>&nbsp;</DIV><DIV>Is there anything I can do?</DIV><DIV>&nbsp;</DIV><DIV>Kr</DIV><DIV>George</DIV>]]>
   </description>
   <pubDate>Mon, 10 Jan 2011 06:52:27 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2425&amp;PID=9602#9602</guid>
  </item> 
  <item>
   <title>Padding error on Azure : Hi Kim  Thanks for that. I&amp;#039;ll...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2425&amp;PID=9591#9591</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=770" rel="nofollow">GeorgeB</a><br /><strong>Subject:</strong> 2425<br /><strong>Posted:</strong> 07-Jan-2011 at 9:49am<br /><br />Hi Kim<DIV>&nbsp;</DIV><DIV>Thanks for that. I'll give it a go.</DIV><DIV>&nbsp;</DIV><DIV>Kr</DIV><DIV>George</DIV>]]>
   </description>
   <pubDate>Fri, 07 Jan 2011 09:49:02 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2425&amp;PID=9591#9591</guid>
  </item> 
  <item>
   <title>Padding error on Azure : Set the &amp;#034;session encryption...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2425&amp;PID=9590#9590</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2425<br /><strong>Posted:</strong> 07-Jan-2011 at 9:33am<br /><br /><P>Set the "session encryption key" in the web.config to a non-blank value.&nbsp; When load balancing is used, as with multiple Azure instances, this key must be the same on both instances in order for requests to be load-balanced.&nbsp; The inscrutable error is coming when encrypting/decrypting the SessionBundle passed with each request.</P><DIV></DIV><DIV>&lt;serverSettings allowAnonymousLogin=<SPAN style="COLOR: #a31515">"true"</SPAN><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;loginManagerRequired=<SPAN style="COLOR: #a31515">"false"</SPAN><BR><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sessionEncryptionKey=<SPAN style="COLOR: #a31515">""</SPAN><BR></strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;supportedClientApplicationType=<SPAN style="COLOR: #a31515">"UseLicense"</SPAN><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;testMode=<SPAN style="COLOR: #a31515">"false"</SPAN><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;useAspNetSecurityServices=<SPAN style="COLOR: #a31515">"false"</SPAN><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;userSessionTimeout=<SPAN style="COLOR: #a31515">"30"</SPAN><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/&gt;<BR></DIV><DIV>The "key" is really more like a password, and is used to generate an AES hash key.&nbsp; </DIV>]]>
   </description>
   <pubDate>Fri, 07 Jan 2011 09:33:53 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2425&amp;PID=9590#9590</guid>
  </item> 
  <item>
   <title>Padding error on Azure : Hi  I&amp;#039;m testing my Silverlight...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2425&amp;PID=9586#9586</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=770" rel="nofollow">GeorgeB</a><br /><strong>Subject:</strong> 2425<br /><strong>Posted:</strong> 07-Jan-2011 at 4:55am<br /><br />Hi<DIV>&nbsp;</DIV><DIV>I'm testing my Silverlight app running against SQL Azure using DF 6.0.7 hosted in Windows Azure.</DIV><DIV>&nbsp;</DIV><DIV>For some reason I'm getting a message saying "Padding is invalid and cannot be removed".</DIV><DIV>&nbsp;</DIV><DIV>I'm not using any encryption (that I know of) and there is nothing in my web.config that shouldn't be there - connection strings,&nbsp;EdmKeys and that's about it. allowAnonymousLogin="false" and loginManagerRequired='true" as I'm using my own ILoginManager.</DIV><DIV>&nbsp;</DIV><DIV>I'm currently running two instances&nbsp;in the Staging enviroment. </DIV><DIV>&nbsp;</DIV><DIV>I've just changed it to run a single instance and I don't get the error message.</DIV><DIV>&nbsp;</DIV><DIV>Is there something I can do to fix this?</DIV><DIV>&nbsp;</DIV><DIV>Kr</DIV><DIV>George</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 07 Jan 2011 04:55:55 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2425&amp;PID=9586#9586</guid>
  </item> 
 </channel>
</rss>