|
|
| JohnWayne 2004-02-11, 2:37 am |
| Hello All,
I am having a problem calling the Timer function. I get a compile error
when I include a call to this function.
Invalid character
/sirenServer/INCLUDE/test.asp, line 32, column 19
starttime = Timer()
Here is my system setup:
ASP.dll Version: 5.0.2195.6672
VBscript.dll Version: 5.6.0.8515
On Windows 2000 with IIS5.0 and front page server extensions 2002.
IE 6, VS.NET 2003. and Visual Studio 6.
VBScript Engine: 5.6 Return from :
response.write "VBScript Engine: "
response.write ScriptEngineMajorVersion
response.write "." response.write ScriptEngineMinorVersion
And according to the Version Information of VBScript, the Timer function
language element was implemented in Version 5.0.
Any thoughts??
| |
| Aaron Bertrand - MVP 2004-02-11, 2:37 am |
| Type that line over (and maybe the line before and after). Usually this is
because you copied the code from somewhere and it included some
non-printable character that the ASP engine doesn't like.
--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
"JohnWayne" <jpatches23@%%NOSPAM%%hotmail.com> wrote in message
news:uXBeweL8DHA.2412@TK2MSFTNGP09.phx.gbl...
> Hello All,
>
> I am having a problem calling the Timer function. I get a compile error
> when I include a call to this function.
>
> Invalid character
> /sirenServer/INCLUDE/test.asp, line 32, column 19
> starttime = Timer()
>
> Here is my system setup:
> ASP.dll Version: 5.0.2195.6672
> VBscript.dll Version: 5.6.0.8515
> On Windows 2000 with IIS5.0 and front page server extensions 2002.
> IE 6, VS.NET 2003. and Visual Studio 6.
>
> VBScript Engine: 5.6 Return from :
> response.write "VBScript Engine: "
> response.write ScriptEngineMajorVersion
> response.write "." response.write ScriptEngineMinorVersion
>
> And according to the Version Information of VBScript, the Timer function
> language element was implemented in Version 5.0.
>
> Any thoughts??
>
>
| |
| JohnWayne 2004-02-11, 2:37 am |
| Wow, stupid mistake by me, thanks that was it exactly.
Thanks for your help
"Aaron Bertrand - MVP" <aaron@TRASHaspfaq.com> wrote in message
news:#SyyahL8DHA.1640@TK2MSFTNGP11.phx.gbl...
> Type that line over (and maybe the line before and after). Usually this
is
> because you copied the code from somewhere and it included some
> non-printable character that the ASP engine doesn't like.
>
> --
> Aaron Bertrand
> SQL Server MVP
> http://www.aspfaq.com/
>
>
>
>
> "JohnWayne" <jpatches23@%%NOSPAM%%hotmail.com> wrote in message
> news:uXBeweL8DHA.2412@TK2MSFTNGP09.phx.gbl...
>
>
| |
| Aaron Bertrand - MVP 2004-02-11, 3:36 am |
| Can you show the EXACT error message you received (including the 0x800xxxxx
code)?
Thanks
--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
"JohnWayne" <jpatches23@%%NOSPAM%%hotmail.com> wrote in message
news:#OzcAnL8DHA.712@tk2msftngp13.phx.gbl...
> Wow, stupid mistake by me, thanks that was it exactly.
>
> Thanks for your help
>
> "Aaron Bertrand - MVP" <aaron@TRASHaspfaq.com> wrote in message
> news:#SyyahL8DHA.1640@TK2MSFTNGP11.phx.gbl...
> is
error[color=blue]
function[color=blue]
>
>
| |
| JohnWayne 2004-02-11, 3:36 am |
| Microsoft VBScript compilation (0x800A0408)
Invalid character
/sirenServer/INCLUDE/test.asp, line 32, column 19
starttime = Timer()
------------------^
"Aaron Bertrand - MVP" <aaron@TRASHaspfaq.com> wrote in message
news:OHYgEpL8DHA.2760@TK2MSFTNGP09.phx.gbl...
> Can you show the EXACT error message you received (including the
0x800xxxxx
> code)?
>
> Thanks
> --
> Aaron Bertrand
> SQL Server MVP
> http://www.aspfaq.com/
>
>
>
>
> "JohnWayne" <jpatches23@%%NOSPAM%%hotmail.com> wrote in message
> news:#OzcAnL8DHA.712@tk2msftngp13.phx.gbl...
this[color=blue]
> error
> function
>
>
| |
| Aaron Bertrand - MVP 2004-02-11, 3:36 am |
| Great, thanks. Just wanted to make sure I covered it.
http://www.aspfaq.com/2376
--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
"JohnWayne" <jpatches23@%%NOSPAM%%hotmail.com> wrote in message
news:uO5IOrL8DHA.2404@TK2MSFTNGP11.phx.gbl...
> Microsoft VBScript compilation (0x800A0408)
> Invalid character
> /sirenServer/INCLUDE/test.asp, line 32, column 19
> starttime = Timer()
> ------------------^
>
>
> "Aaron Bertrand - MVP" <aaron@TRASHaspfaq.com> wrote in message
> news:OHYgEpL8DHA.2760@TK2MSFTNGP09.phx.gbl...
> 0x800xxxxx
> this
2002.[color=blue]
>
>
| |
| JohnWayne 2004-02-11, 3:36 am |
| http://www.aspfaq.com/show.asp?id=2376
Which is this error ...
"JohnWayne" <jpatches23@%%NOSPAM%%hotmail.com> wrote in message
news:uO5IOrL8DHA.2404@TK2MSFTNGP11.phx.gbl...
> Microsoft VBScript compilation (0x800A0408)
> Invalid character
> /sirenServer/INCLUDE/test.asp, line 32, column 19
> starttime = Timer()
> ------------------^
>
>
> "Aaron Bertrand - MVP" <aaron@TRASHaspfaq.com> wrote in message
> news:OHYgEpL8DHA.2760@TK2MSFTNGP09.phx.gbl...
> 0x800xxxxx
> this
2002.[color=blue]
>
>
| |
| JohnWayne 2004-02-11, 3:36 am |
| I got that time code from your page.
http://www.aspfaq.com/show.asp?id=2092
"JohnWayne" <jpatches23@%%NOSPAM%%hotmail.com> wrote in message
news:#0EW9uL8DHA.2640@TK2MSFTNGP10.phx.gbl...
> http://www.aspfaq.com/show.asp?id=2376
>
> Which is this error ...
>
>
> "JohnWayne" <jpatches23@%%NOSPAM%%hotmail.com> wrote in message
> news:uO5IOrL8DHA.2404@TK2MSFTNGP11.phx.gbl...
Usually[color=blue]
compile[color=blue]
> 2002.
>
>
|
|
|
|