<< Click to Display Table of Contents >> Printing From A Service Like IIS (Internet Information Server) |
If you are using VPE within a service, it may happen that printing, as well as calling the Device Control Properties (like DevOrientation, etc.), will fail.
The cause is that the system-account used by the service does not have access to printers.
The Microsoft Knowledgebase article Q184291 describes how to solve this problem (http://support.microsoft.com/kb/articles/Q184291).
We experienced that the described procedure in the Knowledgebase article might not solve the problem completely. If this is the case for you, check in the Registry under HKEY_USERS the entries for each single user (these are the cryptic entries, like S-2-7-41-842474936-8463930876-098386783-2373). If under <user>\Software\Microsoft\Windows NT\CurrentVersion\Windows the value "Device" is present, but empty (or contains invalid data), copy there the original value of HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows\Device.