CalendarPopup.htc only works sometimes for IE7?

This is a discussion on "CalendarPopup.htc only works sometimes for IE7?" within the Web Page Design section. This forum, and the thread "CalendarPopup.htc only works sometimes for IE7? are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Mar 14th, 2008, 14:34
Junior Member
Join Date: Mar 2008
Location: Lisburn, Northern Ireland
Age: 28
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
CalendarPopup.htc only works sometimes for IE7?

I've been asked to look at a problem with a calendar control on a content driven website we maintain.
Here's the code from the top of the page when it is included.


Code: Select all
html xmlns:astutemedia>
<head>
  <?import namespace="astutemedia" implementation="../../../includes/clientside/calendar/CalendarPopup.htc">
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
We have 2 servers, one is for live usages by our clients and the other is for testing by ourselves.
The problem is that on the test box this control works in IE6 and IE7 but on the live box, the control works in IE6 and not in IE7. What happens in IE7 is a box appears with a red x in the corner (like that of a missing image). I managed to get the source from this but all that's displayed is

Code: Select all
<html><body></body></html>
Should I be looking at IIS settings or is there some specific reason IE7 won't display on one but will on the other?
Many thanks for any suggestions in advance.
Reply With Quote

  #2 (permalink)  
Old Mar 14th, 2008, 16:38
CloudedVision's Avatar
Nerdy Moderator
Join Date: Feb 2008
Location: In My Own Little World
Age: 14
Posts: 1,153
Blog Entries: 9
Thanks: 2
Thanked 34 Times in 34 Posts
Re: CalendarPopup.htc only works sometimes for IE7?

most likely on the live server the directories are different than the testing server. Double check all your image paths match up.
__________________
echo "Take it easy, ".$CloudedVision;
.links { site: other-road-design; blog: only-nerds-allowed; project: resource-fish; project-2: kapp; }
<quote>&quot;I think it's wrong that only one company makes the game Monopoly&quot; - <name>Steven Wright</name></quote>
Last Blog Entry: Hilarious Rapper (Jul 29th, 2008)
Reply With Quote
  #3 (permalink)  
Old Mar 14th, 2008, 16:50
Junior Member
Join Date: Mar 2008
Location: Lisburn, Northern Ireland
Age: 28
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CalendarPopup.htc only works sometimes for IE7?

Already after doing that and checked and compared all IIS settings. Also IE6 wouldn't display the calendar if the paths weren't tallying up surely?

Thanks for responding though. I'm having awful trouble finding any information on .htc files and IE7 conflicts.
Reply With Quote
  #4 (permalink)  
Old Mar 15th, 2008, 00:07
CloudedVision's Avatar
Nerdy Moderator
Join Date: Feb 2008
Location: In My Own Little World
Age: 14
Posts: 1,153
Blog Entries: 9
Thanks: 2
Thanked 34 Times in 34 Posts
Re: CalendarPopup.htc only works sometimes for IE7?

true, forgot about EI6 working. What about firefox? You can get some good debugging info from that. Maybe a link?
__________________
echo "Take it easy, ".$CloudedVision;
.links { site: other-road-design; blog: only-nerds-allowed; project: resource-fish; project-2: kapp; }
<quote>&quot;I think it's wrong that only one company makes the game Monopoly&quot; - <name>Steven Wright</name></quote>
Last Blog Entry: Hilarious Rapper (Jul 29th, 2008)
Reply With Quote
  #5 (permalink)  
Old Mar 16th, 2008, 10:55
Junior Member
Join Date: Mar 2008
Location: Lisburn, Northern Ireland
Age: 28
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CalendarPopup.htc only works sometimes for IE7?

Sadly the website was developed for IE only and there are checks for other browsers at the log in stage so a Firefox check is out the window.

I'm beginning to think it might be firewall or security software dependent but unfortunately given we don't host the live site ourselves, I'll have to contact the hosts and ask them their opinion.

I'll update this thread on my progress if I get anywhere.

If it helps, I can post up more code but I feel it will not help as I've checked it against the test server files and they match exactly.
Reply With Quote
  #6 (permalink)  
Old Mar 16th, 2008, 14:39
CloudedVision's Avatar
Nerdy Moderator
Join Date: Feb 2008
Location: In My Own Little World
Age: 14
Posts: 1,153
Blog Entries: 9
Thanks: 2
Thanked 34 Times in 34 Posts
Re: CalendarPopup.htc only works sometimes for IE7?

Firefox is used by nearly half of all internet users. I wouldn't just chuck it out the window.
__________________
echo "Take it easy, ".$CloudedVision;
.links { site: other-road-design; blog: only-nerds-allowed; project: resource-fish; project-2: kapp; }
<quote>&quot;I think it's wrong that only one company makes the game Monopoly&quot; - <name>Steven Wright</name></quote>
Last Blog Entry: Hilarious Rapper (Jul 29th, 2008)
Reply With Quote
  #7 (permalink)  
Old Mar 16th, 2008, 22:35
Junior Member
Join Date: Mar 2008
Location: Lisburn, Northern Ireland
Age: 28
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CalendarPopup.htc only works sometimes for IE7?

Unfortunately as much as I would love this bespoke application to work with Firefox amongst other browsers, the original spec did stipulate it had to be IE compatible only, hence the reason for browser checks at the log in stage.
Reply With Quote
  #8 (permalink)  
Old Mar 19th, 2008, 14:52
Junior Member
Join Date: Mar 2008
Location: Lisburn, Northern Ireland
Age: 28
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Re: CalendarPopup.htc only works sometimes for IE7?

Mystery Solved, sadly problem isn't.

IE7 apparently doesn't allow scriptlets to work by default when the site you're visiting is part of the internet security zone. It does however when accessing sites on the intranet zone (hence why our test box works).

The calendarpopup.htc encapsulates the calendar.htc file and using the calendar.htm file as it's content source. It using 'text/x-scriptlet' as the mime type so you need scriptlets enabled to use it. IE6 apparently uses this still and it's being phased out as of IE7.

Anyway, the shortterm fix is

Go to Tools -> IE Options -> Click on Internet Zone -> custom level... button -> Scroll down to ActiveX controls and Plugins -> Turn 'Allow Scriptlets' to enable.

Our problem is telling 4000+ plus users to change this so it unforunately doesn't help us. I hope the above information helps someone else.
Reply With Quote
  #9 (permalink)  
Old Mar 19th, 2008, 15:03
Junior Member
Join Date: Mar 2008
Location: Lisburn, Northern Ireland
Age: 28
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Re: CalendarPopup.htc only works sometimes for IE7?

PS. Thanks to CloudedVision for their attempts to help, they pointed me roughly in the right direction.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
ُSome PHP works marSoul Job Opportunities 0 Oct 8th, 2007 16:17
Works in IE but no other browser philiph Web Page Design 8 Jul 17th, 2007 20:33
Site works in IE7 but not in FF jjpeacha Web Page Design 5 May 15th, 2007 18:41
CSS opacity works in FF but not IE? WebNinja Web Page Design 5 Feb 25th, 2007 22:14
Works in IE7 not in FF... daygo140 Web Page Design 4 Jan 22nd, 2007 11:49


All times are GMT. The time now is 16:27.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43