mde / timezone-js

DEPRECATED: Timezone-enabled JavaScript Date object. Uses Olson zoneinfo files for timezone data.
824 stars 183 forks source link

HTTP Error 404.3 - Trying to load TZ file #90

Closed thomasenns closed 11 years ago

thomasenns commented 11 years ago

I get the error...

HTTP Error 404.3 - Not Found The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

When I 'm trying to load the TZ file. Have a missed a step?

longlho commented 11 years ago

Can you specify all the steps?

thomasenns commented 11 years ago

I created and linked to a jquery.flot.timezone.js file and copied the timezone js text.

I have downloaded ftp://ftp.iana.org/tz/tzdata-latest.tar.gz and 'unzipped' it with 7-Zip. I added the files to a newly created tz folder in my VS MVC 4 Web Application.

In my web page I wrote...

timezoneJS.timezone.zoneFileBasePath = "tz";
timezoneJS.timezone.defaultZoneFile = [];
timezoneJS.timezone.init({ async: false });

On Wed, Jun 19, 2013 at 9:13 AM, Long Ho notifications@github.com wrote:

Can you specify all the steps?

— Reply to this email directly or view it on GitHubhttps://github.com/mde/timezone-js/issues/90#issuecomment-19694600 .

longlho commented 11 years ago

Hmm that means the resources don't exist. Do you have a sample page setup? Are you sure you unzipped it correctly? Try navigating to the folder itself from the browser, if you see the files it should work. Otherwise it's probably some setup issue with the web framework you're using.

Karamell commented 11 years ago

The message you see is from the IIS server. It will not serve extensionless files without any special configuration.

longlho commented 11 years ago

Thanks @Karamell :)

longlho commented 11 years ago

Close since issue is not related to the library itself

nazihnemri commented 8 years ago

Hello ,

@longlho please can you tell how I can fix this error on windows server iis 2012

longlho commented 8 years ago

My bet is something to do with your file serving config for windows server. Unfortunately I haven't used it enough to know. On Sun, Mar 27, 2016 at 2:31 PM nazih heni notifications@github.com wrote:

Hello ,

@longlho https://github.com/longlho please can you tell how I can fix this error on windows server iis 2012

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/mde/timezone-js/issues/90#issuecomment-202117402

nazihnemri commented 8 years ago

thanks but I'm new with windows server and i do not now how to add this config so it can load the file