I'm deploying a Windows Forms Application and when the user try to open any report, the following exception is thrown:
O inicializador de tipo de `CrystalDecisions.ReportSource.ReportSourceFactory` acionou uma exceção.
STACK TRACE: em CrystalDecisions.Windows.Forms.CrystalReportViewer..ctor()
em CCI_WIN.frmVisualizaRelatorio.InitializeComponent()
em CCI_WIN.frmVisualizaRelatorio..ctor()
em CCI_WIN.UCRelatorios.UCConteudoPlanejado.btnVisualizar_Click(Object sender, EventArgs e)
em System.Windows.Forms.Control.OnClick(EventArgs e)
em System.Windows.Forms.Button.OnClick(EventArgs e)
em System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
em System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
em System.Windows.Forms.Control.WndProc(Message& m)
em System.Windows.Forms.ButtonBase.WndProc(Message& m)
em System.Windows.Forms.Button.WndProc(Message& m)
em System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
em System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
em System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
The application is running on .NET Framework 3.5 and the prerequisite is the SAP Crystal Reports Runtime Engine for .NET Framework. The deploy is make using Clickonce.
Any help or suggestion on that?
Tks!