Error message when you call a stored procedure to obtain output parameter data using the Host Integration Server (HIS) 2000 ODBC Driver for DB2 or HIS 2004 ODBC Driver for DB2:"(0x80040E5D) [Microsoft][ODBC DB2 Driver] Invalid attribute/option identifier" (921495)
The information in this article applies to:
- Microsoft Host Integration Server 2000
- Microsoft Host Integration Server 2000 SP1
- Microsoft Host Integration Server 2000 SP2
- Microsoft Host Integration Server 2004
SYMPTOMSWhen you try to use Microsoft Active Server Pages (ASP) or Microsoft
ActiveX Data Objects (ADO) to obtain output parameter data from a stored
procedure through the Microsoft Host Integration Server 2000 ODBC Driver for DB2 or the Microsoft Host Integration Server 2004 ODBC Driver for DB2, you may receive one of the following error messages: Microsoft OLE DB Provider for ODBC Drivers (0x80040E5D)
[Microsoft][ODBC DB2 Driver] Invalid attribute/option
identifier. (0x80040E21) [Microsoft][ODBC DB2
Driver] Invalid attribute/option identifier. CAUSEThis problem occurs because the Microsoft OLE DB provider for ODBC
tries to use named parameters. However, the Host Integration Server 2000 ODBC Driver for
DB2 or the Host Integration Server 2004 ODBC Driver for
DB2 does not support named parameters.WORKAROUNDTo work around this problem, use one of the following
two methods if you can use the Host Integration Server 2000 OLE DB provider for DB2 or the Host Integration Server 2004 OLE DB provider for DB2: Note There is no workaround if you use the Microsoft ODBC Driver for DB2.
STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section.
Modification Type: | Major | Last Reviewed: | 8/8/2006 |
---|
Keywords: | kbtshoot kbprb KB921495 kbAudDeveloper |
---|
|