Windows Server 2008 Services and user permissions error: Invalid Printer Specified

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • selamiozlu
    New Member
    • Jul 2012
    • 1

    Windows Server 2008 Services and user permissions error: Invalid Printer Specified

    Hi All,
    here is our situation we have Windows Server 2008 Standard OS (64 bit) and logged in as an administrator and we have installed a windows service service with another account which belongs to Administrator group.
    So OS is running under and administrator group and the windows service running on a different user which is in administrator group.
    Shortly what this windows service does is using Crystal Reports template and sening to a network printer. During this process we get the error message "Invalid Printer Spcecified". When we remove the template
    just try to send it to the printer, this time we get error message "invalid handle". When we reboot/restart the server, it work both ways however we want to be successfully without rebooting/restarting the server.
    Note: the printer driver is OK.
    Shortly is there any way to accomplish without rebooting the server. We used some tools like PSEXEC but did not help.
    Remember if we reboot everything ok .
    Thanks and regards,
    Selami Ozlu
    Last edited by Niheel; Jul 26 '12, 04:34 PM. Reason: removal of email
  • ryno du preez
    New Member
    • Jul 2011
    • 91

    #2
    in the cmd consol use the following comands

    To stop the service ( net stop spooler )
    to start the service ( net start spooler )

    Comment

    Working...