PRB: "System Error 5" When You Connect to a DB2 Database from an ASP Page (299454)



The information in this article applies to:

  • Microsoft Active Server Pages
  • Microsoft Data Access Components 2.5
  • Microsoft Data Access Components 2.6

This article was previously published under Q299454

SYMPTOMS

When you try to connect to a DB2 database from an Active Server Pages (ASP) page, you may receive the following error message:
Specified driver could not be loaded due to system error 5 (IBM DB2 ODBC Driver)

CAUSE

This problem occurs because Microsoft Internet Information Server (IIS) needs valid permissions on the \SQLLIB folder.

RESOLUTION

To resolve this problem, make sure that the IUSR_ComputerName account has Read and Execute permissions on the files and folders under \SQLLIB.

The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

Modification Type:MajorLast Reviewed:11/17/2003
Keywords:kbprb KB299454