This topic is locked

Running the asp files after the wizard fails

11/17/2005 12:41:19 PM
ASPRunnerPro General questions
author

what that means?
----------------------------------------------------

Error Type:

Microsoft VBScript compilation (0x800A0400)

Expected statement

..../include/languages.asp, line 4

##LANGMESSAGES##

-----------------------------------------------------
how do i correct this code that by the way was generated automaticly by the app "ASPRunnerPro 3.1"
here's the full code of the file: languages.asp
-----------

MULTILANG##<%


LANGMESSAGES##



DefaultLanguage="##DEFAULTLANG##"
Function GetListOfLanguages()

GetListOfLanguages = Languages

End Function
Function GetCurrentLanguage()
if Session("Language")<>"" then

GetCurrentLanguage = Session("Language")

else

GetCurrentLanguage = DefaultLanguage

end if
End Function
function MultilangMessage(tag)
Dim i,j

For i=LBound(Languages) to UBound(Languages)

if Languages(i) = GetCurrentLanguage() then

exit for

end if

Next
For j=LBound(Messages) to UBound(Messages)

if Messages(j) = tag then

exit for

end if

Next
if j<=UBound(Messages) and i<=UBound(Languages) then

MultilangMessage = MultilangMessages(i, j)

MultilangMessage = Replace(MultilangMessage, """", """)

MultilangMessage = Replace(MultilangMessage, "'", "'")

end if
End Function
%>##/MULTILANG##
-----------
thanks

Sergey Kornilov admin 11/17/2005

It appears ASP files weren't built properly.
How exactly wizard failed?

500386 11/18/2005

It appears ASP files weren't built properly.

How exactly wizard failed?


The wizard did not fail .it even reported all successful

Sergey Kornilov admin 11/22/2005

I recommend you to use ASPRunnerPro 3.2. Something's went wrong on this box. Installing the latest version of ASPRunnerPro should help.