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" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
