PRB: JScript Run-Time Error Message 800A1391: 'Recordset1' Is Undefined (254247)
The information in this article applies to:
- Microsoft Visual InterDev 6.0
This article was previously published under Q254247 SYMPTOMS
When you use a Visual Interdev data command and the design-time controls (DTCs) on an Active Server Pages (ASP) page, the following error may occur when the page is browsed if the Visual InterDev scripting platform was set to client:
Microsoft JScript runtime (0x800A1391)
'Recordset1' is undefined
If the scripting platform was set to server in the Visual InterDev Source Editor, the following error may occur:
Error: Object Expected
These errors occur only if Visual Studio Service Pack 3 is installed on the Visual InterDev development computer. If Service Pack 3 is not installed on the computer, no errors occur and the page appears blank.
CAUSE
When you drag a data command from the Project Explorer onto a page in the Visual InterDev Source Editor, code is generated that depends on which scripting platform has been defined for the page. When the scripting platform of a page is changed, the code that was previously generated for existing design-time Controls (DTCs) is not updated in the Visual InterDev Source Editor. Because the code does not change, the objects have connection information that only works on the original scripting platform.
RESOLUTION
To resolve this problem, change the scripting platform before you drag the data command and the DTCs onto the page.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 4/22/2001 |
---|
Keywords: | kbCtrl kbprb KB254247 |
---|
|