Page 1 of 2

error importated - crystal

Posted: Mon Mar 07, 2016 1:19 pm
by Leandro Borges
Good Morning.
I have an error in the importing crystal. Following error:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. O sistema não pode encontrar o arquivo especificado.
at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
--- End of inner exception stack trace ---
at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
at Import.CrystalReports.Form1.btnConvert_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1055.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
Import.CrystalReports
Assembly Version: 2015.1.0.0
Win32 Version: 2015.1.0.0
CodeBase: file:///C:/Users/leandro.borges.RIOSOFT/Desktop/Import.CrystalReports1/Import.CrystalReports.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1055.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1055.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1068.2 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Stimulsoft.Report
Assembly Version: 2015.1.0.0
Win32 Version: 2015.1.0.0
CodeBase: file:///C:/Users/leandro.borges.RIOSOFT/Desktop/Import.CrystalReports1/Stimulsoft.Report.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1055.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1055.0 built by: NETFXREL2
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.6.1067.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Stimulsoft.Base
Assembly Version: 2015.1.0.0
Win32 Version: 2015.1.0.0
CodeBase: file:///C:/Users/leandro.borges.RIOSOFT/Desktop/Import.CrystalReports1/Stimulsoft.Base.DLL
----------------------------------------
CrystalDecisions.CrystalReports.Engine
Assembly Version: 13.0.2000.0
Win32 Version: 13.0.0.99
CodeBase: file:///C:/Users/leandro.borges.RIOSOFT/Desktop/Import.CrystalReports1/CrystalDecisions.CrystalReports.Engine.DLL
----------------------------------------
CrystalDecisions.Shared
Assembly Version: 13.0.2000.0
Win32 Version: 13.0.0.99
CodeBase: file:///C:/Users/leandro.borges.RIOSOFT/Desktop/Import.CrystalReports1/CrystalDecisions.Shared.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Re: error importated - crystal

Posted: Mon Mar 07, 2016 6:42 pm
by Jan
Hello, Leandro!

Our importing tool is used the specific version of the Crystal Reports engine. So, you need to have the version (13.0.2000.0) of the Crystal Reports on your computer.
If you do not have this version of assemblies, but have another version you can recompile import tool with another version of the Crystal Reports. You can download
source code of the import tool here:

http://admin.stimulsoft.com/downloads/t ... eports.zip

Let me know if you need any help.

Thank you.

Re: error importated - crystal

Posted: Tue Mar 08, 2016 11:37 am
by Leandro Borges
Hello, Jan!
The crystal can be trial version or have to be Visual Studio?
I have version 8.5 installed on my PC.
Thank you.

Re: error importated - crystal

Posted: Tue Mar 08, 2016 11:45 am
by Jan
Hello, Leandro!

You can use any version of the Crystal Reports, but in your case you need recompile our importing tool with your version of Crystal assemblies.

Thank you.

Re: error importated - crystal

Posted: Tue May 03, 2016 5:44 pm
by Leandro Borges
Hello.
Ok.
Thank you.

Re: error importated - crystal

Posted: Wed May 04, 2016 5:54 am
by HighAley
Hello, Leandro.

We are always glad to help you.
Let us know if you need our help.

Thank you.

Re: error importated - crystal

Posted: Thu May 12, 2016 7:22 pm
by Leandro Borges
Hello.
I can not install the crystal on my server. I have another way?
Thank you.

Re: error importated - crystal

Posted: Fri May 13, 2016 1:15 pm
by Alex K.
Hello,

You can copy all necessaries assemblies to the bin folder add it to the references and compile.

Thank you.

Re: error importated - crystal

Posted: Mon May 16, 2016 6:34 pm
by Leandro Borges
Hello.
Which assemblies?
Thank you.

Re: error importated - crystal

Posted: Tue May 17, 2016 6:48 am
by HighAley
Hello, Leonardo.

You don't need to install the Crystal on your server.
Please, install it on your developing machine and compile the importing tool.

Thank you.