Avatar of beverleydunster
beverleydunster asked on

Javascript not working on Windows IIS server site

I am experiencing trouble with what should be a very simple .js script on a website hosted on Windows server 2003 / IIS 6.  I have script called lightbox.js (from http://www.huddletogether.com/projects/lightbox/) which works perfectly on one site on the same server. I am simply copying everything from the working site and cloning it on a development site. All the code, directory structure - everything is the same on the second site. The problem I have is that the script is simply not operating. There are no errors or warnings - simply nothing from the script at all.

I have exhausted all other avenues to try and resolve the issue and my only remaining thought is that somehow Javascript needs enabling on a site-by-site basis on the server. I've not experienced this before - I've only ever known Javascript to work across all sites on a server. Does anyone know if it's necessary to enable script operation on a site-by-site basis in IIS? And if so, how?
JavaScriptMicrosoft IIS Web Server

Avatar of undefined
Last Comment

8/22/2022 - Mon

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

Javascript runs on client machine... view source and see if it is there, check paths... Try to access the script file directly - http://yoursite.com/folder../..~etc~../lightbox.js
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.