FP2002: "JScript Runtime Error '800a1391'" When You Preview ASP Page with Recordset and Grid Design-Time Controls (320487)
The information in this article applies to:
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:
- You create the ASP page in a Microsoft Visual InterDev project.
- You add Recordset and Grid Design-Time Controls.
- 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.
- Click Yes if you are prompted to add the information to the registry.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbbug kbnofix KB320487 |
---|
|