“Padding is Invalid and cannot be removed” exception on WebResource.axd
I have an ASP.NET 2.0 application that is working fine in our local environment. When published to a test server, we’re getting intermittent errors on the server.
I have an ASP.NET 2.0 application that is working fine in our local environment. When published to a test server, we’re getting intermittent errors on the server.
Original Question:
I get a 404 HTTP status error (not found) on a specific WebResource.axd call inside an ASP.NET 3.5 (AJAX) web application. I guess the error is thrown because a specific referenced assembly is missing in the bin folder/GAC. But I don’t know which, since the page which requests the resource is very complex (I’m using third-party controls and ASP.NET Ajax.)
I’m getting this error while running my ASP.NET app on IIS7. I’ve tried doing what it says to do but it doesn’t help.
I have a large .NET 2 web application that has been updated to target the .NET 4.0 framework. Since the update, I am seeing the following error recurring regularly in my logs:
When I view source on my ASP.NET page I get the following snippet:
I created a new project. I installed Ajax Control Toolkit from NuGet. Then I created a new page aspx with following code:
We have an array of about 12 servers serving a website. Over the past few hours, one single server has started throwing exceptions for WebResource.axd and ScriptResource.axd requests.
I have been trying for a week now to reduce the number of requests on our web application but I can’t seem to combine the .axd files. I got a suggestion from somewhere which worked locally (development box) but doesn’t work on our test and production environment as they are both on HTTPS. The developer didn’t comment on that and the component he wrote was last updated in 2011. (I will find the link and update this post).