Webresource.axd doesn't load on my asp.net application running on my web farm -
i'm working on asp.net web application. i'm getting errors on of pages runtime javascript errors.
i've narrowed problem down single asp menu control on master page. created blank page asp menu control. asp menu control bound web.sitemap
. page intermittently gives runtime errors.
however, if refresh page, error may or may not appear on given page load. sometimes, works; sometimes, browser throws runtime errors when loading page or when mouse on asp menu control.
when catch error in visual studio, message "microsoft jscript runtime error 'sys' undefined". when google message, find associated ajax. however, thing on page single asp control.
there absolutely no javascript on page except gets generated .net framework.
what causing problem?
update i've found out environment has load balancing web farm of 3 servers servicing url. when access application on 1 of servers individually ip address, works fine.
to clarify, understand when user hits public-facing url, resolves x.x.x.1. x.x.x.1 address switch routes request either x.x.x.2, x.x.x.3, or x.x.x.4.
when use public-facing url, find of axd file requests intermittently rerouted error.aspx! wtf!?!?!?!?!?
i'm told result of security feature meant protect me cross-site scripting , other assorted bad stuff. can do?
update after taking out error page auto-redirects, more meaningful error message: asp.net ajax client-side framework failed load.
- make sure servers have same asp.net version. affect it, partially applying recent microsoft patch padding oracle vulnerability (to servers, instead of all)
- make sure servers use same machine key. when doing either use protected sections or configure @ machine level web.config / learn recent vulnerability protect sensitive information in web.config.
Comments
Post a Comment