Error on AW Pages: 'Location' or 'Element' Object Not a Property

Last reviewed: July 16, 1997
Article ID: Q154084
The information in this article applies to:
  • Microsoft Commerce Server, version 2.0

Q. On every page of the Adventure Works demo, I receive a JScript error

   to the effect that the 'location' or 'element' object is not a property
   of the frame. I cannot recreate the error on all computers. Systems
   running the same operating system and browser are exhibiting different
   behavior. Why?

A. This error is related to the installation of Internet Explorer. During
   the installation, Internet Explorer Setup writes data to the Windows
   registry that ultimately affects how scripts update frames on pages such
   as the administrative applications or starter store shopping pages.
   However, if the user performing the installation is logged on with the
   Guest account or another account that lacks permissions to write to the
   registry, the settings supporting scripting may not be enabled.

   Try to reinstall Internet Explorer using an account that has write
   permission to the registry. If that does not solve the problem, you may
   want to compare the versions of the Jscript.dll file on all the
   computers.


Additional query words: kbfaq JavaScript
Keywords : CommSamp kbenv kbinterop kbfaq
Version : 2.0
Platform : WINDOWS
Issue type : kbprb
Resolution Type : Info_Provided


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 16, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.