Print Spooler Failure

dxbit
dxbit used Ask the Experts™
on
Hi All,

We got our main print server (Windows 2003 32 bit enterprise virtual machine) going down today afternoon with the spooler service failing and the following application pop up:

Microsoft Visual C++ Runtime Library

Buffer overrun detected!

Program: C:\windows\system32\spoolsv.exe

A buffer overrun has been detected which has corrupted the program's internal state. The program cannot safely continue execution and must now be terminated.

Did a google on the above and found a lot of possible solutions. Tried checking with Trend Labs and used their tools and they said nothing seems suspicious. Also tried spyware doctor and it didnt pick up anything.. Found files in the printers folder of the spool directory, deleted those.. disabled DEP, etc..

But the service still is not starting and the error still popping up.. HELP!
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
The print spooler consists of

spoolsv.exe
spoolss.dll
localspl.dll
win32spl.dll
winspool.drv
tcpmon.dll
tcpmib.dll
usbmon.dll


The spooler also depends on the Remote Procedure Call service to start.

net start spooler

or


"sc config spooler depend= RPCSS

Print spooler service as I found on my system have two files maybe more and some registry.

\windows\system32\spoolsv.exe and spoolss.dll, did your system have these files ?

If you don't have these files, try using the XP cd, browse to ie., D:\i386\
expand -r spoolsv.ex_ C:\windows\system32\spoolsv.exe
expand -r spoolss.dl_ C:\windows\system32\spoolss.dll

use this method if you don't want to wait sfc /scannow command.

This worked for me! Let me know if that helps!

-Cwdgomez

Author

Commented:
Thanks.. I checked for those two files (spoolsv.exe and spoolss.dll) in the mentioned path and they both exist. Also, please kind in mind that this is Windows server 2003 and not a XP OS.
 
Commented:
It might be that you ran out of enough space on the partition that spooler uses (usually system partition)
Or it might be because of a problem in one of the printer drivers installed, a re-installation might help.

Sometimes also, a simple computer restart would do it.
Acronis in Gartner 2019 MQ for datacenter backup

It is an honor to be featured in Gartner 2019 Magic Quadrant for Datacenter Backup and Recovery Solutions. Gartner’s MQ sets a high standard and earning a place on their grid is a great affirmation that Acronis is delivering on our mission to protect all data, apps, and systems.

Author

Commented:
I got around 6 GB on the system partition.. i want to try to uninstall some printer drivers, but the problem is with the spooler down, i cant see the printers.. how do i go about uninstalling its drivers then?
and yes ofcourse, when microsoft is concered, the first try is always a restart.. didnt help either.
Commented:
Sorry, forgot to update this one.. We fixed the issue.. we noted down all the recently installed printers and started searching for their name, IP, etc. in the registry and started deleting their keys one by one. After deleting about three printers' details we restarted the server and found the service to be starting normally.
Thanks all for the help.

Commented:
Excuse me, but I think that I have pointed out that you might have a problem in one the printer drivers, and I think this is what have done to resolve the case, remove the faulty printer driver.

Commented:
I recommend option #3 choosing the the comment id: http:#26421014 as the answer over the Asker's choice to select the comment id: http:#26588477 as the answer.

In comment id: http:#26421014  my recommendations were to :
1- re-install  the faulty printer driver.
2- restart the computer.

According to the comment id: http:#26588477 ,  steps that helped resolving the case were:
1- remove the faulty printer driver (via registry editing).
2- restarted the server.

According to the above remarks, I believe that my remarks were the exact solution that the Asker did to resolve the case, yet he assumed that they fixed the issue themselves (without help)!

Author

Commented:
yes, the comment: http:#26421014 was helpful and should be taken as a solution, but only as a partial solution for the following reasons:
1) It didnt mention as to how to find the faulty printer driver.
2) It mentioned reinstalling it which did not work. It was only later that we decided to removed it completely that it worked since the driver was just not working with the windows OS.
Thanks.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial