You receive an error message when you try to access the OLE DB Provider for DB2, the ODBC Driver for DB2, or the OLE DB Provider for AS/400 and VSAM in Host Integration Server 2004 from an ASP page (883842)



The information in this article applies to:

  • Microsoft Host Integration Server 2004

SYMPTOMS

When you try to access either the OLE DB Provider for DB2, the ODBC Driver for DB2, or the OLE DB Provider for AS/400 and VSAM in Microsoft Host Integration Server 2004 from an Active Service Pages (ASP) page, the process fails and you receive the following error messages:

For OLE DB: ADODB.Connection (0x800A0E7A) Provider cannot be found. It may not be properly installed. /Path/FileName.asp, line number

For ODBC: Microsoft OLE DB Provider for ODBC Drivers error '80004005' Specified driver could not be loaded due to system error 5 (Microsoft ODBC Driver for DB2). /Path/FileName.asp,line number

RESOLUTION

By default, anonymous access to ASP applications uses the local IUSR_COMPUTERNAME account and ASP.NET applications use the local ASPNET account. To resolve the behavior that is mentioned in the "Symptoms" section, add either the IUSR_COMPUTERNAME account or the ASPNET account to the HIS Runtime Users group. After the appropriate account has been added to this group, you must restart Microsoft Internet Information Services (IIS) for this change to take effect.
For additional information about ASP.NET process identity, click the following article number to view the article in the Microsoft Knowledge Base:

317012 Process and request identity in ASP.NET


Modification Type:MajorLast Reviewed:8/11/2004
Keywords:kbtshoot kbprb KB883842 kbAudDeveloper kbAudITPRO