I'm using MonoReport for the firts time and I've been an error message
when call the method TemplateProcessor.Process.
The error is "The type initializer for
'#=qpBpmb4$SzyeLCRqNocBD9oSWhvYWM0gvb0xe2bSh0P7MTjNzrG9sj5a0bPgyPHpN'
threw an exception."
Any idea about?
I've installed Microsoft Office 2007 in my computer and the template
is in XLS format.
It is not clear from your message what is the inner exception throwed
by type initializer. But it is most probably the inner exception is
LicenseException with message like "An instance of type ... was being
created, and a valid license could not be granted for the type ...".
If our assumption is correct, then:
1. Add your license file (e.g. FogSoft.MonoReport.Free.lic) as
*embedded resource* into your application project which refers to
MonoReport.
2. Rebuild project.
Thank you,
MonoReport Team
Hope this helps.
Thank you,
MonoReport Team
On Mar 2, 6:25 am, charles wellington de oliveira fortes