PRB: JScript Runtime Error for MSDN SamplesLast reviewed: May 29, 1997Article ID: Q167410 |
The information in this article applies to:
SYMPTOMSWhen 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 objectwhere 'xxx' is a line number and 'yyy' is an identifier that varies depending on the link.
CAUSEOnline information in the Developer Studio IDE (MSDEV) and the stand-alone MSDN uses the Internet Explorer control to display and navigate through the books online. If you disable some ActiveX technology, you will be unable to navigate much of the information and samples.
RESOLUTIONIn Internet Explorer, go to the View menu and click Options. Under Security, select "Enable ActiveX controls and plug-ins".
STATUSThis behavior is by design.
MORE INFORMATIONThe 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. Since ActiveX controls downloaded via the Web can be a threat to security, you can protect yourself by disabling "Allow downloading of active content". This setting is found in Internet Explorer by choosing Options on the View menu and then clicking the Security tab. To allow all InfoViewer and MSDN books links to work, you must select "Enable ActiveX controls and plug-ins" and select "Run ActiveX scripts" from the Internet Explorer Security tab.
Steps to Reproduce Behavior
REFERENCESFor additional information, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q167416 TITLE : BUG: InfoViewer Book and Sample Links May Not Work |
Additional query words: JavaScript
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |