Microsoft KB Archive/293866

= You Receive an &quot;Access Is Denied&quot; Error Message When You Use a Windows 95-Based Client to Print to a Network Printer =

Article ID: 293866

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Windows NT Server 4.0 Standard Edition

-



This article was previously published under Q293866



SYMPTOMS
If you use a client computer that is running either Microsoft Windows 95, Microsoft Windows 98, or Microsoft Windows 98 Second Edition to print to a network printer that is installed as part of a Microsoft cluster or standalone server, you may receive the following error message:

The test page fails to print. Would you like to view the print trouble shooter for assistance. Access is denied.



CAUSE
This problem may occur if the McAfee Anti-Virus monitoring software is set to perform a real-time scan of files on either the client that is running Windows 95, Windows 98, or Windows 98 Second Edition or on the server that is running Windows NT Server 4.0.

McAfee Anti-Virus scans the spooled files while the print job is being processed. Windows cannot close the files because McAfee Anti-Virus has the files open. These files are left in the Systemroot\System32\Spool\Printers folder. The spooled .shd and .spl files remain in the folder after the print job is displayed as completed.



RESOLUTION
To resolve this problem, use either of the methods that are described in this section.

You Receive the Error Message on the Print Server
If you receive the error message on the print server that is running Windows NT Server 4.0:  Delete the corrupted files in the Spool folder:  Click Start, point to Settings, and then click Control Panel. Double-click Services, click Spooler, and then click Stop. When you receive the following message, click Yes:

Are you sure you want to stop the spooler service?

 Click Start, point to Programs, and then click Windows NT Explorer. Expand the Winnt folder, expand the System32 folder, and then expand the Spool folder.</li> Click the Printers folder, click all of the files that are listed in the right pane, and then click Delete.</li> When you receive the following message, click Yes:

Are you sure you want to send these x items to the Recycle Bin?

</li> Repeat steps A and B to restart the Spooler service, and then click Start.</li></ol> </li> Configure the printer that is having the problem to start printing after the last page is spooled: <ol style="list-style-type: lower-alpha;"> Click Start, point to Settings, and then click Printers.</li> Right-click the printer that is having the problem, and then click Properties.</li> Click the Scheduling tab, and then click Spool print documents so program finishes printing faster.</li> Click Start printing after last page is spooled, and then click OK.</li></ol> </li> Configure the printer that is having the problem to print directly to the printer: <ol style="list-style-type: lower-alpha;"> Click Start, point to Settings, and then click Printers.</li> Right-click the printer that is having the problem, and then click Properties.</li> Click the Scheduling tab, click Print directly to printer, and then click OK.</li></ol> </li> Upgrade the McAfee Anti-Virus program to version 4.5 or later.</li> Verify that the Spool folder has the correct permissions.For additional information about the correct permissions for the Spool folder, click the article number below to view the article in the Microsoft Knowledge Base:

137503 Default Windows Spool Directory and Permissions

</li></ol>

You Receive the Error Message on the Client
If you receive the error message on the client that is running either Windows 95, Windows 98, or Windows 98 Second Edition: <ol> Delete the corrupted files in the Spool folder: <ol style="list-style-type: lower-alpha;"> Click Start, point to Programs, and then click Windows Explorer.</li> <li>Expand the Windows folder, expand the Spool folder, and then click the Printers folder.</li> <li>Click all of the files that are listed in the right pane, and then click Delete.</li> <li>When you receive the following message, click Yes:

Are you sure you want to send these x items to the Recycle Bin?

</li></ol> </li> <li>Configure the printer that is having the problem to start printing after last page is spooled: <ol style="list-style-type: lower-alpha;"> <li>Click Start, point to Settings, and then click Printers.</li> <li>Right-click the printer that is having the problem, and then click Properties.</li> <li>Click the Details tab, click Spool Settings, and then click Spool print documents so program finishes printing faster.</li> <li>Click Start printing after last page is spooled, and then click OK.</li></ol> </li> <li>Configure the printer that is having the problem to print directly to the printer: <ol style="list-style-type: lower-alpha;"> <li>Click Start, point to Settings, and then click Printers.</li> <li>Right-click the printer that is having the problem, and then click Properties.</li> <li>Click the Details tab, click Spool Settings, click Print directly to printer, and then click OK.</li></ol> </li> <li>Upgrade the McAfee Anti-Virus program to version 4.5 or later.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
If you are using a debugging program to debug the Spooler service, the following data may be logged in the debug log:

LSPL:SplGetPrinter Failure with ERROR_INSUFFICIENT_BUFFER cbBuf is 0 and pcbNeeded is 78.

<div class="references_section">