mattgrimley Posted January 6, 2012 Posted January 6, 2012 Notan issue in Chrome or Firefox, just in IE. Open the booking system, make a booking. The page refreshes nicely to display the booking. Browse to another day, then back to the original book day. The booking appears to no longer be there. Oddly enough, despite our staff all managing last term without complaint, 4 people have hit this today and panicked that their bookings have been lost. I guess they are all making start of term mass bookings?! Cheers, matt
nickbro Posted January 6, 2012 Posted January 6, 2012 Sounds like a caching issue in IE, will have to think of a way to stop this, hmmm
mattgrimley Posted January 6, 2012 Author Posted January 6, 2012 yep, that makes sense.. similarly i noticed that when i delete a booking and browse around, then come back, the booking "appears" to still be there (of course it is actually isnt). Annoyingly, hitting refresh on the browser, still shows the incorrect info. - you can do the same thing in firefox or chrome, side-by-side with ie and see two different things. It's a shame that IE got so bad!
nickbro Posted January 6, 2012 Posted January 6, 2012 I'll add some + "?" + new date(); To all of the AJAX requests, that may take a while to implement though as I'm back at work today (in about 20 minutes time)
nickbro Posted January 6, 2012 Posted January 6, 2012 Another way to possibly resolving this would be to add content expiration in IIS
mattgrimley Posted January 6, 2012 Author Posted January 6, 2012 tried enabling "immediate content expiration" as per IIS7 : HOW TO enable content expiration? - Rakki Muthukumar - Site Home - MSDN Blogs - but that hasn't worked. (even tried a server reboot in case it was an odd "at-startup" type setting).
mattgrimley Posted January 6, 2012 Author Posted January 6, 2012 Hey @nickbro - that one (using 7.9) doesnt load the table on the booking page for me.. It loads the header column and the room names, but no bookings..
nickbro Posted January 6, 2012 Posted January 6, 2012 How odd, what does Firebug, Chrome Dev Tools say is going on when you load the page
mattgrimley Posted January 6, 2012 Author Posted January 6, 2012 arrrgghh! Compatability View in IE!! - I'm gonna work out what is going on there over the weekend! Disable compatability view in ie and suddenly it appears! I will test the booking thing again now
mattgrimley Posted January 6, 2012 Author Posted January 6, 2012 Okay, so IE9 knows its an intranet site and defaults to "Display intranet sites in Compatibility View". This means when you load the site, you get: Browser Mode: IE9 Compat and Document Mode: IE7 Standards The HTML shows the "Doctype" entry as commented out in the dev tools. removing the "Display intranet sites in Compatibility View" tickbox (Show Command Bar > Page > Compatibility View Settings.) then changes this and the Doctype entry shows uncommented. I just now need to work out how to change this setting via GPO - can't find an entry so far. BLOODY IE!
mattgrimley Posted January 6, 2012 Author Posted January 6, 2012 Success!! Compatability Mode disabled: Group Policy: User Configuration / Policies / Administrative Templates / Windows Components / Internet Explorer / Compatability View / Turn on Internet Explorer Standards Mode for local Intranet = Enabled (I actually meant to disable it, but on checking, i have in-fact "enabled" it.. and it works!) Now it's home time!! I wonder how many other IE issues were related to this?!
nickbro Posted January 6, 2012 Posted January 6, 2012 IE Compatibility Mode needs to die, so does anything < IE8
CountNZ Posted February 9, 2012 Posted February 9, 2012 Hi Nick I am getting this in ie and firefox comes up internal server error. have applied the patch. any ideas running 7.9 btw thanks Dave
mattgrimley Posted February 9, 2012 Author Posted February 9, 2012 Update on my original problem... I was finding that my GP update has been fairly inconsistent (I suspect people are running iE before GP's have finished on the slower machines). However, i appear to have now solved this with a change to the masterpage.master file. I moved the followin line from line 15 to line 9 (first line in the header section): This now consistently loads pages in IE9 Compat View / IE9 standards mode - formatting looks correct and the booking system works fine. @nickbro could you take a look at that change as i have no idea what the implications are!! My masterpage.master now looks like this: <%@ Master Language="C#" %> <%@ Register Assembly="HAP.Web" Namespace="HAP.Web.Controls" TagPrefix="hap" %> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> Home Access Plus </pre><form runat="server"> Logged in as | </form><br> <b
mattgrimley Posted February 9, 2012 Author Posted February 9, 2012 I have also added that same line to my setup.aspx file (just before the "TITLE" line) as that was running in ie7standards mode too. This now loads in ie9 standards mode also. The top of my setup.aspx now looks like: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Setup.aspx.cs" Inherits="HAP.Web.Setup" %> <%@ Register Assembly="HAP.Web" Namespace="HAP.Web.Controls" TagPrefix="hap" %> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> Home Access Plus+ - Setup </pre><form runat="server"> ... <
nickbro Posted February 9, 2012 Posted February 9, 2012 shouldn't be anything, I use the edge term which should force it into IE9 mode, but sometimes it does.
mattgrimley Posted February 9, 2012 Author Posted February 9, 2012 shouldn't be anything, I use the edge term which should force it into IE9 mode, but sometimes it does. Well it works consistently now, WITHOUT Group Policy changes - so I am a happy bunny!!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now