Support Article
IE compatibility view setting problem in IE9
SA-3370
Summary
User is getting Compatibility View not supported pop-up on IE9 compatibility view.
Error Messages
Compatibility View not Supported pop-up.
Steps to Reproduce
Open Pega 7 in IE9 compatibility view.
Root Cause
The root cause of this problem is in a third-party product integrated with PRPC. Microsoft recomends adding "X-UA-Compatible" Header which is causing an issue.
http://msdn.microsoft.com/zh-cn/library/cc288325(v=vs.85).aspx
Resolution
This issue is resolved through the following local change:
"Add new "X-UA-Compatible" header to PRPC cookie with below Filter Servlet"
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
// place your code here
// set header to override IE compatibility view setting
HttpServletRequest hreq=(HttpServletRequest)request;
String browserAgent= ""+hreq.getHeader("USER-AGENT");
if(browserAgent.toUpperCase().indexOf("MSIE")>=0){
HttpServletResponse hres=(HttpServletResponse)response;
//hres.getOutputStream().write("");
hres.setHeader("X-UA-Compatible", "IE=Edge");
}
// pass the request along the filter chain
chain.doFilter(request, response);
}
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.