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/13/2012 1:09:24 PM
Gravatar
Total Posts 148

IE 9 Problems

Hi:

When I view my site inside Visual Studio 2010 using the Development Server, the site looks good in IE9. When I host my site in IIS 7.5, the site looks lousy in IE9 but good in Firefox and Google Chrome.  For some reason my site looks lousy inside IE 9 when served from IIS 7.5.  Has anyone run into this problem before? I have updated the server and my IE 9 browser. 

2/14/2012 2:51:41 AM
Gravatar
Total Posts 108
Community Expert

Re: IE 9 Problems

You can try the developer tool from IE9 to find the problem, you can activate this tools pressing F12

2/16/2012 2:08:35 PM
Gravatar
Total Posts 148

Re: IE 9 Problems

Hi:

If I type in the IP Address, the site looks ok in IE9. It is only when I use the DNS the site looks bad.

2/16/2012 2:23:04 PM
Gravatar
Total Posts 2239

Re: IE 9 Problems

That's very strange.

Can you give us the site address so we can help more?

Thanks,
Joe D. 

2/16/2012 2:30:01 PM
Gravatar
Total Posts 148

Re: IE 9 Problems

Hi:

It's not an Internet site yet. I am currently developing the site and testing in IIS 7.5. The site looks ok in Chrome and Firefox when using the DNS but lousy in IE9. If I type in the IP address it looks good in IE9.  Could the DNS need updating? I'm not real familiar with how a DNS works but that does seem to be the culprit. 

2/16/2012 2:37:09 PM
Gravatar
Total Posts 2239

Re: IE 9 Problems

Does the site look different in Chrome or Firefox when you use the IP vs using the Domain?

It sounds like the DNS A record for the Domain isn't pointing to the correct IP, maybe an old site?

What about the site is wrong in IE, does it not have any style at all, or are some styles not applied? Are there no images?

This is a very strange problem so we need more information to be able to help you. Saying the site looks lousy doesn't give us any clues.

Thanks,
Joe D. 

2/16/2012 2:49:45 PM
Gravatar
Total Posts 148

Re: IE 9 Problems

Hi:

The site looks good whether I type in hte IP address or the domain in Chrome or Firefox.

Specifically, suppose you had a row of fieldsets all lined up horizontally. When I say "lousy" I mean two of the fieldsets are lined up and the other two are on top of each other. Also, I have an accordion at the top of the page.  When the accordion opens everything is supposed to move down.  I am using a Master Page. Everything moves down except what's on the Master Page.  All the content I have on the Master Page stays put and doesn't move. The content on the page slides over the content of the Master Page and covers up it's contents. Also, my corners are not rounding and my shadows are working either.

This all occurs if I type in the Domain with IE9.  It works ok with everything else.

2/16/2012 2:54:25 PM
Gravatar
Total Posts 2239

Re: IE 9 Problems

Is IE using some sort of proxy?

Is the data on the site same regardless of using IP or Domain in IE?

2/16/2012 3:00:49 PM
Gravatar
Total Posts 148

Re: IE 9 Problems

Hi:

Yes the data is the same. I'm not sure what a proxy is but I don't think I'm using one. Also, there is no possibility of pointing to the wrong site.  This is the only site on the server. However, I must add my server is a virtual machine.  Could that make a difference?

2/16/2012 3:10:06 PM
Gravatar
Total Posts 2239

Re: IE 9 Problems

No, being a virtual machine wouldn't make a difference.

Without seeing the site, I can't help you much. If you can make the site public and send the IP address to me at joe at i7media dot net. I'll take a look at it for you.

Thanks,
Joe D. 

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 2239

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 2239

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 2239

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 2239

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 2239

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.

3/5/2012 3:40:54 PM
Gravatar
Total Posts 148

Re: IE 9 Problems

Hi:

Thanks Joe.  This worked.

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