CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Attributes.Show HTMLTemplate, "page:"

Print topic Send  topic

Author Message
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


View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.