Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New to the CF scene
    Join Date
    Dec 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Weird Error from IIS 5

    I get this error:

    Error Type:
    Microsoft VBScript runtime (0x800A000D)
    Type mismatch

    there is nothing strange about that, but the code line it´s suggesting:
    <input type=hidden name="SCHEDULE_NAME" value="<%= Help_job("schedule_name") %>">

    This piece of code has been there for years without any error, so i suspect that ISS is reporting the wrong line number ??

    Anyone been troubled with this before?

    Provo

  • #2
    Senior Coder Spudhead's Avatar
    Join Date
    Jun 2002
    Location
    London, UK
    Posts
    1,856
    Thanks
    8
    Thanked 110 Times in 109 Posts
    post the code for function Help_job()

  • #3
    New Coder
    Join Date
    Dec 2007
    Location
    UK
    Posts
    41
    Thanks
    1
    Thanked 7 Times in 7 Posts
    Is help_job() a Record Set?

  • #4
    Senior Coder Spudhead's Avatar
    Join Date
    Jun 2002
    Location
    London, UK
    Posts
    1,856
    Thanks
    8
    Thanked 110 Times in 109 Posts
    good point

  • #5
    Regular Coder
    Join Date
    Sep 2007
    Posts
    120
    Thanks
    0
    Thanked 3 Times in 3 Posts
    Or a dictionary object...

    Tom

  • #6
    New to the CF scene
    Join Date
    Dec 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi all

    Help_job is a stored procedure in MS-SQL, i should of course had written more information.

    Anyway i found out what it was, VB has a very weird Type checking, further up the code there was a variable that been assigned Null where it should be Integer, i find it extremely hard to make sure that the type don&#180;t change in the middle of the code.

    Any idea's ?

    Provo


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •