These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Urgent - Adobe Reader Error(File not found) with the FaxServer Object

praveenzp
Registered: Jun 6 2009
Posts: 9
Answered

Hi, I am having a problem with the adobe reader to send the document in the faxing service with latest version of adobe reader.

Details of Software causing problem:- Adobe Reader Version 9.0

I am using a very simple program to print a PDF file to Fax through the faxServer Object(http://msdn.microsoft.com/en-us/library/ms689109(VS.85).aspx) from my application.

It has been working all along really cool until the latest adobe version update.

Scenario:- I have a file at "D:\Test.pdf", which opens perfectly when I double click on it. Also during the debugging I am able to see that the filename parameter passed from my application to faxserver instance is exactly "D:\Test.pdf".

When the code reaches the faxServer.send(), the adobe reader opens with the error "There was an error opening this document. This file cannot be found"

What should I do and what is the parsing to be done in this case(sugested in previous forums)??? I am passing the file and adobe reader is expected to behave as it has been in the previous versions.

Currently I am reinstalling Adobe reader 6.0 everytime I need to fax, as the reader is updated via network everytime during the system restarts.

Any solutions/suggestions would be appreciated and would like to fix this version incompatibility issue.
Also if you do not have an answer, kindly let me know where I can highlight to get an answer.

Thanks in advance,
Praveen

Thanks in advance,

Praveen

My Product Information:
Reader 9.1.1, Windows
praveenzp
Registered: Jun 6 2009
Posts: 9
A small addition, I tried to send a sample txt file and a document both went through fine except the PDF.

Seems latest PDF is too difficult to handle for the faxserver object...

For how many more days do I have to keep installing the older version of Reader(ver 6.0) to proceed with the functionality???

Is there a way to know what file name is adobe reader actually getting, like anyway to debug, I want to know some reason for all this happenings...

Praveen

Thanks in advance,

Praveen

praveenzp
Registered: Jun 6 2009
Posts: 9
I also tried to do the parsing myself by adding double quotes while passing to the FaxServer Object, but the FaxDoc instance which sends the file, throws an error with the filename in double quotes.
So it is like if I have explicitly double quotes then it is not even recognized as a valid filename by the FaxDoc object.

If this is a known issue is it possible to be highlighted to the product team to have fix, or inform developers if anything can be done from our side.

References
1) FaxDoc object fileName property(http://msdn.microsoft.com/en-us/library/ms692341(VS.85).aspx)
2) Sending Fax by COM implementation(http://msdn.microsoft.com/en-us/library/ms690867(VS.85).aspx)

Regards,
Praveen

Thanks in advance,

Praveen

praveenzp
Registered: Jun 6 2009
Posts: 9
At some of these days, the PDF error disappeared miraculously and I got a Faxing service error which was easier to manage and now the issue is resolved for me. But still with a minor changes in the process, like the Adobe reader should be open before the fax is sent, atleast I don't have to go through the re-installation of older version everytime...

If anyone comes across this issues, please post and hopefully we can permanently remove this error.
For solution, please try the following options:-
1) Try to open the file manually, just incase to confirm the file is not corrupted
2) If possible use double quotes in the filename parameter to be sent to Adobe(Adobe Parsing error)
3) Try to save it in different locations like the Local Drive, Network Shared Drive...
4) While running the code, open an instance of Adobe reader in the background and then execute the code.
5) Keep googling... :-)



Praveen

Thanks in advance,

Praveen