Good afternoon,
I had this error The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
and this Incorrect syntax near 'CrystalDecisions'
when i run the program on server.
I tried a lot of things to solve this.
Things i tried:
The solution i find was on change TargetCPU on Project Properties -> Compile -> Advanced Compile Options -> Set Target CPU from X86 to AnyCPU