Quantcast
Channel: SCN : Unanswered Discussions - SAP Crystal Reports, version for Visual Studio
Viewing all 2556 articles
Browse latest View live

The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. > ...or the Crystal Reports runtime is not installed correctly.

$
0
0

Hi,

 

this happens when I try to show reports in CR WebViewer:

 

The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception. ---> CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: An error has occurred while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient, or the Crystal Reports runtime is not installed correctly. Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required.  Please go to http://www.businessobjects.com/support for more information.

   at CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime()

   at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()

   --- End of inner exception stack trace ---

   at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()

 

thats true, there is no Crystal Reports runtime installed on the server. Is it possible to only deploy the needed dll's with the webapplication, if so which dll's do i need. Or do I have to install the CR runtime on every server I deploy the webapplication?

 

 

Thanks in advance and best regards

 

Julian


PROBLEMS WITH APPLICATION REDISTRIBUTION WITH WINDOWS 8.1

$
0
0

Hi, we developed a vb.net2012 application with CrystalReport 13.0.10; database is SqlServer2012 installed on localhost. We build setup (with CR runtime 13.0.10) and install to a PC with Windows8.1 32bit, but when we launch the application an error occurs; while in a PC with windows7 the error doesn’t occur. CrystalDecisions.CrystalReports.Engine.DataSourceException: Impossibile caricare le informazioni del database. Errore nel file temp_b7d9c2ef-3b7e-49a3-ab47-d534878340a6 {1DF06FCE-401F-464C-95DC-5C7B9184D911}.rpt: Impossibile caricare le informazioni del database. ---> System.Runtime.InteropServices.COMException: Impossibile caricare le informazioni del database. Errore nel file temp_b7d9c2ef-3b7e-49a3-ab47-d534878340a6 {1DF06FCE-401F-464C-95DC-5C7B9184D911}.rpt: Impossibile caricare le informazioni del database.   in CrystalDecisions.ReportAppServer.Controllers.DatabaseControllerClass.ReplaceConnection(Object oldConnection, Object newConnection, Object parameterFields, Object crDBOptionUseDefault)   in CrystalDecisions.CrystalReports.Engine.Table.SetDataSource(Object val, Type type)   in CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSourceInternal(Object val, Type type)   --- Fine della traccia dello stack dell'eccezione interna ---   in CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)   in CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSourceInternal(Object val, Type type)   in CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSource(DataSet dataSet)   in Stampe.frmVisualizzazioneReport.ParametrizzaReport()   in Stampe.frmVisualizzazioneReport.frmVisulizzazioneReport_Load(Object sender, EventArgs e)   in System.Windows.Forms.Form.OnLoad(EventArgs e)   in System.Windows.Forms.Form.OnCreateControl()   in System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)   in System.Windows.Forms.Control.CreateControl()   in System.Windows.Forms.Control.WmShowWindow(Message& m)   in System.Windows.Forms.Control.WndProc(Message& m)   in System.Windows.Forms.ScrollableControl.WndProc(Message& m)   in System.Windows.Forms.ContainerControl.WndProc(Message& m)   in System.Windows.Forms.Form.WmShowWindow(Message& m)   in System.Windows.Forms.Form.WndProc(Message& m)   in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)   in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)   in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Assembly caricati ************** mscorlib     Versione assembly: 4.0.0.0     Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR     Base di codice: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll ---------------------------------------- WinPCOrd     Versione assembly: 0.1.0.0     Versione Win32: 0.1.0.0     Base di codice: file:///C:/Program%20Files/Saep/WinPCOrd/WinPCOrd.exe ---------------------------------------- Microsoft.VisualBasic     Versione assembly: 10.0.0.0     Versione Win32: 12.0.20806.33440 built by: FX45W81RTMREL     Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- System     Versione assembly: 4.0.0.0     Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR     Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Core     Versione assembly: 4.0.0.0     Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR     Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.Windows.Forms     Versione assembly: 4.0.0.0     Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR     Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing     Versione assembly: 4.0.0.0     Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR     Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Runtime.Remoting     Versione assembly: 4.0.0.0     Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR     Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll ---------------------------------------- System.Configuration     Versione assembly: 4.0.0.0     Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR     Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml     Versione assembly: 4.0.0.0     Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR     Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- Comuni     Versione assembly: 1.0.0.0     Versione Win32: 1.0.0.0     Base di codice: file:///C:/Program%20Files/Saep/WinPCOrd/Comuni.DLL ---------------------------------------- GestoreDB     Versione assembly: 1.0.0.0     Versione Win32: 1.0.0.0     Base di codice: file:///C:/Program%20Files/Saep/WinPCOrd/GestoreDB.DLL ---------------------------------------- System.Data     Versione assembly: 4.0.0.0     Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR     Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll ---------------------------------------- System.Windows.Forms.resources     Versione assembly: 4.0.0.0     Versione Win32: 4.0.30319.33440 built by: FX45W81RTMREL     Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_it_b77a5c561934e089/System.Windows.Forms.resources.dll ---------------------------------------- System.Transactions     Versione assembly: 4.0.0.0     Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR     Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll ---------------------------------------- System.EnterpriseServices     Versione assembly: 4.0.0.0     Versione Win32: 4.0.30319.33440 built by: FX45W81RTMREL     Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll ---------------------------------------- System.Numerics     Versione assembly: 4.0.0.0     Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR     Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll ---------------------------------------- AggiornaArchivi     Versione assembly: 1.0.0.0     Versione Win32: 1.0.0.0     Base di codice: file:///C:/Program%20Files/Saep/WinPCOrd/AggiornaArchivi.DLL ---------------------------------------- OdVTesLista     Versione assembly: 1.0.0.0     Versione Win32: 1.0.0.0     Base di codice: file:///C:/Program%20Files/Saep/WinPCOrd/OdVTesLista.DLL ---------------------------------------- C1.Win.C1TrueDBGrid.4     Versione assembly: 4.0.20141.61347     Versione Win32: 4.0.20141.61347     Base di codice: file:///C:/Program%20Files/Saep/WinPCOrd/C1.Win.C1TrueDBGrid.4.DLL ---------------------------------------- C1.Win.C1Ribbon.4     Versione assembly: 4.0.20141.558     Versione Win32: 4.0.20141.558     Base di codice: file:///C:/Program%20Files/Saep/WinPCOrd/C1.Win.C1Ribbon.4.DLL ---------------------------------------- mscorlib.resources     Versione assembly: 4.0.0.0     Versione Win32: 4.0.30319.33440 built by: FX45W81RTMREL     Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_it_b77a5c561934e089/mscorlib.resources.dll ---------------------------------------- Accessibility     Versione assembly: 4.0.0.0     Versione Win32: 4.0.30319.33440 built by: FX45W81RTMREL     Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll ---------------------------------------- Viste     Versione assembly: 1.0.0.0     Versione Win32: 1.0.0.0     Base di codice: file:///C:/Program%20Files/Saep/WinPCOrd/Viste.DLL ---------------------------------------- C1.Win.C1Sizer.4     Versione assembly: 4.1.20141.81     Versione Win32: 4.1.20141.81     Base di codice: file:///C:/Program%20Files/Saep/WinPCOrd/C1.Win.C1Sizer.4.DLL ---------------------------------------- System.Data.DataSetExtensions     Versione assembly: 4.0.0.0     Versione Win32: 4.0.30319.33440 built by: FX45W81RTMREL     Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.DataSetExtensions/v4.0_4.0.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll ---------------------------------------- Stampe     Versione assembly: 1.0.0.0     Versione Win32: 1.0.0.0     Base di codice: file:///C:/Program%20Files/Saep/WinPCOrd/Stampe.DLL ---------------------------------------- CrystalDecisions.CrystalReports.Engine     Versione assembly: 13.0.2000.0     Versione Win32: 13.0.10.1385     Base di codice: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.CrystalReports.Engine/13.0.2000.0__692fbea5521e1304/CrystalDecisions.CrystalReports.Engine.dll ---------------------------------------- CrystalDecisions.Shared     Versione assembly: 13.0.2000.0     Versione Win32: 13.0.10.1385     Base di codice: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.Shared/13.0.2000.0__692fbea5521e1304/CrystalDecisions.Shared.dll ---------------------------------------- CrystalDecisions.ReportAppServer.CommLayer     Versione assembly: 13.0.2000.0     Versione Win32: 13.0.10.1385     Base di codice: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.CommLayer/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.CommLayer.dll ---------------------------------------- CrystalDecisions.ReportAppServer.ClientDoc     Versione assembly: 13.0.2000.0     Versione Win32: 13.0.10.1385     Base di codice: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.ClientDoc/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.ClientDoc.dll ---------------------------------------- CrystalDecisions.ReportAppServer.DataDefModel     Versione assembly: 13.0.2000.0     Versione Win32: 13.0.10.1385     Base di codice: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.DataDefModel/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.DataDefModel.dll ---------------------------------------- CrystalDecisions.ReportAppServer.CubeDefModel     Versione assembly: 13.0.2000.0     Versione Win32: 13.0.10.1385     Base di codice: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.CubeDefModel/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.CubeDefModel.dll ---------------------------------------- CrystalDecisions.ReportAppServer.ReportDefModel     Versione assembly: 13.0.2000.0     Versione Win32: 13.0.10.1385     Base di codice: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.ReportDefModel/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.ReportDefModel.dll ---------------------------------------- CrystalDecisions.ReportAppServer.Controllers     Versione assembly: 13.0.2000.0     Versione Win32: 13.0.10.1385     Base di codice: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.Controllers/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.Controllers.dll ---------------------------------------- CrystalDecisions.ReportAppServer.DataSetConversion     Versione assembly: 13.0.2000.0     Versione Win32: 13.0.10.1385     Base di codice: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportAppServer.DataSetConversion/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportAppServer.DataSetConversion.dll ---------------------------------------- System.Web     Versione assembly: 4.0.0.0     Versione Win32: 4.0.30319.34209 built by: FX452RTMGDR     Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll ---------------------------------------- log4net     Versione assembly: 1.2.10.0     Versione Win32: 1.2.10.0     Base di codice: file:///C:/Windows/assembly/GAC_32/log4net/1.2.10.0__692fbea5521e1304/log4net.dll ---------------------------------------- CrystalDecisions.Shared.resources     Versione assembly: 13.0.2000.0     Versione Win32: 13.0.10.1385     Base di codice: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.Shared.resources/13.0.2000.0_it_692fbea5521e1304/CrystalDecisions.Shared.resources.dll ---------------------------------------- CrystalDecisions.Windows.Forms     Versione assembly: 13.0.2000.0     Versione Win32: 13.0.10.1385     Base di codice: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.Windows.Forms/13.0.2000.0__692fbea5521e1304/CrystalDecisions.Windows.Forms.dll ---------------------------------------- CrystalDecisions.ReportSource     Versione assembly: 13.0.2000.0     Versione Win32: 13.0.10.1385     Base di codice: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportSource/13.0.2000.0__692fbea5521e1304/CrystalDecisions.ReportSource.dll ---------------------------------------- CrystalDecisions.Windows.Forms.resources     Versione assembly: 13.0.2000.0     Versione Win32: 13.0.10.1385     Base di codice: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.Windows.Forms.resources/13.0.2000.0_it_692fbea5521e1304/CrystalDecisions.Windows.Forms.resources.dll ---------------------------------------- CustomMarshalers     Versione assembly: 4.0.0.0     Versione Win32: 4.0.30319.33440 built by: FX45W81RTMREL     Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/CustomMarshalers/v4.0_4.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll Thanks for your reply, Regards

How to get Crystal Reports for Visual studio Download

$
0
0

I'm confused!  All the links seem to take me to this page SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads

It has lots of fixes and updates but I can't seem to find the actual Crystal reports for Visual Studio 2010 download.  What am I missing?  Am I just blind?

 

EDIT - I reread the page "All support packs are full builds of Crystal Reports for Visual Studio 2010/2012, thus it is not necessary to update incrementally"  Does this mean  the update download includes everything I need to integrate CR with my Visual Studio 2010?  If so, is it save to install the update over a previously installed version?  I have one machine that has both CR for VS 2005 and CR for VS 2010.

 

thanks for any advise

VS2013 CRV and strange parameter behavior.

$
0
0

We have a report with 4 parameters, string, boolean and two date parameters.

When the CRV hangs the report the first time it only shows the string parameter.

Close it and open it again and you get the 4 parameters.

Likewise if you hang another report first then hang this report it shows all 4 parameters.

The Crystal engine is 13.0.20000.0

It seems confined to this one report yet the report behaves within Crystal and within a 3rd part stand alone viewer.

The code is orthodox.

 

               string sReportFile = mstrReportPath + dgReports.SelectedRows[0].Cells[1].Value;

                string sReport = dgReports.SelectedRows[0].Cells[1].Value.ToString();

 

                if (!File.Exists(sReportFile))

                {

                    MessageBox.Show("The report " + sReportFile + " does not exist.", "Unknown File Name.",

                                    MessageBoxButtons.OK, MessageBoxIcon.Information);

                    return;

                }

 

                ReportDocument r;

                r = new ReportDocument();

                r.Load(sReportFile);

              

                crv.LogOnInfo = new CrystalDecisions.Shared.TableLogOnInfos();

                crv.LogOnInfo.Add(t);

                crv.ReportSource = r;

 

Any thought on possible causes would be appreciated.

thanks

Bob

CREATE a crystal report (rpt) at RUNTIME programmatically

$
0
0

Hi,

 

I want to CREATE a crystal report (rpt) at RUNTIME programmatically, using only the code C#. 

1- Is this possible?

2- What's the best way to do this?

 

Can some one help me please?

MSI Package validation failed for CRRuntime_32bit_13_0_3.msi

$
0
0

Hi,

 

We are Microsoft Partner and renewing our subscription Microsoft Platform Ready for our flagship product which is asp.net web application and uses crytal reports for reporting purposes.We have passed all the mandatory tests except  MSI package validation failed for  CRRuntime_32bit_13_0_3.msi

 

we urgently need SAP team help as our MSDN subscription will not be renewed until we pass crystal msi package validation test.

 

 

 

Test Environment Status
NameRequired ConfigurationConfiguration Status
  Windows Edition  Microsoft Windows Server 2012 Standard or Datacenter  Microsoft Windows Server 2012 Standard
  Version  6.2.9200 or later  6.2.9200
  System Type  64-Bit Operating System  64-Bit
  Virtual Machine Status  Virtual Machine on Microsoft Windows Server 2012 Hyper-V  Virtual Machine on Microsoft Windows Server 2012 Hyper-V
  Processors/Cores  4 or more     4

 

 

 

 

 

07/10/2014 16:15:27 :: Details of MSI files that failed one or more package identity tests:

======================================================================

 

Setup package name: D:\CRRuntime_32bit_13_0_3.msi

 

Property Table:

PROPERTY: UpgradeCode

VALUE: {7C0C5FDF-1EB0-49EF-BE8B-726DFD0F0323}

 

PROPERTY: Manufacturer

VALUE: SAP

 

PROPERTY: ProductCode

VALUE: {AAD476D7-FC64-40BC-85EA-0C1FD98D8375}

 

PROPERTY: ProductLanguage

VALUE: 1033

 

PROPERTY: ProductName

VALUE: SAP Crystal Reports runtime engine for .NET Framework 4 (32-bit)

 

PROPERTY: ProductVersion

VALUE: 13.0.3.612

 

Upgrade Table:

UPGRADECODE:{7C0C5FDF-1EB0-49EF-BE8B-726DFD0F0323}

VERSIONMIN 13.0.0

VERSIONMAX: 13.0.3

 

UPGRADECODE:{7C0C5FDF-1EB0-49EF-BE8B-726DFD0F0323}

VERSIONMIN 13.0.3

VERSIONMAX: null

 

Property Table:

PROPERTY: UpgradeCode

{7C0C5FDF-1EB0-49EF-BE8B-726DFD0F0323}

 

Upgrade Table:

UPGRADECODE:{7C0C5FDF-1EB0-49EF-BE8B-726DFD0F0323}

 

 

======================================================================

 

======================================================================

======================================================================

07/10/2014 16:15:27 :: Details of MSI files that passed all package identity tests:

======================================================================

 

Setup package name: D:\ReportViewer.msi

 

Property Table:

PROPERTY: UpgradeCode

VALUE: {601E4292-D959-405C-B916-A33C178B25E1}

 

PROPERTY: Manufacturer

VALUE: Microsoft Corporation

 

PROPERTY: ProductCode

VALUE: {421B88F8-D7C9-44CB-8B73-166D65B18DCC}

 

PROPERTY: ProductLanguage

VALUE: 1033

 

PROPERTY: ProductName

VALUE: Microsoft Report Viewer 2012 Runtime

 

PROPERTY: ProductVersion

VALUE: 11.1.3366.16

 

Upgrade Table:

UPGRADECODE:{601E4292-D959-405C-B916-A33C178B25E1}

VERSIONMIN 11.1.3366.16

VERSIONMAX: null

 

UPGRADECODE:{601E4292-D959-405C-B916-A33C178B25E1}

VERSIONMIN 11.1.3366.16

VERSIONMAX: 11.1.3366.16

 

UPGRADECODE:{601E4292-D959-405C-B916-A33C178B25E1}

VERSIONMIN 1.0.0.0

VERSIONMAX: 11.1.3366.16

 

Property Table:

PROPERTY: UpgradeCode

{601E4292-D959-405C-B916-A33C178B25E1}

 

Upgrade Table:

UPGRADECODE:{601E4292-D959-405C-B916-A33C178B25E1}

 

 

======================================================================

 

Setup package name: D:\SQLSysClrTypes.msi

 

Property Table:

PROPERTY: UpgradeCode

VALUE: {F33D7C5D-99A5-403C-AEA8-BAD7D450DCB5}

 

PROPERTY: Manufacturer

VALUE: Microsoft Corporation

 

PROPERTY: ProductCode

VALUE: {F1949145-EB64-4DE7-9D81-E6D27937146C}

 

PROPERTY: ProductLanguage

VALUE: 1033

 

PROPERTY: ProductName

VALUE: Microsoft System CLR Types for SQL Server 2012 (x64)

 

PROPERTY: ProductVersion

VALUE: 11.0.2100.60

 

Upgrade Table:

UPGRADECODE:{F33D7C5D-99A5-403C-AEA8-BAD7D450DCB5}

VERSIONMIN 11.0.2100.60

VERSIONMAX: null

 

UPGRADECODE:{F33D7C5D-99A5-403C-AEA8-BAD7D450DCB5}

VERSIONMIN 11.0.2100.60

VERSIONMAX: 11.0.2100.60

 

UPGRADECODE:{F33D7C5D-99A5-403C-AEA8-BAD7D450DCB5}

VERSIONMIN 1.0.0.0

VERSIONMAX: 11.0.2100.60

 

Property Table:

PROPERTY: UpgradeCode

{F33D7C5D-99A5-403C-AEA8-BAD7D450DCB5}

 

Upgrade Table:

UPGRADECODE:{F33D7C5D-99A5-403C-AEA8-BAD7D450DCB5}

 

 

======================================================================

 

======================================================================

 

======================================================================

Graph expert bug while designing rpt

$
0
0

Hi, guys

I'm here again. Troubles always find me, ha

Environment : vs 2010 . CR dev for vs13.0.9. Windows 7 sp1 x64.

 

QQ截图20140711151124.png

The "Summary option" shows not correctly in vs 2010, but can be shown in vs2012.

QQ截图20140711151135.png

Determine Status of Show Preview Panel option in report

$
0
0

I am using VB.NET 2010 (WinForms) and CR 2011.  In the Report Options there is the option to Show Preview Panel.  Is there any way to access that information from the ReportDocument to automatically turn on or off the panel in the Crystal Viewer by code?

 

I can't find it in the ReportDocument.ReportOptions or anywhere else that I have looked (.ReportClientDocument, .DataDefinition, etc).

 

I basically would like to control if it turns on or off based on the design of the report so it shows when there are groups and hides when there are none.  I won't know myself because I did not design all reports for my application.

 

TIA, rasinc.


Deploying VB.NET Application with Crystal Reports

$
0
0

Hello everyone.

I'm new around here and this is my first post. I hope I'm not crossing any rules, with this thread or the section where I'm starting it.

 

I have an application in VB.NET that requires Crystal Reports in order to be completely functional, in other words, appart from performing its main purposes I also need to print reports from data I get from grids.

 

I'm going to point out that you check this link, in order to better understand my problem at hand and I'll do a brief summary of it below.

 

To put it short, at first when I tried to preview a report for printing I get an error about the assembly "CrystalDecisions.CrystalReports.Engine". Then I downloaded the Crystal Reports Runtime package and I thought it would solve the problem, but it looks like the package doesn't contain all the basic assemblies? I get the following error:

 

"Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version = 13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified."

 

Note: This happens on every target machine as to where I've deployed my project, even on VM

 

I hope someone can shed some light on this problem, because I really need to get my project running on every machine of the company I'm working on.

Missing Parameters when using .PrintToPrinter or .ExportToDisk

$
0
0

I am creating a viewer that will set login information and allow the users to view, print or export reports.  VB.NET 2010 WinForms Crystal Engine 13.0.9.1312.  All reports are external designed by various programmers.

 

The preview mode of my viewer is now working quite well (with the help of Don and Ludek most recently).  Anything I want to see on screen works great in the regular Crystal viewer.

 

The problem is when I want to export to pdf or print to a printer without viewing on screen in the regular Crystal viewer.

If there are no parameters in the reports, both exporting to pdf and printing to any printer selected works.

 

When there is one or more parameters, it crashes and points to the line

 

crReport.ExportToDisk(ExportFormatType.PortableDocFormat, strFile)

 

or

 

crReport.PrintToPrinter(1, True, 0, 0)

 

with the message Missing Parameter Values.

 

Through some searching (and yes I have checked on this site and Google for "Missing Parameter Values") I have found one big issue is that parameter values have to be set after the .ReportSource is set.  So before I changed my code, I never saw the Crystal Parameter prompt screen.  Now I see it but still get the crash (though once I have had it go to printer honouring the Parameter in a report, but I can't always reproduce it and never when sending to pdf).

 

The reports may be designed by end users who are using my program.  I will not know what reports they are or if they have even put in parameters.  I will not know if they are date, string, number, discrete, range, multiple, etc.

 

The original login code referred to below can be found here.

 

 

         'original login code here down to subreport login
         'rest of subroutine is just a Catch and End Try

         crViewer.ReportSource = Nothing
         crViewer.ReportSource = crReport

 

         'check if to be sent direct to printer and send all pages
         If Not autoforms Is Nothing AndAlso autoforms.ToPrinter Then
            crReport.PrintOptions.PrinterName = autoforms.Printer
            crReport.PrintToPrinter(1, True, 0, 0)   '-> Error Triggers Here

         End If

        
         'setup viewer options
        
         Dim intExportFormatFlags As Integer
         intExportFormatFlags = ViewerExportFormats.PdfFormat Or
                                 ViewerExportFormats.ExcelFormat Or
                                 ViewerExportFormats.ExcelRecordFormat Or
                                 ViewerExportFormats.XLSXFormat Or
                                 ViewerExportFormats.CsvFormat


         crViewer.AllowedExportFormats = intExportFormatFlags
         crViewer.ShowLogo = False


         crViewer.ToolPanelView = ToolPanelViewType.GroupTree

 

         'check if to be sent direct to pdf and send all pages
         If Not autoforms Is Nothing AndAlso autoforms.ToPDF Then

            Dim strPDFFilename As String = autoforms.PDFPath & "\" & autoforms.ReportName & "_" & autoforms.ReportType & ".pdf"
            'strPDFFilename = Replace(strPDFFilename, " ", "_")

            SendExport(strPDFFilename, "PDF")

         End If


         'if not preview then close form
         If Not autoforms Is Nothing AndAlso Not autoforms.Preview Then
            Me.Close()
            Exit Sub
         End If

Private Sub SendExport(ByVal strFile As String, ByVal strExportFormat As String)


      'pass current parameter values to the pdf
      Dim crParamFieldDefs As ParameterFieldDefinitions
      Dim crParamFieldDef As ParameterFieldDefinition
      Dim crParamValues As New ParameterValues

      Dim x As Integer = crViewer.ParameterFieldInfo.Count
     
      crParamFieldDefs = crReport.DataDefinition.ParameterFields

      'loop through each parameter and assign it the current values
      For Each crParamFieldDef In crParamFieldDefs
         crParamValues = crParamFieldDef.CurrentValues

         crParamFieldDef.ApplyCurrentValues(crParamValues)

      Next


      Select Case strExportFormat
         Case Is = "PDF"
            crReport.ExportToDisk(ExportFormatType.PortableDocFormat, strFile)  '--> Error Triggers Here
         Case Is = "xls"
            crReport.ExportToDisk(ExportFormatType.Excel, strFile)
         Case Is = "xlsx"
            crReport.ExportToDisk(ExportFormatType.ExcelWorkbook, strFile)
      End Select
End Sub

 

This code doesn't work on my system, but my logic is as follows (as flawed as it is).  Look through the parameters, find the current values and then assign them to the parameters again just before export.

 

With the code above, I am getting the enter parameter values screen in the viewer.  Therefore, my assumption is that the report now has a current value(s) for the parameter(s).  The loop will not require the program to know how may parameters there are or what the values or value types are.

 

There are a couple of problems with this.  When I step through it, there are no current values, because the prompt doesn't come up with stepping through the code with F8.  Second problem is that it is finding the internal parameters used for subreport linking ({?PM-xxxxx}).  Third problem is that a lot of code I have looked at does not appear like it is assigning the reportsource to a viewer at all just to export or print to printer.  So is it necessary to do as I have done here?

 

I am sorry this is so long and I appreciate anyone who has stuck to it this long.  I am at my wits end trying to figure out how to make this work.  I think there is a timing issue here but do not know how to resolve it.  I just want the report to trigger the prompts if there are parameters, then send the report screen, to pdf or to printer depending on the user's settings for the report (it may be any or all three options).  If you need more info, let me know.

 

TIA, rasinc

Refresh Crystal Report Viewer By JavaScript or JQuery

$
0
0

hii every body here ...

 

 

i need to can refresh the crystal report viewer with javascript or jquery as like [refresh button] on toolbar

so i need to do that without using standard refresh button on toolbar or by server side code only by java script code is this possible or not

 

 

thanks for the repliers ...

I can only Print masterview in Crytsal Reports

$
0
0

Hi,

 

i have some problem with CR after i deinstall CR 13.0.3 and install 13.0.8.

 

i have a CR with a master and a detail view but i am only able to print the master view.

 

additionally i cant select page 3 in the CR. if i click on "next page" nothing happen.

 

thanks for help

Setting datasource programatically from TWO databases

$
0
0

Hey everyone.  I know how to set a data-source programmatically from one MSSQL database.  Has anyone been able to do the same when the data is drawn from two databases? Maybe read the table name and provide appropriate connection info?  Thanks

Crystal Reports v. 13.0.5. Out of Memory in WPF

$
0
0

Hi,

 

We are looking to upgrade to Visual Studio 2013 from Visual Studio 2008 and were hoping to also upgrade to the new version of Crystal Reports.

 

We use a WIndowsFormViewer to generate CR's on demand. However, initial tests have shown that systems out of memory after roughly 60 to 70 CR's..

 

I have checked our testing code and it all seems to dispose things whereever possible including a GC.Collect() after the report has been generated and sent back over the line.

 

Is there any additional calls that we need to do in order to clear out the memory. If the latter, is there anything we can do to prevent this? We generate a large amount of reports daily.

 

Thanks in advance.

 

Regards,

Adnan RRO

Problem with vertical line combine with can grow text

$
0
0

Hi All,

 

I have problem with vertical line combine with can grow text. This case happen when the first detail of next page is grow up.

 

In page 105 the vertical line is to long. What should i do to fix this error ? Please help me ...

 

105.PNG

106.PNG


[COMException (0x80041811): Operation not supported] & [CrystalReportsException: Failed to load the report]

$
0
0

Hello there,

I'm developing an web application asp.net with - c # - VS2012 - crystal repport (CRforVS_13_0_5) on windows 7 pro 32 bit, all it's ok even printing reports.

The problem is that when hosting the web application in IIS on the same machine (windows 7 pro 32 bit) and then print the report I get the following error message:

 

 

[COMException (0x80041811): Operation not supported. A document processed by the JRC engine can not be opened in the C + + stack.]

CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open (Object & documentPath, Int32 Options) +0

CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open (Object & documentPath, Int32 Options) +90

CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened () +259

 

[CrystalReportsException: Failed to load the report]

CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened () +322

CrystalDecisions.CrystalReports.Engine.ReportDocument.Load (String filename, OpenReportMethod OpenMethod, Int16 parentJob) 851

CrystalDecisions.CrystalReports.Engine.ReportDocument.Load (String filename) +78

wforms_printcmd.Button1_Click1 (Object sender, EventArgs e) in d: \ Dev \ AppWeb \ wforms \ printcmd.aspx.cs: 27

System.Web.UI.WebControls.Button.OnClick (EventArgs e) 9,553,594

System.Web.UI.WebControls.Button.RaisePostBackEvent (String eventArgument) +103

System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent (String eventArgument) +10

System.Web.UI.Page.RaisePostBackEvent (IPostBackEventHandler SourceControl, String eventArgument) +13

System.Web.UI.Page.RaisePostBackEvent (NameValueCollection postData) +35

System.Web.UI.Page.ProcessRequestMain (Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 1724

 

 

Code:

CryRpt ReportDocument = new ReportDocument ();

cryRpt.Load (Server.MapPath () "/ rpt / test.rpt..");

CrystalReportViewer1.ReportSource = cryRpt;

 

 

I need to do to solve this problem?

Crystal Report Windows Form Viewer - Error in compiling SQL Expression

$
0
0

I am using C# and the Crystal Reports API to render reports in a windows application. Recently we decided to start using SQL Expressions in our reports. The reports developers are able to use them in development, but as soon as we deploy the reports to production, we are seeing the following error.

 

sqlExpressionError.png

 

Why does this work when developing forms but not when using the C# API?

Updating Crystal Assemblies in VS 2013

$
0
0

I recently converted a project from VS2010 to VS2013.  The project was using CR assemblies 13.0.2000.0 in VS2010 and I would like to update to version 13.0.10.1385.  However, I am unsure of really how to go about doing this update.  I downloaded and installed the executable for the update.  I also tried to remove the references to the old version out of my project and add the new version.  That did not work.  I also tried to delete the old assemblies out of my C:\windows\assembly folder and it says that they cannot be uninstalled because other applications are using those assemblies.

 

Please help and/or direct me to what i need to do.

Crystal report viewer shows blank in live server (Asp.net 4.0 ,Crystal report 13.0.4.705) 13.0)

$
0
0

Hello,

     I have developed a web application.On that application, I need to show Total sales report .so i was designed the report and make dynamic connection to the database .it works good in local host.when i  hosted my application in live server.it shows blank in crystal report viewer.

Following Code used for connect the database:

private void InializateCrystalServer(string _reportfor,DateTime _frm, DateTime _to)
    {
        //Sql server
        try
        {
            TableLogOnInfos _crtblLoginINfos = new TableLogOnInfos();
            TableLogOnInfo _crtblLogInfo = new TableLogOnInfo();
            Tables _crtbl;
            ConnectionInfo _connectionInfo = new ConnectionInfo();
            _connectionInfo.DatabaseName = ConfigurationManager.AppSettings["DataBase"].ToString();
            _connectionInfo.ServerName = ConfigurationManager.AppSettings["ServerName"].ToString();
            _connectionInfo.IntegratedSecurity = Convert.ToBoolean(ConfigurationManager.AppSettings["IntegratedSecurity"].ToString());
            if (_connectionInfo.IntegratedSecurity == false)
            {
                _connectionInfo.UserID = ConfigurationManager.AppSettings["UserId"].ToString();
                _connectionInfo.Password = ConfigurationManager.AppSettings["Password"].ToString();
                _connectionInfo.AllowCustomConnection = true;
            }
            else
            {
                _connectionInfo.AllowCustomConnection = false;
            }
            if (_reportfor == "TotalSales")
            {

 

                TotalSales _salesReport = new TotalSales();
                _salesReport.RecordSelectionFormula = "  {tblBillMaster.BillDate} in DateTime  ( " + _frm.Year + "," + _frm.Month + "," + _frm.Day + ",00,00,00 )"
                                                        + " to DateTime ( " + _to.Year + "," + _to.Month + "," + _to.Day + " ,00,00,00)";
                _crtbl = _salesReport.Database.Tables;
                _salesReport.DataDefinition.FormulaFields["dateValues"].Text = "\" " + _frm.ToString("dd/MM/yyyy") + " to " + _to.ToString("dd/MM/yyyy") + "\""; ;
                crystalReporViewer.ReportSource = _salesReport;
                crystalReporViewer.RefreshReport();
                lblTitle.Text = " Total Sales Report ";
            }
        }
        catch (Exception ex)
        {
            Response.Redirect("ErrorPage.aspx?Source=" + ex.Source + "&Message=" + ex.Message, false);
        }
   

}

Dynamic connection Code was correct ? or need to be install crystal report runtime in my server like C# Windows Applications ?

please guide me as right direction ASAP..

Thanks & Regards,

VM Infosys

WPF Report Viewer Thrown an Exception After PrintToPrinter() method

$
0
0

When I send to report for print from calling PrintToPrinter method after print report that exception show on first time

1.png

2.png

Then reprint report that exception show.

3.png

Viewing all 2556 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>