WTSQueryUserToken does not exist

Hi
 
I am trying to convert a docx file to PDF (tried PDF Creator 1.4.2 as well as 1.4.3) , but it does not work! It works sometimes and does not work sometimes! Please check the below log for more details. This log was captured when it failed. At the outset it looks like there is some problem with WTSQueryUserToken, but I am unable to figure out how to set it right. Could you please help me in this regard?
 
[07.07.2012 07:04:36]Modul-PdfStartDocPort=Start
[07.07.2012 07:04:36]PrinterName=PDFCreator
[07.07.2012 07:04:36]JobId=50
[07.07.2012 07:04:36]ComputerName=\\\\EPAGE-WINAPP01
[07.07.2012 07:04:36]UserName=Administrator
[07.07.2012 07:04:36]SessionId=0
[07.07.2012 07:04:36]WinStation=RDP-Tcp#1
[07.07.2012 07:04:36]PDFServer=FALSE
[07.07.2012 07:04:36]Modul-GetUserTmp=Start
 
[07.07.2012 07:04:36]RevertToSelf=successful
 
[07.07.2012 07:04:36]WTSQueryUserToken=An attempt was made to reference a token that does not exist.
 
[07.07.2012 07:04:36]GetEnvironemtVariableForUser-Variable=%TMP%
 
[07.07.2012 07:04:36]GetEnvironemtVariableForUser-Result=C:\\Windows\\TEMP
[07.07.2012 07:04:36]User-Temp=C:\\Windows\\TEMP
[07.07.2012 07:04:36]Modul-GetUserTmp=End
[07.07.2012 07:04:36]TmpPath=C:\\Windows\\TEMP\\0\\PdfCreator\\Spool
[07.07.2012 07:04:36]PostscriptFile=C:\\Windows\\TEMP\\0\\PdfCreator\\Spool\\26E4631BC6384E4F8230ACB056BFFD72.ps
[07.07.2012 07:04:36]DocName=Microsoft Word - si2.docx
[07.07.2012 07:04:36]OpenPrinter=True
[07.07.2012 07:04:36]Modul-PdfStartDocPort=End
[07.07.2012 07:04:37]CreateFile: CloseHandle(hFile)=successful
[07.07.2012 07:04:37]Modul-StartPdfCreator=Start
[07.07.2012 07:04:37]RevertToSelf=successful
[07.07.2012 07:04:37]WTSQueryUserToken=An attempt was made to reference a token that does not exist.
 
[07.07.2012 07:04:37]DuplicateTokenEx=The handle is invalid.
 
[07.07.2012 07:04:37]CreateEnvironmentBlock=successful
[07.07.2012 07:04:37]EnvironmentSize=1004
[07.07.2012 07:04:37]CommandLine= /PPDFCREATORPRINTER /PIFC:\\Windows\\TEMP\\0\\PdfCreator\\Spool\\26E4631BC6384E4F8230ACB056BFFD72.inf
[07.07.2012 07:04:37]Command=C:\\Program Files (x86)\\PDFCreator\\PDFCreator.exe
[07.07.2012 07:04:37]CloseHandle(hTokenDup)=The handle is invalid.
 
[07.07.2012 07:04:37]CloseHandle(hTokenNew)=The handle is invalid.
 
[07.07.2012 07:04:37]CloseHandle(pi.hThread)=successful
[07.07.2012 07:04:37]CloseHandle(pi.hProcess)=successful
[07.07.2012 07:04:37]DestroyEnvironmentBlock=successful
[07.07.2012 07:04:37]Modul-StartPdfCreator=End
 
Thanks
Vidhya
 

Please find the OS information below:

 
Windows Server 2008 R2 Enterprise
Service Pack 1
64-bit Operating System
 
Thanks
Vidhya
 

Which OS (servicepacks etc.) use you? Possible that version 1.5.0 can help. It has an improved monitor-dll.

Best,