We have a strange exception on our ASP .NET Webforms application.
The same exception is being sometimes thrown one different .aspx pages:
Error: This is an invalid webresource request. URL: https://example.com/WebResource.axd?d=pPvrniqvKCVu4785dN_ahQGLCPzNyr7f4i8DaZgJq2QNfEAadKjdL1N4XhlkzuMFZMX2X0-RCOI_z1vzc5RFMGIe7CAXw7lJqHZw5nlyodAkssADb-0obxsyzubFHcCM-5Kt0Zfm8W7ao0HE6xyQsaV264sX_gMQYPnzPGzAMMk1&t=636618914162471727
Source is System.Web
This is an invalid webresource request. at System.Web.Handlers.AssemblyResourceLoader.System.Web.IHttpHandler.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
It has started after we've upgraded our server from Windows Server 2012 R2 to Windows Server 2016.
I've tried:
- Upgrading .Net Framework to latest 4.7.2
- Applying the security patch as stated here
- Made sure it's not a crawling bot as stated here (the exceptions are being thrown sometimes even when browsing the page through our IP)
- This answer, #1 completed, #2 irrelevant as it happens also from our IP, #3 we don't run any farm.
The problem is that we don't see these exceptions on localhost
, and have no idea how to debug the reason for it on the server.
Any idea would be much appreciated.