Microsoft https://support.microsoft.com/en-us/kb/320487

Sign in

    FP2002: “JScript Runtime Error ‘800a1391′” When You Preview ASP Page with Recordset and Grid Design-Time Controls

    This article was previously published under Q320487
    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

    If you preview an Active Server Pages (ASP) page in your Web browser, you receive an error message similar to the following:

    Microsoft JScript runtime error ‘800a1391’

    ‘Recordset1’ is undefined

    /project/default.asp, line 27

    This occurs after you do the following:

    1. You create the ASP page in a Microsoft Visual InterDev project.
    2. You add Recordset and Grid Design-Time Controls.
    3. You open the page in FrontPage and save it again.
    CAUSE

    When you use FrontPage to open an ASP page that was created in Visual InterDev with embedded Recordset and Grid Design-Time Controls, FrontPage removes the server-side ASP code for these Design-Time Controls, therefore breaking their functionality.

    WORKAROUND

    To work around this issue, use one of the following methods.

    Method 1

    Do not use FrontPage to edit pages that were created in Visual InterDev with Recordset and Grid Design-Time Controls.

    Method 2

    Turn off the ability of FrontPage to modify the properties of the Design-Time Controls by modifying the registry.

    WARNING: 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 turn off these Design-Time Controls in FrontPage, follow these steps:

    1. Close all instances of FrontPage.
    2. Open Windows Notepad.
    3. Type or paste the following text into Notepad:
      
      REGEDIT4
      
      [HKEY_CURRENT_USER\Software\Microsoft\FrontPage\Editor\NewOpaqueControls\{9CF5D7C2-EC10-11D0-9862-0000F8027CA0}]
      
      [HKEY_CURRENT_USER\Software\Microsoft\FrontPage\Editor\NewOpaqueControls\{277FC3F2-E90F-11D0-B767-0000F81E081D}]
      					
    4. Save the file to your desktop as DisableDTCs.reg.
    5. Close Notepad.
    6. Double-click the DisableDTCs.reg file on your desktop.
    7. Click Yes if you are prompted to add the information to the registry.
    STATUS

    Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

    MORE INFORMATION

    For additional information about using FrontPage with Design-Time Controls, click the article numbers below to view the articles in the Microsoft Knowledge Base:

    206059 FP2000: Design-Time Control Command Not Available
    219561 FP2000: Design-Time Controls Do Not Preview Changes Made in Normal View

    For additional information about the error message in this article, click the article number below to view the article in the Microsoft Knowledge Base:

    254247 PRB: JScript Run-Time Error Message 800A1391: ‘Recordset1’ Is Undefined
    Properties

    Article ID: 320487 – Last Review: 02/01/2007 03:03:16 – Revision: 2.1

    Applies to

    • Microsoft FrontPage 2002 Standard Edition
    Keywords:

    • kbbug kbnofix KB320487
    Feedback
    Was this information helpful?

    Yes
    No
    Somewhat
    Tell us what we can do to improve the article
    Submit
    Anúncios

    2 comentários Adicione o seu

    Deixe um comentário

    Preencha os seus dados abaixo ou clique em um ícone para log in:

    Logotipo do WordPress.com

    Você está comentando utilizando sua conta WordPress.com. Sair / Alterar )

    Imagem do Twitter

    Você está comentando utilizando sua conta Twitter. Sair / Alterar )

    Foto do Facebook

    Você está comentando utilizando sua conta Facebook. Sair / Alterar )

    Foto do Google+

    Você está comentando utilizando sua conta Google+. Sair / Alterar )

    Conectando a %s