Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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);

                }
Suggest Edit

Published January 31, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us