ActiveX Control Is Not Loaded with Modified CODEBASE Value in the Registry (262380)
The information in this article applies to:
- Microsoft Internet Explorer Administration Kit version 6
- Microsoft Internet Explorer Administration Kit 5.0
- Microsoft Internet Explorer Administration Kit 5.01
- Microsoft Internet Explorer Administration Kit 5.5
This article was previously published under Q262380 IMPORTANT: This article contains information about modifying the registry. Before you
modify the registry, make sure to back it up and make sure that you understand how to restore
the registry if a problem occurs. For information about how to back up, restore, and edit the
registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry
SYMPTOMS
When you view a Web page that attempts to load an ActiveX control, a red X may be displayed instead, the ActiveX control may not be loaded, or the Web page may display a message similar to:
ActiveX control failed to load!-- Please check browser security settings.
CAUSE
This problem can occur if all of the following conditions exist:
- The Web page is attempting to load an ActiveX control from the Microsoft Internet Explorer Components Gallery.
- The CODEBASE attribute is not specified in the Hypertext Markup Language (HTML) code on the Web page, or the CODEBASE attribute specifies a version that will not be found, such as #version=-1,-1,-1,-1.
- The CODEBASE value in the client computer's registry has been modified. This value can be modified manually or by corporate administrators with the Internet Explorer Administration Kit (IEAK). At stage 5 (the Policies and Restrictions section) in the IEAK, there is a Code Download option under Corporate Settings that is set to the following value by default:
CODEBASE;<http://activex.microsoft.com/objects/ocget.dll>
The version number of -1,-1,-1,-1 is typically used to force an ActiveX control to download every time a page is accessed. The internal network in an enterprise may be configured not to allow access to the Internet; if that happens, activex.microsoft.com is not accessible.
This option allows corporate administrators to specify a custom path for Internet Explorer to use when no CODEBASE attribute is specified by the Web page that tries to load ActiveX controls that are not already installed.
RESOLUTIONWARNING: If you use Registry Editor incorrectly, you may cause serious problems that may
require you to reinstall your operating system. Microsoft cannot guarantee that you can solve
problems that result from using Registry Editor incorrectly. Use Registry Editor at your own
risk.
To resolve this issue, modify the CODEBASE value in the registry to restore the default setting as follows:
- Start Registry editor (Regedit.exe).
- Locate and click the following key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Internet Settings - Modify the CodeBaseSearchPath String value. Change the value data to:
CODEBASE;<http://activex.microsoft.com/objects/ocget.dll>;<http://codecs.microsoft.com/isapi/ocget.dll>
REFERENCES
For additional information, visit the following Microsoft Web site:
| Modification Type: | Major | Last Reviewed: | 7/22/2003 |
|---|
| Keywords: | kbenv kberrmsg kbprb KB262380 |
|---|
|