Web Server forum
Back To The Forum Home!Search!Private Messaging System

This is Interesting: Free IT Magazines Now Free shipping to   
Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS ASP > Timer function




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Timer function  
JohnWayne


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-11-04 07: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??







[ Post a follow-up to this message ]



    Re: Timer function  
Aaron Bertrand - MVP


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-11-04 07: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??
>
>







[ Post a follow-up to this message ]



    Re: Timer function  
JohnWayne


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-11-04 07: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... 
>
>







[ Post a follow-up to this message ]



    Re: Timer function  
Aaron Bertrand - MVP


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-11-04 08: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 
function 
>
>







[ Post a follow-up to this message ]



    Re: Timer function  
JohnWayne


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-11-04 08: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 
> error 
> function 
>
>







[ Post a follow-up to this message ]



    Re: Timer function  
Aaron Bertrand - MVP


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-11-04 08: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. 
>
>







[ Post a follow-up to this message ]



    Re: Timer function  
JohnWayne


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-11-04 08: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. 
>
>







[ Post a follow-up to this message ]



    Re: Timer function  
JohnWayne


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-11-04 08: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 
compile 
> 2002. 
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:00 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 

Back To The Top
Home | Usercp | Faq | Register