c# - All the time getting WebResource.axd?d=.... errors -


i have asp.net c# application , getting different errors time, 1 can see below. know how fix that? thank you.

 page: http://www.sitename.com/webresource.axd?d=oyuyekazwsmodoajydrqkg2&t=634022222718906250 message: invalid webresource request. source: system.web inner exception: stack trace: @ system.web.handlers.assemblyresourceloader.system.web.ihttphandler.processrequest(httpcontext context)              @ system.web.httpapplication.callhandlerexecutionstep.system.web.httpapplication.iexecutionstep.execute()              @ system.web.httpapplication.executestep(iexecutionstep step, boolean& completedsynchronously) 

i can think of 3 causes, 1 of point real error such:

  1. somebody trying exploit security hole in asp.net (a patch here) can 1 of axd handlers serve content on web server if can figure out encryption key. unlikely, possible. in case, don't have anything, except make sure have fix applied.

  2. (this have observed on site finished) scenario existing site has been replaced or web server has been changed previously. if have site public , on google, say, people might view 'cached' page if they're trying old content or indeed if current page not expect (perhaps error or indeed different). problem being if site uses webresource.axd, page have reference it. browser opens cached html , makes request. if site has been changed or replacement old axd links might not valid more , cause error.

    if mvc site might no longer using resources rendered axds, in case consider removing them site editing web config , adding 'remove' entries them in handlers section of system.webserver. requests yield 404 , no longer errors. equally if site use axds legitimately, can't repro errors browsing it, don't have worry about.

  3. the site runs in web farm , each machine therefore needs have same machine key, 1 needs attention if case. left till last, tho, because looking @ other questions i'm assuming web farm not involved :)

i have liked format answer better on phone, apologies!


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -