|
 |
asp_web_howto thread: Re: Strange errors on moving application
Message #1 by Sam Clohesy <sam@e...> on Thu, 27 Dec 2001 12:35:31 -0000
|
|
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C18ED2.F9387E30
Content-Type: text/plain;
charset="iso-8859-1"
Hi all, Merry Chistmas etc..
I am moving a website to a new machine (looks like the same spec as original
machine) most of the site works except one include file which performs a lot
of my common functions.
Here is the error:
Microsoft VBScript compilation error '800a03ea'
Syntax error
/include/functions.asp, line 142
Set loRegExp = New RegExp
---------------^
and here is my code (section with the error):
Function StripHTML(ByRef asHTML)
Dim loRegExp' Regular Expression Object
' Create built In Regular Expression object
Set loRegExp = New RegExp ' Set the pattern To look For HTML tags
loRegExp.Pattern = "<[^>]*>" ' Return the original String stripped of HTML
StripHTML = loRegExp.Replace(asHTML, "") ' Release object from memory
Set loRegExp = Nothing End Function
Is this an asp.dll issue or something else?
Have looked up error code on MS site but only refers to Interdev site
errors..
Thanks
Sam
Message #2 by Sam Clohesy <sam@e...> on Thu, 27 Dec 2001 13:28:22 -0000
|
|
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C18EDA.5B05DC50
Content-Type: text/plain;
charset="iso-8859-1"
Hi all this was a script engine problem. Installed the latest engine and all
works fine
Thanks
Sam
-----Original Message-----
From: Sam Clohesy
Sent: 27 December 2001 12:36
To: 'ASP Web HowTo'
Subject: RE: [asp_web_howto] Re: Strange errors on moving application
Hi all, Merry Chistmas etc..
I am moving a website to a new machine (looks like the same spec as original
machine) most of the site works except one include file which performs a lot
of my common functions.
Here is the error:
Microsoft VBScript compilation error '800a03ea'
Syntax error
/include/functions.asp, line 142
Set loRegExp = New RegExp
---------------^
and here is my code (section with the error):
Function StripHTML(ByRef asHTML)
Dim loRegExp' Regular Expression Object
' Create built In Regular Expression object
Set loRegExp = New RegExp ' Set the pattern To look For HTML tags
loRegExp.Pattern = "<[^>]*>" ' Return the original String stripped of HTML
StripHTML = loRegExp.Replace(asHTML, "") ' Release object from memory
Set loRegExp = Nothing End Function
Is this an asp.dll issue or something else?
Have looked up error code on MS site but only refers to Interdev site
errors..
Thanks
Sam
|
|
 |