Re: IIF statements not working
From: Ray at <%=sLocation%> [MVP] (%=sLocation%)
Date: 02/13/04
- Next message: Manohar Kamath [MVP]: "Re: Please speculate: "saved articles" functionality on www.news.com"
- Previous message: Bob Barrows [MVP]: "Re: IIF statements not working"
- In reply to: Scott O'Donnell: "IIF statements not working"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 13 Feb 2004 18:29:21 -0500
IIF isn't a vbscript statement. Perhaps you want to use a select case
statement.
Ray at work
"Scott O'Donnell" <nospam@nospam.com> wrote in message
news:ulkq201ttfpaodbqqu0lt35bitld08vrio@4ax.com...
> From Win 2K Server, IIS 5, ASP
>
> Is there a reason why Immediate If (IIF) statements won't run on an
> IIS server?
>
> I have code written on a dev server e.g.:
>
> Response.Write IIF(1 = 1, "True", "False")
>
> This code runs fine. However when I port it over to another server I
> receive the following error:
>
> Microsoft VBScript runtime error '800a000d'
>
> Type mismatch: 'IIf'
>
> /IIF test.asp, line 6
>
> Is it possible I am missing a dll or something similar? Any help
> would be greatly appreciated!
>
> thanks in advance for any help
> scott
- Next message: Manohar Kamath [MVP]: "Re: Please speculate: "saved articles" functionality on www.news.com"
- Previous message: Bob Barrows [MVP]: "Re: IIF statements not working"
- In reply to: Scott O'Donnell: "IIF statements not working"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|