Saturday 19 January 2013

pdftron.Common.PDFNetException:Exception:Message: Unable to open the file : Linenumber:195

Exception:
        Message: Unable to open the file
        Conditional expression: m_stream != NULL
        Filename :StdFile.cpp
        Function :trn::Filters::StdFile::InitW
        Linenumber : 195



This Exception Arises Due To Invalid Path Is Given To Print  PDF Files.
So Check The string Of The Path Is Correct or Not.

This Is The One Of The Format Of Giving Correct Path:

         string path1 = "../../../TestFiles/Prints1/tiger.pdf";
         string path2 = "../../../TestFiles/Prints2/tiger1.pdf";

No comments:

Post a Comment

Note: only a member of this blog may post a comment.