I have started to have problems with my code. On one server the code works fine and on another (which is the one I need to run the scrpt on) I get
Microsoft VBScript runtime error '800a000d'
Type mismatch
/ops/eus/clrm/ck_avail.asp, line 243
The code is:
if dbperiod>1 then
dim dys(90)
for a=0 to dbperiod
dys(a) = DateAdd("d", a, out)
REM response.write( "dates loaded in the days array " & dys(a))%><!--<br>--><%
REM response.write( "ttime in db " & ttime)%><!--<br>--><%
Next
Microsoft VBScript runtime error '800a000d'
Type mismatch
/ops/eus/clrm/ck_avail.asp, line 243
The code is:
if dbperiod>1 then
dim dys(90)
for a=0 to dbperiod
dys(a) = DateAdd("d", a, out)
REM response.write( "dates loaded in the days array " & dys(a))%><!--<br>--><%
REM response.write( "ttime in db " & ttime)%><!--<br>--><%
Next
Comment