Subject: Doc2PdfConverter unhandled exception of type 'System.MethodAccessException'
Date: 2017-01-18 14:44:24
From: Joerg Schlenker
Source: doc2pdfconverter-unhandled-exception-type-system-methodaccessexception
----------------------------------------------------------------------
Hi,
i want to convert a word to pdf with Doc2PdfConverter v6.5.40.61116:
[code lang='c#']
using System;
using System.Collections.Generic;
using System.Linq;
using ComponentPro.Converters;
using ComponentPro.Word;
class Program
{
static void Main(string[] args)
{
WordDocument doc = new WordDocument("file.docx");
Doc2PdfConverter conv = new Doc2PdfConverter();
conv.Convert(doc);
}
}
[/code]
In Line Doc2PdfConverter conv = new Doc2PdfConverter(); this exception is thrown:
"An unhandled exception of type 'System.MethodAccessException' occurred in ComponentPro.DocToPdf.dll
Additional information: Fehler beim Versuch der Methode "ComponentPro.Converters.Doc2PdfConverter..ctor()", auf Methode "System.Collections.Generic.List`1<System.__Canon>..ctor()" zuzugreifen."
Did i miss something?
Best regards
Joerg
----------------------------------------------------------------------
Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand
If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor
who sold you the license and ask for your money back.
Back to ComponentPro Q&A Forum Index