OLEDB Provider error message: The Conversation Was Deallocated with AP_ABEND (300685)
The information in this article applies to:
- Microsoft Host Integration Server 2000
- Microsoft SNA Server 4.0 SP1
- Microsoft SNA Server 4.0 SP2
- Microsoft SNA Server 4.0 SP3
- Microsoft SNA Server 4.0 SP4
- Microsoft OLE DB Provider for AS/400 and VSAM 4.0 SP2
- Microsoft OLE DB Provider for AS/400 and VSAM 4.0 SP3
- Microsoft Host Integration Server 2004
This article was previously published under Q300685 SYMPTOMS
The error "Conversation was Deallocated with AP_ABEND" occurs when you are running an application (or sending code from an Active Server Pages page) to connect via TCP/IP through SNA Server's OLEDB Provider for AS400/VSAM to an AS400.
The application will run fine the first time. If you disconnect and rerun the application, the error occurs. However, if you disconnect again and rerun the same application another time, everything works fine. (The error occurs every other time.)
Another symptom of the problem is an error in the AS400 QSYSOPR Log "DDM TCP/IP server error occurred with reason code 7". The complete error entry is as follows:
Message ID . . . . . . : CPD3E33 Severity . . . . . . . : 40
Message type . . . . . : Diagnostic
Date sent . . . . . . : 03/06/01 Time sent . . . . . . : 07:55:37
Message . . . . : DDM TCP/IP server error occurred with reason code 7.
Cause . . . . . : An error with reason code 7 occurred during DRDA/DDM
TCP/IP server processing. The name of the server program is QRWTLSTN. The
reason codes and their meanings are as follows:
1 -- Resolve to the QRWTLSTN program failed.
2 -- Retrieval of the QRWTLSTN program lock failed.
3 -- Submit job to start the server job failed.
4 -- Allocation of the QRWTLSTN program failed.
5 -- Starting of the server job failed.
6 -- Ending of the server job failed.
7 -- Activation of the server job failed.
8 -- Processing of the start server request failed.
RESOLUTION
The problem can be resolved by changing the "Maximum number of uses" value in the QRWTSRVR job to "1" (the default is 200).
First verify what MAXUSE value you are currently using by performing the following:
- From an AS400 command prompt, type wrksbsd (qsys/qsyswrk) and press ENTER.
- Press DOWN ARROW to QSYSWRK and type 5 (for "Display").
- Select option 10 - Prestart Job Entries.
- Press DOWN ARROW to QRWTSRVR and type 5 (Display).
- Look at the "Maximum number of uses" value.
If the value is greater than 1, type the following at an AS400 command prompt, and then press ENTER: CHGPJE SBSD(QSYS/QSYSWRK) PGM(QSYS/QRWTSRVR) MAXUSE(1)
This change will take effect immediately.
Modification Type: | Major | Last Reviewed: | 5/11/2005 |
---|
Keywords: | kbinfo KB300685 |
---|
|