In config.asp we added the Err.Number to the if statements so it won't go into a never ending loop with chiliasp, because chiliasp doesn't support the Errors() collection. It kept returning 0 instead of the correct error code. But we also sent the same 0 for the error code. So basically it's not fixed yet.
We need to use Err.Number instead to get the error code.
In config.asp, change lines 141, 167 from this:ConnErrorNumber = my_Conn.Errors(counter).Number
to this:ConnErrorNumber = Err.Number
Change lines 143, 168 from this:if my_Conn.Errors(counter).Number <> 0 or Err.Number <> 0 then
to this:if ConnErrorNumber <> 0 then
Line 170 can be removed.
In line 205 change the myConnError variable to ConnErrorNumber.
For setup.asp. We need to change all instances of:ConnErrorNumber = my_Conn.Errors(counter).Number
to this:ConnErrorNumber = Err.Number
Lines 114, 486, 3612, 3633, 3716, 3817, 3846, 3883 and 3993.
And we need to remove the following code in red:if ConnErrorNumber <> 0 or Err.Number <> 0 then
from lines 116, 488, 3614, 3634, 3718, 3818, 3847, 3884 and 3996. Since we are already checking for that.
That's it.