Microsoft KB Archive/320487

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

Article ID: 320487

Article Last Modified on 2/1/2007

-

APPLIES TO


 * Microsoft FrontPage 2002 Standard Edition

-



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:  Close all instances of FrontPage. Open Windows Notepad.  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}]  Save the file to your desktop as DisableDTCs.reg . Close Notepad. Double-click the DisableDTCs.reg file on your desktop.</li> Click Yes if you are prompted to add the information to the registry.</li></ol>

<div class="status_section">

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

<div class="moreinformation_section">

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

Additional query words: bug front page dtc vid

Keywords: kbbug kbnofix KB320487

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.