Ok, I'm not safely able to change all solutions and projects to 64 bit on this large legacy system I'm working in where this library will be referenced. I enabled logging and provided the log output here. The logs with "**********" are my own separation logs so I know which lines of code trigger logs. As soon as the code runs "vertical.Write(destinationFilePath);" there are no additional logs. An exception is thrown "Object reference not set to an instance of an object.". The code runs fine on my local dev machine. I have the latest version of GhostScript 32 bit installed on the server and the C++ Redistributable update for VS 2012.
I really appreciate your help. Thanks.
************ images.Read(sourceFilePath, settings); ***********
Policy: 2014-08-25T15:58:23-06:00 6:44.734 27.768u 7.0.0 Policy w3wp.exe[1636]: policy.c/IsRightsAuthorized/577/Policy
Domain: Path; rights=Read; pattern="\webtest02\Web\Sites\Contracts\2014\8\22\600047942_140800068_9999_3.pdf" ...
Blob: 2014-08-25T15:58:23-06:00 6:44.734 27.768u 7.0.0 Blob w3wp.exe[1636]: blob.c/OpenBlob/2540/Blob read 3 magic header bytes
Cache: 2014-08-25T15:58:23-06:00 6:44.734 27.768u 7.0.0 Cache w3wp.exe[1636]: cache.c/DestroyPixelCache/905/Cache destroy
Policy: 2014-08-25T15:58:23-06:00 6:44.734 27.768u 7.0.0 Policy w3wp.exe[1636]: policy.c/IsRightsAuthorized/577/Policy
Domain: Coder; rights=Read; pattern="PDF" ...
Policy: 2014-08-25T15:58:23-06:00 6:44.734 27.768u 7.0.0 Policy w3wp.exe[1636]: policy.c/IsRightsAuthorized/577/Policy
Domain: Path; rights=Read; pattern="\webtest02\Web\Sites\Contracts\2014\8\22\600047942_140800068_9999_3.pdf" ...
Blob: 2014-08-25T15:58:23-06:00 6:44.734 27.768u 7.0.0 Blob w3wp.exe[1636]: blob.c/OpenBlob/2540/Blob read 3 magic header bytes
Cache: 2014-08-25T15:58:24-06:00 6:44.750 27.768u 7.0.0 Cache w3wp.exe[1636]: cache.c/DestroyPixelCache/905/Cache destroy
Policy: 2014-08-25T15:58:24-06:00 6:44.750 27.768u 7.0.0 Policy w3wp.exe[1636]: policy.c/IsRightsAuthorized/577/Policy
Domain: Path; rights=Read; pattern="\webtest02\Web\Sites\Contracts\2014\8\22\600047942_140800068_9999_3.pdf" ...
Blob: 2014-08-25T15:58:24-06:00 6:44.750 27.768u 7.0.0 Blob w3wp.exe[1636]: blob.c/OpenBlob/2540/Blob read 3 magic header bytes
Resource: 2014-08-25T15:58:24-06:00 6:44.750 27.768u 7.0.0 Resource w3wp.exe[1636]: resource.c/AcquireUniqueFileResource/468/Resource...
Resource: 2014-08-25T15:58:24-06:00 6:44.750 27.768u 7.0.0 Resource w3wp.exe[1636]: resource.c/AcquireUniqueFileResource/509/Resource
C:/Windows/TEMP/magick-1636q4nas3V5-VDS
Resource: 2014-08-25T15:58:24-06:00 6:44.765 27.784u 7.0.0 Resource w3wp.exe[1636]: resource.c/AcquireUniqueFileResource/468/Resource...
Resource: 2014-08-25T15:58:24-06:00 6:44.765 27.784u 7.0.0 Resource w3wp.exe[1636]: resource.c/AcquireUniqueFileResource/509/Resource
C:/Windows/TEMP/magick-1636jHSOVcPuwdTo
Resource: 2014-08-25T15:58:24-06:00 6:44.765 27.784u 7.0.0 Resource w3wp.exe[1636]: resource.c/AcquireUniqueFileResource/468/Resource...
Resource: 2014-08-25T15:58:24-06:00 6:44.765 27.784u 7.0.0 Resource w3wp.exe[1636]: resource.c/AcquireUniqueFileResource/509/Resource
C:/Windows/TEMP/magick-16366Q0k7X3KqyqK
Resource: 2014-08-25T15:58:24-06:00 6:44.765 27.784u 7.0.0 Resource w3wp.exe[1636]: resource.c/RelinquishUniqueFileResource/893/Resource
C:/Windows/TEMP/magick-16366Q0k7X3KqyqK
Resource: 2014-08-25T15:58:25-06:00 6:45.904 28.923u 7.0.0 Resource w3wp.exe[1636]: resource.c/RelinquishUniqueFileResource/893/Resource
C:/Windows/TEMP/magick-1636jHSOVcPuwdTo
Resource: 2014-08-25T15:58:25-06:00 6:45.904 28.923u 7.0.0 Resource w3wp.exe[1636]: resource.c/RelinquishUniqueFileResource/893/Resource
C:/Windows/TEMP/magick-1636q4nas3V5-VDS
Cache: 2014-08-25T15:58:25-06:00 6:45.904 28.923u 7.0.0 Cache w3wp.exe[1636]: cache.c/DestroyPixelCache/905/Cache destroy
************ ImageMagick.MagickImage vertical = images.AppendVertically(); ***********
************ vertical.Write(destinationFilePath); ***********
Object reference not set to an instance of an object.
I really appreciate your help. Thanks.
************ images.Read(sourceFilePath, settings); ***********
Policy: 2014-08-25T15:58:23-06:00 6:44.734 27.768u 7.0.0 Policy w3wp.exe[1636]: policy.c/IsRightsAuthorized/577/Policy
Domain: Path; rights=Read; pattern="\webtest02\Web\Sites\Contracts\2014\8\22\600047942_140800068_9999_3.pdf" ...
Blob: 2014-08-25T15:58:23-06:00 6:44.734 27.768u 7.0.0 Blob w3wp.exe[1636]: blob.c/OpenBlob/2540/Blob read 3 magic header bytes
Cache: 2014-08-25T15:58:23-06:00 6:44.734 27.768u 7.0.0 Cache w3wp.exe[1636]: cache.c/DestroyPixelCache/905/Cache destroy
Policy: 2014-08-25T15:58:23-06:00 6:44.734 27.768u 7.0.0 Policy w3wp.exe[1636]: policy.c/IsRightsAuthorized/577/Policy
Domain: Coder; rights=Read; pattern="PDF" ...
Policy: 2014-08-25T15:58:23-06:00 6:44.734 27.768u 7.0.0 Policy w3wp.exe[1636]: policy.c/IsRightsAuthorized/577/Policy
Domain: Path; rights=Read; pattern="\webtest02\Web\Sites\Contracts\2014\8\22\600047942_140800068_9999_3.pdf" ...
Blob: 2014-08-25T15:58:23-06:00 6:44.734 27.768u 7.0.0 Blob w3wp.exe[1636]: blob.c/OpenBlob/2540/Blob read 3 magic header bytes
Cache: 2014-08-25T15:58:24-06:00 6:44.750 27.768u 7.0.0 Cache w3wp.exe[1636]: cache.c/DestroyPixelCache/905/Cache destroy
Policy: 2014-08-25T15:58:24-06:00 6:44.750 27.768u 7.0.0 Policy w3wp.exe[1636]: policy.c/IsRightsAuthorized/577/Policy
Domain: Path; rights=Read; pattern="\webtest02\Web\Sites\Contracts\2014\8\22\600047942_140800068_9999_3.pdf" ...
Blob: 2014-08-25T15:58:24-06:00 6:44.750 27.768u 7.0.0 Blob w3wp.exe[1636]: blob.c/OpenBlob/2540/Blob read 3 magic header bytes
Resource: 2014-08-25T15:58:24-06:00 6:44.750 27.768u 7.0.0 Resource w3wp.exe[1636]: resource.c/AcquireUniqueFileResource/468/Resource...
Resource: 2014-08-25T15:58:24-06:00 6:44.750 27.768u 7.0.0 Resource w3wp.exe[1636]: resource.c/AcquireUniqueFileResource/509/Resource
C:/Windows/TEMP/magick-1636q4nas3V5-VDS
Resource: 2014-08-25T15:58:24-06:00 6:44.765 27.784u 7.0.0 Resource w3wp.exe[1636]: resource.c/AcquireUniqueFileResource/468/Resource...
Resource: 2014-08-25T15:58:24-06:00 6:44.765 27.784u 7.0.0 Resource w3wp.exe[1636]: resource.c/AcquireUniqueFileResource/509/Resource
C:/Windows/TEMP/magick-1636jHSOVcPuwdTo
Resource: 2014-08-25T15:58:24-06:00 6:44.765 27.784u 7.0.0 Resource w3wp.exe[1636]: resource.c/AcquireUniqueFileResource/468/Resource...
Resource: 2014-08-25T15:58:24-06:00 6:44.765 27.784u 7.0.0 Resource w3wp.exe[1636]: resource.c/AcquireUniqueFileResource/509/Resource
C:/Windows/TEMP/magick-16366Q0k7X3KqyqK
Resource: 2014-08-25T15:58:24-06:00 6:44.765 27.784u 7.0.0 Resource w3wp.exe[1636]: resource.c/RelinquishUniqueFileResource/893/Resource
C:/Windows/TEMP/magick-16366Q0k7X3KqyqK
Resource: 2014-08-25T15:58:25-06:00 6:45.904 28.923u 7.0.0 Resource w3wp.exe[1636]: resource.c/RelinquishUniqueFileResource/893/Resource
C:/Windows/TEMP/magick-1636jHSOVcPuwdTo
Resource: 2014-08-25T15:58:25-06:00 6:45.904 28.923u 7.0.0 Resource w3wp.exe[1636]: resource.c/RelinquishUniqueFileResource/893/Resource
C:/Windows/TEMP/magick-1636q4nas3V5-VDS
Cache: 2014-08-25T15:58:25-06:00 6:45.904 28.923u 7.0.0 Cache w3wp.exe[1636]: cache.c/DestroyPixelCache/905/Cache destroy
************ ImageMagick.MagickImage vertical = images.AppendVertically(); ***********
************ vertical.Write(destinationFilePath); ***********
Object reference not set to an instance of an object.