Web Design and Development Forums

CalendarPopup.htc only works sometimes for IE7?

This is a discussion on "CalendarPopup.htc only works sometimes for IE7?" within the HTML Forum 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 > Design Your Website > HTML Forum

Welcome to Webforumz.com.
Register Now Register now!

Reply
 
LinkBack Thread Tools Rate Thread
Old Mar 14th, 2008, 14:34   #1 (permalink)
Junior Member
 
Join Date: Mar 2008
Location: Lisburn, Northern Ireland
Age: 28
Posts: 13
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.
Crow555 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Mar 14th, 2008, 16:38   #2 (permalink)
Nerdy Moderator
 
CloudedVision's Avatar
 
Join Date: Feb 2008
Location: In My Own Little World
Age: 14
Posts: 517
Blog Entries: 4
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.
__________________
Take it easy

Other Road Design

WebForumz Moderator: HTML | Javascript | PHP
CloudedVision is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Mar 14th, 2008, 16:50   #3 (permalink)
Junior Member
 
Join Date: Mar 2008
Location: Lisburn, Northern Ireland
Age: 28
Posts: 13
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.
Crow555 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Mar 15th, 2008, 00:07   #4 (permalink)
Nerdy Moderator
 
CloudedVision's Avatar
 
Join Date: Feb 2008
Location: In My Own Little World
Age: 14
Posts: 517
Blog Entries: 4
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?
__________________
Take it easy

Other Road Design

WebForumz Moderator: HTML | Javascript | PHP
CloudedVision is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Mar 16th, 2008, 10:55   #5 (permalink)
Junior Member
 
Join Date: Mar 2008
Location: Lisburn, Northern Ireland
Age: 28
Posts: 13
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.
Crow555 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Mar 16th, 2008, 14:39   #6 (permalink)
Nerdy Moderator
 
CloudedVision's Avatar
 
Join Date: Feb 2008
Location: In My Own Little World
Age: 14
Posts: 517
Blog Entries: 4
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.
__________________
Take it easy

Other Road Design

WebForumz Moderator: HTML | Javascript | PHP
CloudedVision is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Mar 16th, 2008, 22:35   #7 (permalink)
Junior Member
 
Join Date: Mar 2008
Location: Lisburn, Northern Ireland
Age: 28
Posts: 13
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.
Crow555 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Mar 19th, 2008, 14:52   #8 (permalink)
Junior Member
 
Join Date: Mar 2008
Location: Lisburn, Northern Ireland
Age: 28
Posts: 13
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.
Crow555 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old Mar 19th, 2008, 15:03   #9 (permalink)
Junior Member
 
Join Date: Mar 2008
Location: Lisburn, Northern Ireland
Age: 28
Posts: 13
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.
Crow555 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
My works website jtyoungs Website Planning Discussion 9 Oct 5th, 2007 10:12
Link works in IE but not in FF shahzad HTML Forum 9 Mar 26th, 2007 05:47
CSS opacity works in FF but not IE? WebNinja CSS Forum 5 Feb 25th, 2007 22:14
Works in IE7 not in FF... daygo140 CSS Forum 4 Jan 22nd, 2007 11:49
bad coding... only works in IE Dapandyman CSS Forum 94 Dec 21st, 2006 10:40



Latest Updates

All Points SEO Security Advisory - CHECK YOUR SITE NOW!

Creative Coding :: February 2008

Webforumz is sponsored by: WESH UK Web Hosting
All times are GMT. The time now is 10:23.

Sleep Study Scoring :: Free Bet :: Website Templates :: Online Betting :: Bookmakers :: Funny Quotes :: Internet Recruitment Software :: Microsoft CRM Experts :: Online Casino :: Decorated Christmas Trees :: Midwife Forums :: Football Betting :: Ecommerce Software :: Web Hosting :: Football Stats :: Dry Cleaning Collection :: xtreme wales - extreme clothing :: Apuestas :: Sharepoint Consultants :: Website Optimisation :: Office Clearance London :: Sharepoint Experts :: Sports Betting :: Casino :: Website Templates :: Web Design Development India :: Online Gambling

Powered by: vBulletin Version 3.7, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
© 2003-2008 Webforumz.com : All Rights Reserved
Search Engine Friendly URLs by vBSEO 3.2.0 RC6


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 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59