-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. #23
Comments
Are you certain the pre-requisites were installed properly? Did you install the following? What OS are you using? Windows 10? 32-bit or 64-bit? .NET 4.5 |
Thx for the follow-up. I didn’t check back on the requirements as I found that the free version of Logicity works good enough for our purpose.
Chris
From: sunk818 <[email protected]>
Sent: Sunday, April 15, 2018 3:01 AM
To: rainforestnet/CrystalReportsNinja <[email protected]>
Cc: ChristopherSouth <[email protected]>; Author <[email protected]>
Subject: Re: [rainforestnet/CrystalReportsNinja] The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. (#23)
Are you certain the pre-requisites were installed properly? Did you install the following?
What OS are you using? Windows 10? 32-bit or 64-bit?
.NET 4.5
https://www.microsoft.com/en-us/download/details.aspx?id=30653
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#23 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AEBhqn5CzjTSLZRNoGFo5VDa_nqeksAhks5tovAQgaJpZM4TVL9k>.
|
I am running windows 10 64 bit and am experiencing the same issue. My computer says I have crystal runtime installed already. Please help |
@danielleevandenbosch Please post an issue over on my fork and I will try to help. To start with please include the following in the issue you create. |
Just installed the pre-reqs and crystal ninja - here's the command i tried - followed by the error..
c:\CrystalReportsNinja -U portalreadonly -P xxxxxxxx -F c:\Completions_by_WorkCenter.rpt -E pdf
What is the "type initalizer"?
Exception: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
Inner Exception: System.TypeInitializationException: The type initializer for 'CrystalDecisions.Shared.SharedUtils' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
at CrystalDecisions.Shared.SharedUtils..cctor()
--- End of inner exception stack trace ---
at CrystalDecisions.Shared.SharedUtils.get_CurrentControl()
at CrystalDecisions.Shared.SharedUtils.GetEffectiveCulture()
at CrystalDecisions.CrystalReports.Engine.CREngineRes.GetString(String name)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime()
at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
The text was updated successfully, but these errors were encountered: