Windows Server 2008 Standard OS (64 bit) and logged in as

July 26, 2012 at 10:33:10
Specs: Windows 7
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
*removed email address'

edited by moderator: google email harvesting before posting your email online


See More: Windows Server 2008 Standard OS (64 bit) and logged in as

Report •


#1
July 26, 2012 at 10:46:15
I understand that the printer is a network printer, but is it installed locally, or as a networked printer. The difference is that if it's installed locally, all users on the server will see it. If not, the it's per user and each one will have to connect to it. If it's not done locally, try installing it locally and see if that makes an improvement.

--
Andrew Leonard
BL Technical Services
IT Support Maryland


Report •

#2
July 26, 2012 at 10:56:17
Hi Andrew, thank you for the reply.
The printer is a networked one and I dont think it is a printer issue because as I said when I reboot the server, everything works fine. The problem looks like when I install the windows service under windows login user and then change to the new user (in this case the user is different than windows login user but it is in administrator group) then i get errors however when i reboot the server then pringing is ok. It looks like the user service runing on is not able. So without rebooting i wonder if there is a way to resolve it. Like some command to refresh this group policy etc that replace rebooting.
Regards,
Selami

Report •

#3
July 26, 2012 at 11:10:03
I think the problem is related to the print spooler service. When it locks up, try restarting that. So when you say it's a networked one, it goes through another server or does the server in question directly communicate with it?

I'm not trying to be confusing, but there are two ways to hook up a "networked" printer. Either locally, where your computer directly communicates with it, or via a print server, where your computer sends the print request to the print server which then sends it to the printer.

--
Andrew Leonard
BL Technical Services
IT Support Maryland


Report •

Related Solutions

#4
July 26, 2012 at 11:30:54
Hi Adnrew,
actually I did restart Print spooler service long time and it did NOT help and also i just followed the instructions for "Restarted two essential printing services in order 1) Terminal Services UserMode Port Redirector - wait 5 minutes - 2) Print Spooler. it did NOT help either. I try to figure out and find out what services would be needed to restart that would affect as if rebooting the server. What we found out that in Windows 2008 Server, it start with a defaul session with logged in user and another sessions per services users and interaction between the default session and service session somehow cannot be crossed but not sure. Regards, Selami

Report •

#5
July 26, 2012 at 11:56:45
The printer is on another server and this server which has the mentioned service is running directly communicate with the printer via network.

Report •

#6
July 28, 2012 at 17:41:02
Try logging onto the console with the user account the service is running as and see if it works.

Tony


Report •

#7
August 2, 2012 at 11:38:14
Hi Tony, yes I did it long time ago and it was working when I logged onto with the user account the service was running. Regards, Selami

Report •

#8
August 3, 2012 at 11:08:52
This may help.

Is the printer set as your default printer? Have you checked the permissions on the printer? I would try installing the printer locally and see if that works.

Tony


Report •

#9
September 5, 2012 at 13:50:54
Dear Tony,
The printer is set as my default printer.The permissions look ok but unfortunately it is a network printer and can not set as local one.
Regards,
Selami

Report •

#10
September 6, 2012 at 05:41:33
Even if it is a network printer, you can install it as a local one. The difference between "network" and "local" is not that it connects over a network but whether the computer using it is sending the jobs directly to the printer, or if it is sending them to a print server when then sends the the job to the printer.

Take note of the IP address of the printer. Go through the standard procedure to add a new printer and choose a local one. When it asks you to select a port, create a new Standard TCP/IP port and enter the IP address of the printer. Doing this will bypass any print server and will let you troubleshoot further.

--
Andrew Leonard
BL Technical Services
Emergency IT Support


Report •

Ask Question