Dilate Error research
I too get this PDFrasterFarian 2.2.1 Error
...Creating EPS file from PDF page
...Performing autocropping (this step may take several minutes)
...Rastering PNG file from EPS file (this step may take several minutes)
...Running PNG file through Dilation and Shrink filters
Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'imageManip, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)
File name: 'imageManip, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' ---> System.Runtime.InteropServices.COMException (0x800736B1): This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. (Exception from HRESULT: 0x800736B1)
at Dilate.Program.Dilate(Bitmap bitmap)
at Dilate.Program.Main(String[] args)
...Running PNG file through Sharpening filter
convert.exe: unable to open image `C:\Documents and Settings\saundr1\My Document
s\My Books\Tools\PDFrasterFarian 2.2.1\\temp\stage6\0002': No such file or directory.
convert.exe: missing an image filename `C:\Documents and Settings\saundr1\My Documents\My Books\Tools\PDFrasterFarian 2.2.1\\temp\stage7\0002'.
ERROR!!! Post-Processing failed!
Please make sure you have .NET Framework 2.0 installed.
If the problem persists, please report it at the mobileread forums.
Press any key to continue . . .
I Checked my version of .NET using free version checker from
http://www.tmgdevelopment.co.uk/versioncheck.htm
VersionCheck results for DAVE:
Installed .NET Runtime(s)
OK.
Current version: The following runtimes are installed:
1.1.4322.2032 Version 1.1 SP1 Aug 2004
2.0.50727.42 Version 2.0 RTM (Visual Studio.NET 2005 RTM / SQL Server 2005 RTM) Nov 2005
I located my script entries to run with Dilate.exe and profile the error using Dependency Walker v2.2.
http://www.dependencywalker.com/
SET hRes=565
SET vRes=754
SET relpath=C:\temp\PDFrast221
These are the command values I passed to Dilate.exe while monitoring for errors with DW 2.2;
"C:\temp\PDFrast221\temp\prv_5.png" "C:\temp\PDFrast221\temp\prv_6.png" 565 754
There were several errors about DLLs that were missing...
MSCORPE.DLL
MSCORSEC.DLL
MSDIS150.DLL
MSPDB80.DLL
MSVCM80.DLL
MSJAVA.DLL
and this was near the end of the DW 2.2 log view;
Error: The Side-by-Side configuration information for "c:\temp\pdfrast221\modules\IMAGEMANIP.DLL" contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem (14001).
LDR: LdrpWalkImportDescriptor() failed to probe c:\temp\pdfrast221\modules\imageManip.dll for its manifest, ntstatus 0xc0150002
I Downloaded MSJAVA.DLL from http://www.dll-files.com.
I profiled Dilate.exe again. There were still errors...
Some googling indicated I should install vcredist_x86.exe,
the Microsoft Visual C++ 2005 Redistributable Package (x86),
http://www.microsoft.com/downloads/details.aspx?familyid=32BC1BEE-A3F9-4C13-9C99-220B62A191EE&displaylang=en
There are still errors.
There is no setup program, so I was reading about deployment of the runtimes.
I found MSVCM80.DLL in 2 places;
D:\WINXP\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e 18e3b_8.0.50727.42_x-ww_0de06acd\
D:\WINXP\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e 18e3b_8.0.50727.163_x-ww_681e29fb\
But Dilate.exe still complained that MSVCM80.DLL (among others) was missing.
I found this article enlightening;
Bootstrapper for the VC++ 2005 Redists (with MSI 3.1)
http://www.codeproject.com/cpp/vcredists_x86.asp
here's a key paragraph;
Finally, the C and C++ runtimes are now implemented as Side-by-Side DLLs. It's no longer enough to copy MSVCR80.DLL/MSVCP80.DLL/MSVCM80.DLL
(from now on called the CRT DLLs) into the System32 directory. You must now load the CRT DLLs through a manifest. If you attempt to load the
CRT DLLs without using a manifest, the system will detect this, raise an R6034 assertion, and abort(). That's why the CRT DLLs are now located
in WinSXS and not in the System32 directory.
It seems to me that you didn't compile a manifest into IMAGEMANIP.DLL, and it's required?
Maybe this can help...
VC++ Deployment;
http://msdn2.microsoft.com/en-us/library/zebw5zk9(VS.80).aspx
|