<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Getting Started</title><link>http://forums.asp.net/15.aspx</link><description>The perfect forum for ASP.NET novices. No question too simple! &lt;A href="http://aspadvice.com/SignUp/list.aspx?l=21&amp;amp;c=17" target=_blank&gt;Email List&lt;/A&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Annoying CryptographicException on WebResource.axd</title><link>http://forums.asp.net/thread/3297856.aspx</link><pubDate>Thu, 16 Jul 2009 17:02:20 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3297856</guid><dc:creator>caracho</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3297856.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3297856</wfw:commentRss><description>&lt;p&gt;Hi Joel:&lt;/p&gt;&lt;p&gt;Debug the padding (choose the right padding). Close the flows in a finally block (e.g. msEncrypt: pMemoryStream;&amp;nbsp; csEncrypt: pCryptoStream). Choose the Encoding depending on the Padding of the encription.&lt;/p&gt;&lt;p&gt;Hope it helps, if not, go to a Salsa place, if it helps, go also ;-)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Regards,&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Annoying CryptographicException on WebResource.axd</title><link>http://forums.asp.net/thread/3295625.aspx</link><pubDate>Wed, 15 Jul 2009 18:58:59 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3295625</guid><dc:creator>joelc</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3295625.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3295625</wfw:commentRss><description>&lt;p&gt;AlexB1318, &lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I am also seeing this error.&amp;nbsp;&amp;nbsp; Did you find a resolution to it?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks,&lt;br /&gt;Joel&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Annoying CryptographicException on WebResource.axd</title><link>http://forums.asp.net/thread/3208947.aspx</link><pubDate>Wed, 03 Jun 2009 23:35:08 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3208947</guid><dc:creator>AlexB1318</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3208947.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3208947</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I&amp;#39;ve been gettnig this error in Firefox when my session expires.&amp;nbsp; I&amp;#39;m also using a cookie.&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;Anyone know how I can clear this up?&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Annoying CryptographicException on WebResource.axd</title><link>http://forums.asp.net/thread/2879401.aspx</link><pubDate>Tue, 20 Jan 2009 15:41:41 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2879401</guid><dc:creator>caracho</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2879401.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=2879401</wfw:commentRss><description>&lt;p&gt;It can be several causes. The way I found the error was to follow the most relevant test arguments (I did an old fashion call tree stack in a text editor), until I found the one. I was decrypting the connection string instead of the key. I know, it&amp;#39;s kind of silly but I could detect it.&lt;/p&gt;

&lt;p&gt;One good link, that helped me to solve other minor bugs was&lt;/p&gt;

&lt;p&gt;http://www.codeproject.com/KB/security/Cryptor.aspx&lt;/p&gt;

&lt;p&gt;Specially on &amp;quot;Notes On Padding&amp;quot;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;VS2003 has by default &lt;code&gt;PaddingMode.PKCS7&lt;/code&gt;, in VS2008 (targeting to .NET2.0) it is required that you explicitily declare it &lt;code&gt;PaddingMode.PKCS7&lt;/code&gt;. Even for me it behaved as &lt;code&gt;PaddingMode.Zeros&lt;/code&gt;, so I had to program a function that removed the last zeros.&lt;/p&gt;

&lt;p&gt;&amp;nbsp;Hope It would help you solve your solution.&lt;/p&gt;&lt;p&gt;&amp;quot;Freedom&amp;quot; Wallace &lt;br /&gt;&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Annoying CryptographicException on WebResource.axd</title><link>http://forums.asp.net/thread/2445526.aspx</link><pubDate>Wed, 25 Jun 2008 09:34:12 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2445526</guid><dc:creator>GonKas</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2445526.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=2445526</wfw:commentRss><description>&lt;p&gt;Hi there!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Watch this website:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a class="" href="http://blog.aproductofsociety.org/?cat=10" target="_blank"&gt;http://blog.aproductofsociety.org/?cat=10&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Happy programming&lt;/p&gt;</description></item><item><title>Re: Annoying CryptographicException on WebResource.axd</title><link>http://forums.asp.net/thread/1633134.aspx</link><pubDate>Fri, 23 Mar 2007 00:32:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1633134</guid><dc:creator>Norton</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1633134.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=1633134</wfw:commentRss><description>&lt;p&gt;We had the same error in our NLB settup. We already had consistent machineKeys, but were still getting the error.&lt;/p&gt;&lt;p&gt;The
problem was we were missing the decryptionKey=, and that appearantly
made a different d= value, and made all machines consistent,&lt;/p&gt;&lt;p&gt;Have not seen the errors resurface yet. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Read my writeup here for more info:&lt;/p&gt;http://blog.aproductofsociety.org/?p=11</description></item><item><title>Re: Annoying CryptographicException on WebResource.axd</title><link>http://forums.asp.net/thread/1626317.aspx</link><pubDate>Mon, 19 Mar 2007 10:27:48 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1626317</guid><dc:creator>Luc1an</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1626317.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=1626317</wfw:commentRss><description>&lt;p&gt;Good stuff, it helped me alot. Thank you!&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Also you can visit these pages and find out a little more:&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;http://www.robotstxt.org/wc/exclusion-admin.html&lt;/li&gt;&lt;li&gt;http://www.mcanerin.com/EN/search-engine/robots-txt.asp&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Regards,&lt;br /&gt;Lucian&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Annoying CryptographicException on WebResource.axd</title><link>http://forums.asp.net/thread/1417985.aspx</link><pubDate>Wed, 04 Oct 2006 11:13:27 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1417985</guid><dc:creator>fizgig</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1417985.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=1417985</wfw:commentRss><description>&lt;p&gt;A partial fix is excluding all axd from your robots.txt file (see one of my earlier posts). This will solve the issue when a search engine wants to re-index the axd. &lt;/p&gt;&lt;p&gt;The problem is that the query parameters to the axd is changed every time, when you use old ones, the crypto error is thrown. So when people look at a page from your website through google cache, the cached copy has a old reference to the axd and you will see the message. Besides blocking google from caching you pages, I could not find a solution for that. I just ignore them in my error-mail script.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Good luck!&lt;/p&gt;&lt;p&gt;&amp;nbsp;Ward&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Annoying CryptographicException on WebResource.axd</title><link>http://forums.asp.net/thread/1417850.aspx</link><pubDate>Wed, 04 Oct 2006 07:36:32 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1417850</guid><dc:creator>Tyrven</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1417850.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=1417850</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m also getting these errors (by the thousands).&amp;nbsp; I am on a web farm, however I have tried switching users to individual servers in the farm to test and get the same results.&lt;br /&gt;&lt;br /&gt;One peculiar detail I&amp;#39;ve noticed about these: when I view the page (and it works) I see querystring parameters &amp;quot;d&amp;quot; and &amp;quot;t&amp;quot;.&amp;nbsp; However, my error logging system consistently reports only querystring parameter &amp;quot;d&amp;quot; with an additional parameter &amp;quot;z&amp;quot; which is always set to a bit value (0, 1).&lt;/p&gt;&lt;p&gt;Has anyone found an answer to this problem? &amp;nbsp;&lt;/p&gt;&lt;p&gt;Jeremy&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Annoying CryptographicException on WebResource.axd</title><link>http://forums.asp.net/thread/1411488.aspx</link><pubDate>Wed, 27 Sep 2006 12:12:04 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1411488</guid><dc:creator>efanwick</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1411488.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=1411488</wfw:commentRss><description>&lt;p&gt;Has anyone found a solution for this problem yet?&amp;nbsp; I am now getting it and I also make extensive use of freetextbox, but I seem to only get it from proxy.aol.com.&amp;nbsp; I tried playing with output cache page directives but it seems to have not made a difference.&amp;nbsp; All help greatly appreciated&lt;img src="http://forums.asp.net/emoticons/emotion-1.gif" alt="Smile" /&gt;&lt;/p&gt;&lt;p&gt;TIA.&lt;/p&gt;&lt;p&gt;Eric&lt;/p&gt;</description></item><item><title>Re: Annoying CryptographicException on WebResource.axd</title><link>http://forums.asp.net/thread/1377830.aspx</link><pubDate>Tue, 22 Aug 2006 19:13:35 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1377830</guid><dc:creator>billr578</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1377830.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=1377830</wfw:commentRss><description>I'm having this same issue now and I tried the robots.txt fix as well to no avail.&amp;nbsp; My site is getting hammered with these errors, and it only happens when someone goes to our offsite search page from our site.&lt;br /&gt;</description></item><item><title>Re: Annoying CryptographicException on WebResource.axd</title><link>http://forums.asp.net/thread/1370161.aspx</link><pubDate>Mon, 14 Aug 2006 14:26:05 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1370161</guid><dc:creator>stvsan</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1370161.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=1370161</wfw:commentRss><description>&lt;p&gt;This thread seems old but Yahoo still seems to trigger this error even though I blocked it from my robots.txt file. Didn't anyone find resolution to this?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: Annoying CryptographicException on WebResource.axd</title><link>http://forums.asp.net/thread/1221279.aspx</link><pubDate>Thu, 09 Mar 2006 06:39:06 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1221279</guid><dc:creator>fizgig</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1221279.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=1221279</wfw:commentRss><description>Hi Markus,&lt;br /&gt;&lt;br /&gt;I see it much less fortunatly. But I still get it if someone sees a page of my website through google cache. Luckely is looks like it renders ok.&lt;br /&gt;&lt;br /&gt;Ward&lt;br /&gt;</description></item><item><title>Re: Annoying CryptographicException on WebResource.axd</title><link>http://forums.asp.net/thread/1220941.aspx</link><pubDate>Wed, 08 Mar 2006 22:03:14 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1220941</guid><dc:creator>mpandur</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1220941.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=1220941</wfw:commentRss><description>&lt;p&gt;An update:&lt;/p&gt;
&lt;p&gt;1) The lovely trick with the robots.txt file seems to work. However it would still be interesting to know if there could be any noteable effects in the google results or something like that.&lt;/p&gt;
&lt;p&gt;2) All the other errors (not from google) seem to be caused from an ISAPI-Filter that I have uninstalled now. I used url_rewrite from iismods.com. I don't try to say that it is the fault of this filter, maybe I did something wrong within the configuration - maybe not. &lt;/p&gt;
&lt;p&gt;However I haven't seen this error for around 36 hours now and&amp;nbsp;that's a new record. Hopefully that helps some of you too!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Markus&lt;/p&gt;</description></item><item><title>Re: Annoying CryptographicException on WebResource.axd</title><link>http://forums.asp.net/thread/1220900.aspx</link><pubDate>Wed, 08 Mar 2006 21:26:49 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1220900</guid><dc:creator>campkevin</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1220900.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=1220900</wfw:commentRss><description>&lt;div&gt;
&lt;div&gt;&lt;font face=Arial&gt;&lt;font size=2&gt;I am also seeing this error intermittently.&amp;nbsp;&lt;span class=015221821-08032006&gt;It shows up in the event log several times a day. I too am not running a web farm, and I am seeing this with regular user access to the pages on my site (i.e. not just with pages hit by spiders/crawlers).&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;span class=015221821-08032006&gt;&lt;font face=Arial size=2&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;span class=015221821-08032006&gt;&lt;font face=Arial size=2&gt;I see that this issue was previously reported to Microsoft (&lt;/font&gt;&lt;a href="http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx?feedbackid=17c64976-ee21-4055-9de4-992d9c59e589"&gt;&lt;font face=Arial size=2&gt;http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx?feedbackid=17c64976-ee21-4055-9de4-992d9c59e589&lt;/font&gt;&lt;/a&gt;&lt;font face=Arial size=2&gt;), but they claim it is resolved because they can't reproduce it other than in web farm scenarios. Clearly there is a problem here, as evidenced by the number of people experiencing it in non-webfarm scenarios. It would be really nice to here something further from Microsoft on this.&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</description></item></channel></rss>