Friday, July 30, 2004

Misleading ASP error message.

I am maintaining on a small web application written in classic ASP. It access VFP database via ODBC. I get misleading error while running the program. After debug it for few hours, finally I found the cause and solution.

Error 1 : 'Cannot open file'
Cause : Database path is incorrect.
Solution : Correct connection string
Error 2 : Unspecified error on second run the ASP page
Cause : Wrong version of MDAC driver.
Solution : Install the latest MDAC driver.

0 Comments:

Post a Comment

<< Home