Weird Thoughts From Eric's Head

Tags - Categories : All | AJAX | BUSINESS | PERSONAL | PROGRAMMING | BOOK REVIEW

Enable Active Content - IE warning message
I am really tired of the question: "Why can't I run scripts on my local machine without getting a security warning. I do not know why it will not let me do it!"

The problem is not your script but your browser settings on IE. With SP2 installed, it adds more protection and one of them is to block JavaScript from running on the local machine.

It is an easy fix, all you need to do is go into your tools menu and select internet options. Scroll down to you see the Security heading and check the two boxes shown in the graphic below. The one that you most likely need is "Allow active content to run in files on My Computer". The default setting is unchecked. Checking it allows your code to run!

security setting with IE

As you can see, IE blocks code on the client and cd.

Click apply and Ok and your problems should be fixed!

Eric Pascarello
Moderator of HTML/JavaScript at www.JavaRanch.com
Author of: JavaScript: Your Visual Blueprint for Dynamic Web Pages