Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows VistaWindows XPWindows MeWindows 98Windows 95Virtual PCInternet ExplorerOutlook ExpressWindows MediaSecurity
Related Topics
MS Server ProductsMS OfficePC HardwareMore Topics ...

Windows Forum / Internet Explorer / General Topics / June 2008

Tip: Looking for answers? Try searching our database.

IE7 using IE6 conditional comments - fixable?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Daniel Crichton - 19 Jun 2008 16:15 GMT
Hi,

I've noticed today that some sites I've visited, for instance http://www.lightningsource.com 
, don't render correctly. I've tried no-addons mode without making any
difference, and I've tested IE7 on XP SP2 on another machine and it works
fine. Running Fiddler I can see that for the site above my IE7 is pulling
down the CSS files that are in the IE6 conditional comments, and ignoring
the IE7 CSS file - it's parsing the conditional comments as if it's IE6.
I've check the user agent string, both manually in the registry and using
the User Agent String utility, and it's set correctly to just (default).
I've re-registered all the IE7 DLLs, and still no change.

Has anyone seen this before? Other than removing IE7 completely from XP SP2
and then reinstalling, is there any way to fix this? I'm not sure how long
my IE7 has been doing this, until today I didn't think to try using Fiddler
to see if something odd was going on so other sites I've looked at recently
that don't render correctly may have been a result of the same issue.

Signature

Dan

Daniel Crichton - 19 Jun 2008 16:52 GMT
Daniel wrote to All on Thu, 19 Jun 2008 16:15:35 +0100:

> Hi,

> I've noticed today that some sites I've visited, for instance
> http://www.lightningsource.com  , don't render correctly. I've tried
[quoted text clipped - 6 lines]
> using  the User Agent String utility, and it's set correctly to just
> (default). I've re-registered all the IE7 DLLs, and still no change.

> Has anyone seen this before? Other than removing IE7 completely from XP
> SP2  and then reinstalling, is there any way to fix this? I'm not sure
> how long  my IE7 has been doing this, until today I didn't think to try
> using Fiddler  to see if something odd was going on so other sites I've
> looked at recently  that don't render correctly may have been a result
> of the same issue.

Just wanted to provide some version details and a Fiddler session output
showing the issue.

IE7 shows version as 7.0.5730.11

User agent is Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; SV1; .NET
CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30;
.NET CLR 3.0.04506.648)

Fiddler shows the following requests when opening http://www.lightningsource.com

http://www.lightningsource.com/
http://www.lightningsource.com/styles/ls_global.css
http://www.lightningsource.com/images/page_bg.jpg
http://www.lightningsource.com/styles/global_ie6.css  <- this is in an IE6
conditional comment, it should retrieving /styles/global_ie7.css
http://www.lightningsource.com/js/dynActiveX.js
http://www.lightningsource.com/styles/ls_default.css
http://www.lightningsource.com/js/radrotator.js
http://www.lightningsource.com/js/jquery.js
http://www.lightningsource.com/js/pngfix_map.js  <- this is in an "lt IE7"
conditional comment, so it should not be retrieved
http://www.lightningsource.com/js/dynActiveX.js
http://www.lightningsource.com/lsicommon/js/milonic_src.js
http://www.lightningsource.com/lsicommon/js/mmenudom.js
http://www.lightningsource.com/images/Book_Design_Essentials.jpg
http://www.lightningsource.com/images/Register_Button.jpg
http://www.lightningsource.com/images/ls_logo.jpg
http://www.lightningsource.com/images/sitemap_bottom.gif
http://www.lightningsource.com/images/sitemap_top.gif
http://www.lightningsource.com/images/cover_template_generator.gif
http://www.lightningsource.com/images/book_calculator.gif
http://www.lightningsource.com/images/setting_up_files.gif
http://www.lightningsource.com/images/how_to.gif
http://www.lightningsource.com/SiteMenu.js
http://www.lightningsource.com/images/nav_bg.gif
http://www.lightningsource.com/images/wrapper_solid_bottom.gif
http://www.lightningsource.com/lsicommon/images/menu_dropdown_bg.gif
http://www.lightningsource.com/images/globe_icon.jpg
http://www.lightningsource.com/images/promotions_icon.jpg
http://www.lightningsource.com/images/distribution_icon.jpg
http://www.lightningsource.com/images/news_icon.jpg
http://www.lightningsource.com/images/INGRAM_FOOTER.png
http://www.lightningsource.com/images/footer_bottom.gif

Signature

Dan

Daniel Crichton - 19 Jun 2008 17:02 GMT
Daniel wrote to All on Thu, 19 Jun 2008 16:15:35 +0100:

> Hi,

> I've noticed today that some sites I've visited, for instance
> http://www.lightningsource.com  , don't render correctly. I've tried
[quoted text clipped - 6 lines]
> using  the User Agent String utility, and it's set correctly to just
> (default). I've re-registered all the IE7 DLLs, and still no change.

> Has anyone seen this before? Other than removing IE7 completely from XP
> SP2  and then reinstalling, is there any way to fix this? I'm not sure
> how long  my IE7 has been doing this, until today I didn't think to try
> using Fiddler  to see if something odd was going on so other sites I've
> looked at recently  that don't render correctly may have been a result
> of the same issue.

Aha, found the source of the problem - the Version Vector  value had been
changed by something (or someone ...) to cause it to act like IE6 for some
request handling. If anyone else ends up with the same problem, you can fix
it by running regedit and go to

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Version Vector

and if there is an IE value in there rename it to zIE (renaming allows you
to put it back if it breaks something else, rather than deleting it).

Signature

Dan

Frank Saunders MS-MVP IE,OE/WM - 20 Jun 2008 11:18 GMT
> Daniel wrote to All on Thu, 19 Jun 2008 16:15:35 +0100:
>
[quoted text clipped - 27 lines]
> and if there is an IE value in there rename it to zIE (renaming allows you
> to put it back if it breaks something else, rather than deleting it).

Mine is REG_SZ  7.0000 on machines with IE7.

Signature

Frank Saunders MS-MVP IE,OE/WM
Do not reply with email

Daniel Crichton - 20 Jun 2008 13:43 GMT
Frank wrote  on Fri, 20 Jun 2008 05:18:16 -0500:

>> Aha, found the source of the problem - the Version Vector  value had
>> been  changed by something (or someone ...) to cause it to act like
>> IE6 for some  request handling. If anyone else ends up with the same
>> problem, you can  fix it by running regedit and go to

>> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Version
>> Vector

>> and if there is an IE value in there rename it to zIE (renaming
>> allows you  to put it back if it breaks something else, rather than
>> deleting it).

> Mine is REG_SZ  7.0000 on machines with IE7.

Apparently if it doesn't exist, IE checks the loaded modules to obtain the
version data. So far it's been working great with the existing key having
been removed, but it should be fine with that value too. I've tested it here:

http://www.positioniseverything.net/articles/sidepages/cond_1.html

and it correctly shows all the parts that should be for IE7 in blue. I've
also tested it with a Version Vector of 7.0000 and it shows the same
results. So long as that value always matches the running version then there
shouldn't be a problem. I still haven't worked out what might have changed
it to 6.0000 .

Apparently IE5 for Windows 2000 has a Version Vector value of 5.0002, which
makes conditional comments like [if IE lte 5] fail to work as expected, as
5.0002 is not less than or equal to 5.0000. :S

Signature

Dan

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.