Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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.

↑ Back to the top


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.

↑ Back to the top


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.

↑ Back to the top


Status

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

↑ Back to the top


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

↑ Back to the top


Keywords: KB320487, kbnofix, kbbug

↑ Back to the top

Article Info
Article ID : 320487
Revision : 3
Created on : 2/1/2007
Published on : 2/1/2007
Exists online : False
Views : 318