Websites, SEO and web management, London UK.

SEO

IE local machine active content blocked

ie local machine active content blocked

IE restricted activex. "In order to protect your security, Internet explorer has restricted this webpage from running scripts or ActiveX controls that could access your computer"

It happens while opening a page from local machine, the same page from web is OK.

When you view a Web page locally, scripts and ActiveX controls are blocked by default.

Why is Microsoft doing this? For your convenience and security. To help protect your security, Internet Explorer has restricted you viewing your own file. Fair enough. Workarounds?

Solution No. 1.

<!-- saved from url=(0014)about:internet --> Add this before the <html> tag. The number in brackets is the decimal length of the string that follows it. The line must be terminated with CR/LF character, ie file format has to be PC, not UNIX or MAC or something else.

Other solutions

You can also rename the .HTML file to .HTA and test the file locally. HTA files have more privileges than the HTM files and can run active content on Local Machine by default.

How Windows XP Service Pack 2 and Vista affect web pages running locally on your computer

Web pages with active content running locally. XP SP2, Vista and equivalent affect any web page with "active content" running locally on your computer in Internet Explorer. Many people provide web page information on CD or DVD, provide product documentation as web pages, or work with web pages locally before putting them online. Even very innocuous JavaScript is deemed to be active content and a user will have to agree to very worrying warning messages to see a page - or change a security setting. Some valid active content may not work even if the user has enabled active content for the current window.

Due to Local Machine Lockdown in XP SP2, when you view a Web page locally, scripts and ActiveX controls are blocked by default. If you are certain that you want to allow the Web page to run ActiveX controls or scripts, click Yes in the message box. By clicking Yes, you allow the active content to run on the Web page youre viewing, but only on that occasion.

Run a local web server on your system and load from http://localhost/ instead of a local folder.

Recources

More information, tons of workarounds and tweaks - Local Machine Zone Lockdown - http://www.phdcc.com/xpsp2.htm

2009

Web Development - XHTML CSS JavaScript jQuery.