FP2002: "JScript Runtime Error '800a1391'" When You Preview ASP Page with Recordset and Grid Design-Time Controls

This article was previously published under Q320487
This article has been archived. It is offered "as is" and will no longer be updated.
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
bug front page dtc vid
Properties

Article ID: 320487 - Last Review: 12/07/2015 10:24:10 - Revision: 2.1

Microsoft FrontPage 2002 Standard Edition

  • kbnosurvey kbarchive kbbug kbnofix KB320487
Feedback