...

View Full Version : Weird Error from IIS 5



provo
12-21-2007, 11:45 AM
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

Spudhead
12-21-2007, 12:34 PM
post the code for function Help_job()

tonyyeb
12-21-2007, 12:38 PM
Is help_job() a Record Set?

Spudhead
12-21-2007, 12:40 PM
good point :D

Whatever Jr.
12-21-2007, 02:51 PM
Or a dictionary object...

Tom

provo
12-27-2007, 08:18 AM
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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum