IE 9 Problems

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
2/16/2012 3:16:54 PM
Gravatar
Total Posts 148

Re: IE 9 Problems

Yes.

Thanks Joe. I might hook it up at home. If I do, I'll send you the IP address.

 

2/22/2012 4:36:56 PM
Gravatar
Total Posts 148

Re: IE 9 Problems

Here is some info I found out about my site not working with the Domain name but with the IP address.  When I type in the IP address the site looks good but with the Domain Name it looks bad.  I recognize when I type in the IP address I am able to select the Compatibilty Mode in IE.  When I do this, the side goes from good to bad when I select the Compatibility Mode button. However, when I use the Domain Name I don't have the Compatibility Mode button available.

I don't know if this helps or not but it might trigger some ideas on what's going on.

2/22/2012 7:28:09 PM
Gravatar
Total Posts 2253

Re: IE 9 Problems

Hi,

Check if the site has been added to the list of sites that automatically use compatibility view. You can do this by following the instructions in this video

HTH,
Joe D. 

2/23/2012 10:33:24 AM
Gravatar
Total Posts 148

Re: IE 9 Problems

Hi:

 

No, the site has not been added to the Compatibility Mode list.  I think the bottom line question is: Why is IE9 automatically viewing my page in Compatibility Mode?

2/23/2012 10:53:57 AM
Gravatar
Total Posts 2253

Re: IE 9 Problems

I undertand your bottom line question. That's why I asked you to check if the site had been added to the compatibility list.

Open the site in IE and then press F12 on your keyboard. You should see the IE Developer Tools and at the top of those tools are Browser Mode and Document Mode. What are those items set to?

Also check if you have this tag in your layout.master: <meta http-equiv="X-UA-Compatible"

HTH,
Joe D. 

2/23/2012 11:42:14 AM
Gravatar
Total Posts 148

Re: IE 9 Problems

It's set to compatibility mode.  

<meta http-equiv="X-UA-Compatible" is not in my layout.Master under my skins folder. 

Does it make a difference if <meta http-equiv="X-UA-Compatible" is in the layout.Master under the App_MasterPages folder or the layout.Master under my skins folder?

2/23/2012 2:00:22 PM
Gravatar
Total Posts 2253

Re: IE 9 Problems

Set browser mode to IE9 and Document mode to IE9 standards.

Check the site out on a different machine to see if it looks correct or not.

If you were using X-UA-Compatible, you would put it in your layout.master. If it's not there, I don't suggest adding it unless you want to force the site to use a IE8 or 7 modes.

HTH,
Joe D. 

3/5/2012 1:12:14 PM
Gravatar
Total Posts 148

Re: IE 9 Problems

 

Hi:

I set the browser mode to IE9 and Document Mode to IE9 Standards and it does fix it.  However, when I view from another machine the site still looks bad.  You then need to press F12 and set these settings manually to get it to look right.  Is there a way to set this so when the page opens, you don't need to do this manually?

 

3/5/2012 1:25:00 PM
Gravatar
Total Posts 2253

Re: IE 9 Problems

Sounds to me like the X-UA-Compatible Meta switch is enabled on the site in IIS. See this page for information on that.

HTH,
Joe D.

3/5/2012 2:03:26 PM
Gravatar
Total Posts 148

Re: IE 9 Problems

 

Hi:

 

When I run the site while being logged into the server, and "Browse" inside IIS 7.5, the compatibility modes are set correctly.  I can't find anything inside the web.config referring to any type of compatibility mode.  There is nothing in the user.config either.

3/5/2012 3:19:27 PM
Gravatar
Total Posts 2253

Re: IE 9 Problems

If the X-UA-Compatible isn't set in the layout.master or on the website, the only other place I can think it would be set it is the server itself. From within IIS Manager, click the server in the Connections pane. We want the server here, not the website. From there, double-click the "HTTP Response Headers" item under the IIS section. If there is a header listed named X-UA-Compatible, that is the problem. If the site in question is the only one on the server, you can remove the X-UA-Compatible header. If there are other sites, add this to your layout.master:

<meta http-equiv="X-UA-Compatible" content="IE=edge" >

If there isn't a response header named X-UA-Compatible setup on the server, I can't help but think that your layout.master contains the meta switch. If you can't find it anywhere but your site is still coming up in compatibility mode on other machines, add the meta tag above to your header. That should force IE to use the highest mode available.

You can read more about how this stuff works here.

HTH,
Joe D.

You must sign in to post in the forums. This thread is closed to new posts.