WebResource.axd requested without parameters - This is an invalid webresource request

后端 未结 4 933
盖世英雄少女心
盖世英雄少女心 2021-02-07 09:24

I\'m finding this problem every now and then in my production website, and it has me absolutely stumped...

My app works perfectly in both dev and production, but every n

4条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-07 09:49

    That definitely is a bot not doing very good job of crawling your web site. It processes your web form and locates reference to WebResource.axd, for example:

    
    

    The bot expects static JavaScript files only and tries to download it by requesting WebResource.axd without parameters. The result is an exception thrown by System.Web.Handlers.AssemblyResourceLoader class and intercepted by Application_Error in Global.asax.

    I believe this exception is harmless - the client will receive 404 error. You can safely ignore it.

提交回复
热议问题