PRB: JScript Run-Time Error for MSDN Samples (167410)
The information in this article applies to:
- Microsoft Visual Studio 97
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- Microsoft Visual J++ 1.1
- Microsoft Visual InterDev 1.0
This article was previously published under Q167410 SYMPTOMS
When you click a link to access a sample (or click other similar links),
the following error message appears:
Microsoft JScript runtime error
[Line: xxx] 'yyy' is not an object
where 'xxx' is a line number and 'yyy' is an identifier that varies
depending on the link.
CAUSE
Online information in the Developer Studio IDE (MSDEV) and the stand-alone
Microsoft Developer Network (MSDN) uses the Microsoft Internet Explorer control to display and browse through the books online. If you disable some ActiveX technology, you will be unable to browse much of the information and samples.
RESOLUTION
In Internet Explorer click Options on the View menu. Under
Security, select Enable ActiveX controls and plug-ins.
In Internet Explorer 4.0, click Internet Options on the View menu. On the Security tab, look at the following zones if they are present in the Zone
list:
- Internet zone
- Local Intranet zone
- Trusted site zone
For each of these zones, make sure that the security level is set to Medium
or lower.
STATUS
This behavior is by design.
MORE INFORMATION
The InfoViewer technology used in the Developer Studio IDE is based on the
Internet Explorer browser, and the security settings in Internet Explorer
affect what can be displayed in an InfoViewer window.
The recommended way to protect yourself from unsafe Internet applets and
scripts is to prevent them from downloading accidentally. ActiveX
components that you have already installed on your own computer should be
safe. Either you have deliberately downloaded the component and had an
opportunity to evaluate it, or you have installed the component from a CD-
ROM or floppies and would only do this if you know and trust the source.
Therefore, you shouldn't need to prevent local components from running to
be secure.
Because ActiveX controls that are downloaded from the Web can be a threat to security, you can protect yourself by disabling the ability to download ActiveX controls. On Internet Explorer 4.0, setting the security level to Medium results in a warning message before ActiveX controls are downloaded.
To allow all MSDN links to work, you must follow the steps in the
"Resolution" section.
Modification Type: | Major | Last Reviewed: | 3/25/2004 |
---|
Keywords: | kbprb KB167410 |
---|
|