I have downloaded a copy of your doc to any file converter to trial it in web service we are building.
I have used the following code to call the doc2any.exe
Process proc = new Process();
proc.StartInfo.FileName = @"C:\\doc2any.exe";
string strArguments = "";
strArguments += " D:\\temp\\sample.doc D:\\temp\\out.rtf";
Console.WriteLine(strArguments);
proc.StartInfo.Arguments = @strArguments;
proc.Start();
proc.WaitForExit();
This works fine on my local visual studio machine but when I move the web service to our server it fails.
If I run the command line manually on the server I can call C:\\doc2any.exe D:\\temp\\sample.doc D:\\temp\\out.rtf and it works fine. It only fails when the we service tries to make the call to the process.
The event log gives the following 3 errors:
Faulting application name: doc2rtf.dll, version: 2.6.8.0, time stamp: 0x49c11ee5
Faulting module name: doc2rtf.dll, version: 2.6.8.0, time stamp: 0x49c11ee5
Exception code: 0xc0000005
Fault offset: 0x00282bf8
Faulting process id: 0x103c
Faulting application start time: 0x01cc1abbe32543e2
Faulting application path: C:\Windows\TEMP\doc2rtf.dll
Faulting module path: C:\Windows\TEMP\doc2rtf.dll
Report Id: 26d1581a-86af-11e0-ae4a-00155d004a19
--------------------------------------------------------------------------------------------------------------
Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: doc2rtf.dll
P2: 2.6.8.0
P3: 49c11ee5
P4: doc2rtf.dll
P5: 2.6.8.0
P6: 49c11ee5
P7: c0000005
P8: 00282bf8
P9:
P10:
Attached files:
These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_doc2rtf.dll_816816e45ee728be513fec1e167e2b79219af_05ee0dae
Analysis symbol:
Rechecking for solution: 0
Report Id: 26d1581a-86af-11e0-ae4a-00155d004a19
Report Status: 4
--------------------------------------------------------------------------------------------------------------
Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: doc2rtf.dll
P2: 2.6.8.0
P3: 49c11ee5
P4: doc2rtf.dll
P5: 2.6.8.0
P6: 49c11ee5
P7: c0000005
P8: 00282bf8
P9:
P10:
Attached files:
These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_doc2rtf.dll_816816e45ee728be513fec1e167e2b79219af_05ee0dae
Analysis symbol:
Rechecking for solution: 0
Report Id: 26d1581a-86af-11e0-ae4a-00155d004a19
Report Status: 0
--------------------------------------------------------------------------------------------------------------
We are using Microsoft Server 2008 R2 with IIS7. Any help would be gratefully received as your product is just what we are looking for, providing we can get it working.
Many thanks
=========================================================
Hi,
You need give enough permission to MS Word DCOM service, please look at following web page for more information,
http://www.verydoc.com/doc-to-any-faq.html