You are viewing a plain text version of this content. The canonical link for it is here.
Posted to asp@perl.apache.org by Kai-Uwe Schmidt <Ka...@sawag.com> on 2002/05/24 12:39:20 UTC

not supported feature of Apache::ASP ? (WIN32)

Hi folks,

i have a small ASP file (bottom of this email) which causes error messages
in the error.log of my apache. Has anyone a clue what i did wrong ?


i am using the Apache, mod_perl stuff from
ftp://theoryx5.uwinnipeg.ca/pub/other/ The OS is windows2000 profesional
servicepack 2 + security updates.

Apache/1.3.20 (Win32) mod_perl/1.25_01-dev
asp.pm looks like to have the version 2.09 (not sure about this, i am kinda
perl noob ;) )

the error.log:
--------------
Bareword found where operator expected at ocattrsynch.asp line 4, near "0
If"
	(Missing operator before If?)
Bareword found where operator expected at ocattrsynch.asp line 4, near "0
Then"
	(Missing operator before Then?)
Bareword found where operator expected at ocattrsynch.asp line 6, near ")
Then"
	(Missing operator before Then?)
Bareword found where operator expected at ocattrsynch.asp line 8, near ")
	End"
	(Missing operator before End?)
String found where operator expected at ocattrsynch.asp line 11, near
"ProcessNoStateWebClass "OCAttributesSynch.OCAttributeSynch""
	(Do you need to predeclare ProcessNoStateWebClass?)
[Fri May 24 12:17:01 2002] [error] [asp] [1144] [error] syntax error at
ocattrsynch.asp line 4, near "0 <--> If VarType" <--> BEGIN not safe after
errors--compilation aborted at ocattrsynch.asp line 12. <--> ,
C:/Perl/site/lib/Apache/ASP.pm line 1975
-------------
end error.log



Mir freundlichem Gruß /with best regards
Kai-Uwe Schmidt
SAW AG


my asp file:
------------------
<%
Response.Buffer=True
Response.Expires=0

If (VarType(Application("~WC~WebClassManager")) = 0) Then
	Application.Lock
	If (VarType(Application("~WC~WebClassManager")) = 0) Then
		Set Application("~WC~WebClassManager") =
Server.CreateObject("WebClassRuntime.WebClassManager")
	End If
	Application.UnLock
End If

Application("~WC~WebClassManager").ProcessNoStateWebClass
"OCAttributesSynch.OCAttributeSynch", _
		Server, _
		Application, _
		Session, _
		Request, _
		Response
%>


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Re: not supported feature of Apache::ASP ? (WIN32)

Posted by Tim Pushor <ti...@crossthread.com>.
Apache:ASP does not support visual basic scripting (yet). To use Apache::ASP
your ASP pages must be written in perl.

----- Original Message -----
From: "Kai-Uwe Schmidt" <Ka...@sawag.com>
To: <as...@perl.apache.org>
Sent: Friday, May 24, 2002 4:39 AM
Subject: not supported feature of Apache::ASP ? (WIN32)


> Hi folks,
>
> i have a small ASP file (bottom of this email) which causes error messages
> in the error.log of my apache. Has anyone a clue what i did wrong ?
>
>
> i am using the Apache, mod_perl stuff from
> ftp://theoryx5.uwinnipeg.ca/pub/other/ The OS is windows2000 profesional
> servicepack 2 + security updates.
>
> Apache/1.3.20 (Win32) mod_perl/1.25_01-dev
> asp.pm looks like to have the version 2.09 (not sure about this, i am
kinda
> perl noob ;) )
>
> the error.log:
> --------------
> Bareword found where operator expected at ocattrsynch.asp line 4, near "0
> If"
> (Missing operator before If?)
> Bareword found where operator expected at ocattrsynch.asp line 4, near "0
> Then"
> (Missing operator before Then?)
> Bareword found where operator expected at ocattrsynch.asp line 6, near ")
> Then"
> (Missing operator before Then?)
> Bareword found where operator expected at ocattrsynch.asp line 8, near ")
> End"
> (Missing operator before End?)
> String found where operator expected at ocattrsynch.asp line 11, near
> "ProcessNoStateWebClass "OCAttributesSynch.OCAttributeSynch""
> (Do you need to predeclare ProcessNoStateWebClass?)
> [Fri May 24 12:17:01 2002] [error] [asp] [1144] [error] syntax error at
> ocattrsynch.asp line 4, near "0 <--> If VarType" <--> BEGIN not safe after
> errors--compilation aborted at ocattrsynch.asp line 12. <--> ,
> C:/Perl/site/lib/Apache/ASP.pm line 1975
> -------------
> end error.log
>
>
>
> Mir freundlichem Gruß /with best regards
> Kai-Uwe Schmidt
> SAW AG
>
>
> my asp file:
> ------------------
> <%
> Response.Buffer=True
> Response.Expires=0
>
> If (VarType(Application("~WC~WebClassManager")) = 0) Then
> Application.Lock
> If (VarType(Application("~WC~WebClassManager")) = 0) Then
> Set Application("~WC~WebClassManager") =
> Server.CreateObject("WebClassRuntime.WebClassManager")
> End If
> Application.UnLock
> End If
>
> Application("~WC~WebClassManager").ProcessNoStateWebClass
> "OCAttributesSynch.OCAttributeSynch", _
> Server, _
> Application, _
> Session, _
> Request, _
> Response
> %>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
> For additional commands, e-mail: asp-help@perl.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org