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