Question

IFS 10 .Net Print Agent Spooler

  • 10 October 2022
  • 3 replies
  • 167 views

Badge +1

My company is on IFS 10 UPD 13 and we got the patch to allow sockets in the .net print agent. This was pulled out of a future patch and supplied to us. We are experiencing an issue where certain printers are having the error “Listener Failed: The process cannot access the file ‘c:\tmp\...\spool_queue.dat’ because it is being used by another process.” Would anyone know what might cause this error to occur? Once we restart the service the printer starts working again.

 


3 replies

Userlevel 5
Badge +12

Hi @Astewart691,

 

Do you have multiple instances of the Print Spooler running?

I would use Microsoft’s Process Explorer and search (Ctrl+Shift+F) for which process(es) are using spool_queue.dat.

Anything except for the current Print Spooler need to be closed.

 

Best regards

-- Ben

Badge +1

We have a print agent running for 4 environments on the print server. Each listener, processor pair has its own tmp folder that holds the spool_queue.dat file. Each tmp folder is unique for each environment. If we have the tmp folders isolated in this way do you think those would conflict?

Badge +1

@Astewart691 Hi, were you able to resolve the issue with the given recommendations by @Ben Monroe ?

Reply