System exception on fresh install

OS: x64 Windows 10 Pro

After installing and attempting to run the latest version of PDFCreator, an error report is shown. Posting below:

Exception:
System.TypeLoadException
Method 'Resolve' in type 'pdfforge.PDFCreator.UI.PrismHelper.Prism.SimpleInjector.SimpleInjectorContainerExtension' from assembly 'PDFCreator.PrismHelper, Version=5.0.3.0, Culture=neutral, PublicKeyToken=fc6825f92a0342e2' does not have an implementation.
void Program.Main(string[] args) :
void ProgramBase.Main(string[] args, Func getBootstrapperFunc) :
int ProgramBase.StartApplication(string[] args, Func getBootstrapperFunc) :
void ProgramBase.BootstrapContainerAndApplication(Bootstrapper bootstrapper, SimpleInjectorPrismApplication application) :
void PrismApplicationBase.Initialize() :
IContainerExtension SimpleInjectorPrismApplication.CreateContainerExtension() :

Platform:
x64

Additional Data:
thread-name=ProgramThread
product.edition=pdfcreator
product.name=PDFCreator

Log:
Starting PDFCreator
Uncaught exception, IsTerminating: True

Hello,
I have the same situation:

OS: x64 Windows 10 Pro

Exception:
System.TypeLoadException
Method 'Resolve' in type 'pdfforge.PDFCreator.UI.PrismHelper.Prism.SimpleInjector.SimpleInjectorContainerExtension' from assembly 'PDFCreator.PrismHelper, Version=5.2.2.0, Culture=neutral, PublicKeyToken=fc6825f92a0342e2' does not have an implementation.
void Program.Main(string args) :
void ProgramBase.Main(string args, Func getBootstrapperFunc) :
int ProgramBase.StartApplication(string args, Func getBootstrapperFunc) :
void ProgramBase.BootstrapContainerAndApplication(Bootstrapper bootstrapper, SimpleInjectorPrismApplication application) :
void PrismApplicationBase.Initialize() :
IContainerExtension SimpleInjectorPrismApplication.CreateContainerExtension() :

Platform:
x64

Additional Data:
thread-name=ProgramThread
product.edition=pdfcreator
product.name=PDFCreator

Log:
Starting PDFCreator
Uncaught exception, IsTerminating: True

Does anybody found the solution for it?

Good morning,

Do you have 'Therefore Client' installed on your machine?

Brgds,
Sascha

Good morning,

No I don't. Is it necessary to have it?

No, actually it is the other way round :slight_smile: We have one other customer, that has this Therefore Client installed and PDFCreator can't start at all. We are working on a solution.

  • Since when do you have this Prism error? When does it show up (start of app / during conversion)?
  • Is it a new installation? Did it ever work in the past?
  • Any other 3rd Party software installed that manages the print queue (uniflow, papercut)?

Brgds,
Sascha

In the past I didn't have any problems with PDFCreator. I'm not actually sure but maybe about one mouth ago i made some PDF files using PDFCreator and after that I have updated the program because I was informed about the availability of the new update so I perfrom the update from the version 5.2.0 of PDFCreator to the newest one. After that I didn't made any PDF using PDFCreator until yesterday when I was suprised by the error message. I tired to uninstall the newest version and install some older one (even some 4.x.x) but the error became the same on each version of PDFCreator, only the version number in the error details message is different.

How technical are you? Do you have a test machine available?

Therefore (and maybe other software or update as well) seem to install a dll called System.ValueTuple.dll into the GAC (Global Assembly Cache). With that dll PDFCreator uses the System.ValueTuple.dll from the GAC, instead of our application folder, and crashes :frowning:

You might want to try to remove this particular dll yourself (not easy I'm sure), OR you wait for us:

  • We might solve it with a future release of PDFCreator.

  • We might provide instructions of how to remove the dll safely (I prefer the first option :))

I am an automation engineer.

As I checked, the mentioned file exists in more than one location and several automation programs that I have use this file. Also .NET Framework contains this file as well as Microsoft Visual Studio.

However, I temporarily deleted the files "System.ValueTuple.dll" from location:
"C:\WINDOWS\Microsoft.NET\assembly\GAC_MSIL\System.ValueTuple\v4.0_4.0.3.0__cc7b13ffcd2ddd51"
and from:
"C:\WINDOWS\Microsoft.NET\assembly\GAC_MSIL\System.ValueTuple\v4.0_4.0.0.0__cc7b13ffcd2ddd51"
After that PDFCreator started fine. Then I restored the mentioned files and restarted PDFCreator - this time it also started fine.
So I restarted my computer. After restarting the system, PDFCreator reported the same error again and it was necessary to delete the file again, but as I checked, it was enough to delete only from this location:
"C:\WINDOWS\Microsoft.NET\assembly\GAC_MSIL\System.ValueTuple\v4.0_4.0.3.0__cc7b13ffcd2ddd51"
In conclusion, now I know how to run the program, so thanks for that. Now I will just wait for a newer version of PDFCreator to fix this problem, but until then I will handle running the program using this trick.
I am very grateful for your support in this case.