CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 Object required: 'TemplateBlock' error

Print topic Send  topic

Author Message
GaryDN

Posts: 34
Posted: 08/29/2007, 6:10 AM

My project just started to have this error, almost all files.

anyone have some thoughts?

Microsoft VBScript runtime error '800a01a8'
Object required: 'TemplateBlock'
/codecharge/remax_heritage/Classes.asp, line 4743

line 4736:
Sub Show(TemplateBlock, Prefix)
If IsEmpty(TextValue) Then
TextValue = GetFormattedValue(Format)
End If
If TypeName(TemplateBlock) = "clsTemplateBlock" Then
TemplateBlock.BlockVariable(Prefix & Name)= TextValue
Else
TemplateBlock.SetVar "@" & Prefix & Name, TextValue
End If
End Sub
View profile  Send private message
DonB
Posted: 08/29/2007, 7:22 AM

You probably have messed with the HTML 'template' page, deleting, moving or
ortherwise altering the block markers: '<--- BEGIN something --> <!-- END
something -->

I believe the template is not being parsed quite correctly because the
'block' involved can't be found.

--
DonB

http://ccswiki.gotodon.net


"GaryDN" <GaryDN@forum.codecharge> wrote in message
news:646d5702f1ce69@news.codecharge.com...
> My project just started to have this error, almost all files.
>
> anyone have some thoughts?
>
> Microsoft VBScript runtime error '800a01a8'
> Object required: 'TemplateBlock'
> /codecharge/remax_heritage/Classes.asp, line 4743
>
> line 4736:
> Sub Show(TemplateBlock, Prefix)
> If IsEmpty(TextValue) Then
> TextValue = GetFormattedValue(Format)
> End If
> If TypeName(TemplateBlock) = "clsTemplateBlock" Then
> TemplateBlock.BlockVariable(Prefix & Name)= TextValue
> Else
> TemplateBlock.SetVar "@" & Prefix & Name, TextValue
> End If
> End Sub
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.yessoftware.com/
>

GaryDN

Posts: 34
Posted: 08/29/2007, 10:26 AM

Thanks Don it was one page that was causing problem, happen to be am include page, that is why some and all pages were having issues
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.