06-24-2009, 7:03
|
schavlytko
Joined on 06-24-2009
Posts 2
|
PDF Error and virtual environment.
|
 
 
|
|
|
We created Windows Service (.NET 3.5) for processing images. We are using the Lead Tool (v16) for creating small jpg images from PDF files. This is actually our quite a busy live web server. We are using Windows 2003 32bit (SP2) server in virtual HP environment. Creating small (jpg) images from the big images (jpg) is working very well without any problems. Problem occurs only with PDF reading module. After some moment (two days for example) it stops working with PDF files. Error message:
Message: HandlingInstanceID: 918e98ee-72b5-49bd-bd93-904d9f077e30
An exception of type 'Leadtools.RasterException' occurred and was caught.
-------------------------------------------------------------------------
Type : Leadtools.RasterException, Leadtools, Version=16.0.0.0, Culture=neutral, PublicKeyToken=9cf889f53ea9b907
Message : PDF Error - Either the files required for initializing the PDF engine were not found or they were found but incorrect
Source : Leadtools
Help link :
Code : PdfBadInitializationFiles
Data : System.Collections.ListDictionaryInternal
TargetSite : Void CheckErrorCode(Int32)
Stack Trace : at Leadtools.RasterException.CheckErrorCode(Int32 code)
at Leadtools.Codecs.RasterCodecs.DoLoad(LoadParams loadParams)
at Leadtools.Codecs.RasterCodecs.Load(String fileName, Int32 bitsPerPixel, CodecsLoadByteOrder order, Int32 firstPage, Int32 lastPage)
at DAM.Common.DAMUtils.CreateThumbnail_PDF_To_JPG(String source, String destination, Int32 PageNumber, Int32 Height, Int32 Width)
at DAM.Common.DAMUtils.CreateThumbnail(ThumbnailInfo thumbnailInfo)
at DAM.Common.DAMUtils.UploadAssetByWindowsService(QueueInfo queueInfo)
at DAM.BLL.QueueBO.ExecuteUpload(QueueEntity entity)
at DAM.WindowsService.DAMService.UploadWorkerThread(Object state)
It starts working only after we restart our windows service. After some period in time it stops working again with the similar error message.
My question: is anybody using live deployment of the LeadTool for working with PDF files in virtual HP environment? Could be this environment cause of this problem? All our tests on developer’s computers did not show any sign of this problem with LeadTool (I have generated more than 10000 – 50000 images from quite big PDF files).
Thank you for any suggestions and ideas.
|
|
|
|
|
Report
|
|
|
|