Skip to Content
Jan 24 at 05:10 PM

System.TypeInitialization error when trying to generate report from customer computer.

113 Views Last edit Jan 24 at 10:15 PM 3 rev

I am developping a software in C#, using Visual Studio Community 2017.

When I work on my computer, all is working fine, and I am generating the PDFs using my reports fine.

Then I was trying to launch my software from another computer, where I just have Crystal Reports Viewer installed, then I met System.TypeInitialization error message (after copying necessary .dll in folder).

I did compilate in 64x, and Crystal Reports libraries are 64 bits.

I am wondering, do I need to install some other distributives? Or is it that each of my customers need to buy a licence of Crystal reports, in order to be able to generate some PDFs?