
gmarkwood
Posts: 10
|
| Posted: 02/03/2007, 1:50 PM |
|
Hello,
I am upgrading an older CodeCharge project, ccsVersion="2.3.2.24" to ccsVersion="3.1.0.2".
After I logon with a login.asp page I get the following error:
>>>
Microsoft VBScript runtime error '800a01a8'
Object required: ''
/iLSeLearning/main.asp, line 256
>>>
It does not state the Object! OK, so here is the code that the error references:
>>>
'Show Page @1-DD8D83F4
Attributes.Show HTMLTemplate, "page:"
Set ChildControls = CCCreateCollection(Tpl, Null, ccsParseOverwrite, _
Array(JDMAIC_link, lbl_JDMAIC, BBMembership_Link, lbl_BBMembership)
ChildControls.Show
Dim MainHTML
HTMLTemplate.Parse "main", False
MainHTML = HTMLTemplate.GetHTML("main")
CCSEventResult = CCRaiseEvent(CCSEvents, "BeforeOutput", Nothing)
If CCSEventResult Then Response.Write MainHTML
'End Show Page
>>>
The line the error is generated on is:
Attributes.Show HTMLTemplate, "page:"
>>>
I reviewed the forum. but was not able to find any hlep with this kind of error. The "page:" appears to be something new to 3.x, as I do not find anything in 2.x code, unless I missed it.
I commented out this line:
'Attributes.Show HTMLTemplate, "page:"
And everything appears to function again.
My question is, how essential is this line and what does it do?
Thanks so much for anyone's time and best regards, Mark Wood, PHX AZ
|
 |
 |
|

|
|
|
|