Task #12333 (closed)
Opened 10 years ago
Closed 10 years ago
Bug: Windows IIS Deployment and IE9 Compatibility view
Reported by: | khgillen | Owned by: | atarkowska |
---|---|---|---|
Priority: | minor | Milestone: | 5.0.3 |
Component: | Web | Version: | 5.0.2 |
Keywords: | web, IIS, IE9 | Cc: | ux@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description (last modified by khgillen)
Server 2008 x86 with IIS 7.0, serving OMERO 5.0.2
Accessing from IE9: There is no option for toggling 'Compatibility View' yet 'developer tools' states the browser mode is in 'IE9 Compat View' with Document Mode 'IE7 standards', and OMERO.web is unusable. It appears as if compatibility view is being forced on, and OMERO.web does not render properly in this view (see attached files).
Gretzky, Linux / Apache, serving OMERO 5.0.2
Accessing from IE9: 'Compatibility View' is off by default and OMERO.web looks fairly normal. (see attached files) Turning Compatibility View on, forcing the browser to 'IE7 standards' and it looks the same as the page served from Server 2008 and IIS. (see attached files)
Summary:
IIS & IE9 == problem
Linux & IE9 default == okay
Linux & IE9 with compatibility mode == problem (same as from IIS)
Attachments (3)
Change History (15)
Changed 10 years ago by khgillen
comment:1 Changed 10 years ago by khgillen
- Description modified (diff)
comment:2 Changed 10 years ago by mtbcarroll
Does it fix things to have IIS add a custom HTTP header,
X-UA-Compatible: IE=Edge
...? If so, maybe we can devise and include a suitable <meta http-equiv="X-UA-Compatible" ... /> in our content.
comment:3 Changed 10 years ago by wmoore
- Owner changed from wmoore to atarkowska
Ola, you OK to have a look at this? I have no clue!
comment:4 Changed 10 years ago by atarkowska
IT is because of the coma in the end of each dictionary
SCRIPT1028: Expected identifier, string or number controls.js, line 30 character 1 SCRIPT1028: Expected identifier, string or number webclient, line 1203 character 21
comment:5 Changed 10 years ago by atarkowska
- Resolution set to invalid
- Status changed from new to closed
Sorry Kenny we do not support IE7 compatibility mode. http://www.openmicroscopy.org/site/support/faq/omero-clients/does-omero-web-work-with-internet-explorer-8
comment:6 Changed 10 years ago by khgillen
I am not suggesting we support IE7. The bug I'm reporting here is that somehow our code is forcing IE9 into compatibility view when served by IIS, which is still a valid bug, which may be fixed by e.g. mtbcarroll's suggestion.
comment:7 Changed 10 years ago by khgillen
- Resolution invalid deleted
- Status changed from closed to reopened
comment:8 Changed 10 years ago by atarkowska
Which server I suppose to test it with? ome-win2008-x86 is down
comment:9 Changed 10 years ago by atarkowska
OK, sorry. It looks like we need to add one more parameter to the doc, see http://blog.codefluententities.com/2012/09/28/how-to-enable-ie-9-compatibility-mode-for-your-website/
To configure IIS 7 on a Windows Server 2008-based computer to include a custom HTTP response header:
- Under Actions, click Add.
- In the Name box, type X-UA-Compatible.
- In the Value box, type IE=EmulateIE9.
comment:10 Changed 10 years ago by khgillen
Can confirm this fixed the issue. Nice one Ola.
comment:11 Changed 10 years ago by atarkowska
comment:12 Changed 10 years ago by atarkowska
- Resolution set to fixed
- Status changed from reopened to closed
IIS and IE9