This is a migrated thread and some comments may be shown as answers.

Error on production server - Padding is invalid and cannot be removed.

6 Answers 220 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Karl Wilkens
Top achievements
Rank 1
Karl Wilkens asked on 29 Aug 2009, 11:48 AM
Hello,

We are seeing this error fire hundreds of times per day on a site that uses that latest version of Telerik RadControls for ASP.NET AJAX Q2 2009. We reviewed what was out there and concluded this error must be related to the WebResource and on your site, you provide this troubleshooting page - http://www.telerik.com/help/aspnet-ajax/web-resources-troubleshooting.html which we reviewed, along with the machineKey recommendations on MSDN http://msdn.microsoft.com/en-us/library/ms998288.aspx which we implemented on our production server in web.config on the affected site. Also in Web.config, these settings are currently in use for the scriptresource and webResource - they appear correct to us but I am relisting them in case we are missing something.

<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>

                                    <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/>

So my question (or begging plea) is this - is there any one out there who could provide more in depth recommendations or assistance in getting rid of this error. It seems benign from an end-user point of view, but probably affects performance, especially since we are logging hundreds of errors per day on this problem. Any assistance would be greatly appreciated!


6 Answers, 1 is accepted

Sort by
0
DTech
Top achievements
Rank 1
answered on 01 Sep 2009, 04:42 PM
Karl,

I am getting the SAME ERROR over and over also.  What version of ASP.NET are you running and what OS?
0
Karl Wilkens
Top achievements
Rank 1
answered on 01 Sep 2009, 04:45 PM
Hi, we are running windows server 2003 and .net 2.0 framework. How about you?
0
DTech
Top achievements
Rank 1
answered on 01 Sep 2009, 05:11 PM
I am getting this error on a dedicated server.  For troubleshooting purposes, I tested the same project on a shared server.  Both continued to report errors.

Windows 2003 (not shared)/Windows XP (shared), IIS 7.0, .NET 3.0 and 3.5.  The error occurs in both platforms.  Sounds like it isn't .NET specific error. 

Another error I received on the shared server (may or may not be related to our problem):

Failed to start monitoring changes to 'D:\Hosting\4783966\html' because the network BIOS command limit has been reached. For more information on this error, please refer to Microsoft knowledge base article 810886. Hosting on a UNC share is not supported for the Windows XP Platform.

This error was not logged by my Global.asax.  Have you received any reports of that error also?  I do not know if that is related to our main issue.



0
Vesko
Top achievements
Rank 2
answered on 02 Sep 2009, 02:55 PM
Karl, this seems to be a common problem in .NET
Please check the results from google.


Mario, I have seen such problem when the application files are hosted on the network. Having a lot of files on that network drive caused this error for us and the only solution was not to use it.
0
Karl Wilkens
Top achievements
Rank 1
answered on 02 Sep 2009, 06:08 PM
Sure I started on Google, but if you read 10 or so threads, you find that this is a vague and not well understood problem. In anycase, we applied the web.config machine key settings recommended by Microsoft but still see the error on a daily basis. If anyone out there has an idea as to a resolution, that would be most welcome.

FYI, we are not on a web farm and are not using any network storage - we have fairly traditional IBM Blades - with a site-per-blade approach.
0
DTech
Top achievements
Rank 1
answered on 10 Oct 2009, 06:32 PM
Karl,

Did you find a solution to this problem?  Does the site have membership users?  If so, do the errors only occur for membership users? 
Tags
General Discussions
Asked by
Karl Wilkens
Top achievements
Rank 1
Answers by
DTech
Top achievements
Rank 1
Karl Wilkens
Top achievements
Rank 1
Vesko
Top achievements
Rank 2
Share this question
or