BUG: '800a01f5' Error When Using DTC Event Procedures
Article ID: 194007
Article Last Modified on 3/16/2005
APPLIES TO
- Microsoft Visual InterDev 6.0 Standard Edition
This article was previously published under Q194007
SYMPTOMS
When you use Design-Time control (DTC) event procedures and Visual Basic,
Scripting Edition, you might see the following error:
Microsoft JScript runtime error '800a01f5'
Cannot assign to variable
/KBTESTS/_ScriptLibrary/Recordset.ASP, line 97
This happens when you name your DTC with a certain name, most frequently
"rs" for recordset DTC.
CAUSE
This error occurs because the name of the event handler conflicts with the
name used internally in the Script Library. For example, the event handler
is "rs_onbeforeopen" and Recordset.asp uses the same name.
RESOLUTION
Give the DTC a different name than the name used internally in the Script
Library. The following list provides the internal names for the DTC's in
the Script Library.
DTC INTERNAL NAME
----------------------------------
RECORDSET RS
LABLE LBL
TEXTBOX TXT
LISTBOX LB
CHECKBOX CHK
OPTIONGROUP OPT
BUTTON BTN
RECORDSETNAVBAR RSNB
GRID DG
----------------------------------
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
Keywords: kberrmsg kbbug kbscript kbctrl KB194007