Microsoft VBScript runtime error '800a0411' Name redefined: 'response' /<file>.asp, line <line>
|
This error usually indicates that you have used ADOVBS.inc in two different #INCLUDE directives (possibly nested within other includes). Another possible cause is that you have defined an identical constant in a page that also #INCLUDEs ADOVBS.inc. You can demonstrate this with the following example:
<% Const adOpenForwardOnly = 0 %> <!--#INCLUDE file='ADOVBS.inc'-->
|
My suggestion for avoiding this, is not using ADOVBS.inc at all... it incurs a lot of overhead for a few constants. Find out which constants you "need", copy them into your script (or your own reduced-size include), and leave ADOVBS.inc alone. (See
Article #2112 for more info.)
Another possibility is that you tried to defined a constant, giving it a name of a pre-defined object, such as the intrinsic ASP objects. For example:
<% Const Response = "Response message." %> |