Print Server Application Exception in Function AimOpenPrinter (173617)
The information in this article applies to:
- Microsoft SNA Server 3.0
- Microsoft SNA Server 3.0 SP1
This article was previously published under Q173617 SYMPTOMS
The SNA Server Host Print service may generated an application exception
when attempting to start a configured print session in SNA Server Manager.
An error similar to the following will be logged in the Windows NT
Application Event Log when the application exception occurs:
Event ID: 4097
Source: DrWatson
Description: The application, exe\snaprint.dbg, generated an application
error.
The error occurred on <date> @ <time>. The exception generated was
c0000005
at address 01002308 (AIMOpenPrinter).
In addition, a Drwtsn32.log file will be generated in the Windows NT
directory. The Drwtsn32.log will contain information similar to the
following:
Application exception occurred:
App: exe\snaprint.DBG (pid=<process id #>)
When: <date> @ <time>
Exception number: c0000005 (access violation)
CAUSE
When starting a print session, the Print Server attempts to open a
connection to the configured printer by issuing a StartDoc() call. If the
StartDoc() call fails, the print server was not properly setting all
related pointers to NULL, causing the application exception to occur.
In a reported occurrence of this problem, the StartDoc() call failed
because the print server was not able to connect to the TCP/IP address of
the remote printer that the print session was configured to use. There may
be other reasons that StartDoc() fails that result in the same application
exception.
RESOLUTION
The SNA Server Print service has been updated to correctly free all
allocated memory and to reset
all related pointers if the StartDoc() fails.
STATUS
Microsoft has confirmed this to be a problem in SNA Server versions 3.0 and
3.0 Service Pack 1 (SP1). This problem was corrected in the latest SNA
Server version 3.0 U.S. Service Pack. For information on obtaining this
Service Pack, query on the following word in the Microsoft Knowledge Base
(without the spaces):
S E R V P A C K
Modification Type: | Minor | Last Reviewed: | 4/21/2005 |
---|
Keywords: | kbbug kbfix kbnetwork KB173617 |
---|
|