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

Installing Crystal Reports VS Developer Version 13.0.9 to Visual Studio 2013

$
0
0

Hi,

 

I have this question popping up while installing CR 13.0.9 for VS 2013.

 

My Current Set-Up:

My current Set-up in Developer Machine consists of VS 2012 pro alongside with CR 13.0.6. My current application, mostly WinForms is perfectly running with this Set-up as well as in ClickOnce.

 

Then, I had installed VS 2013 pro on top of it and remains a separate IDE alongside with VS 2012. Still I'm able to compile my programs with VS 2012 with no issues.

 

My Requirements:

Now I would like to install CR for VS 2013 version 13.0.9 however while installing I'm getting an Info saying I have already installed a previous version and should the setup upgrade to new one. I had run the CRforVS_13_0_9.exe as suggested first.

 

I will remove VS 2012 if everything is ok to go ahead with VS 2013.

 

My Concern,

Should I go ahead with the upgrade,

 

  1. Will I be still able to create applications with CR and Compile the existing ones in VS 2012?
  2. Will I be able to have CR Reporting Objects in VS 2013 and Create applications?

 

I hope some one could clarify my concerns.

 

Thanks & Regards,


how to create a FieldObject by RunningTotalField

$
0
0

I'm trying create FieldObject by RunningTotalField,but When an exception is thrown "no error",please help me.thanks!

  // "{#RUN_CoCode}" is existing fields   RunningTotalField runTotalObj = (RunningTotalField)boReportClientDocument.DataDefController.FindFieldByFormulaForm("{#RUN_CoCode}");  to = new CrystalDecisions.ReportAppServer.ReportDefModel.FieldObject();  to.DataSourceName = runTotalObj.FormulaForm;  to.FieldValueType = runTotalObj.Type;   to.Left = 4 * 1440;   to.Width = 3 * 1440;     boReportClientDocument.ReportDefController.ReportObjectController.Add(to, section);

 

Message was edited by: Ludek Uher

Where can I find which versions of Crystal Reports are compatible with the Runtimes?

$
0
0

The Crystal Runtimes run reports authored in Crystal Reports.  Where is it documented which version of Crystal Reports can be used to author reports for which version of the Runtimes?

 

If I use the latest Runtimes can I consume reports authored in any version of Crystal Reports, e.g. Crystal Reports version 10?  Or Crystal Reports 2013?

Crystal Reports 2011 not working in windows 2008 server CITRIX

$
0
0

Hi All,

 

We are using  Crystal reports 2011 in windows 2008 server which is CITRIX farm., having crystal reports 2011 runtime in it..

 

We are using .net applicationton to run the reports.

 

The crystal reports parameter popup is getting opened. But the calendar icon is not fuctioning ..clicking on the calendar control no pop up appears. no error too..

 

OK button is not responding. Cancel button too.

 

Can you please help us why we are facing this issue in CITRIX only. When we are using the same version in desktop, Crystal report is working fine.

 

 

Please feel free to ask if required any more details about my problem.

 

Regards,

 

Venkat.K

Running total as alphabets

$
0
0

I want to put a running total as alphabets.

 

For Example

 

1. Question Title

     A) Option 1

     B) Option 2

     C) Option 3

2. Question Title

     A) Option 1

     B) Option 2

     C) Option 3

 

I got the running numbers for Question Title but i am not getting the A,B,... for Answers.

 

Have anyone done similar with Crystal Reports Running Total or any other different way?

Crystal Reports Asking for Password in Windows XP after Verify

$
0
0

Hi We have many working Crystal reports in our software at many different client locations, recently we upgraded our Visual Studio to VERSION 2013 and Crystal Report to version 2008, accordingly the Crystal Report references were also updated. Now, with the Latest Software which has been compiled with the New Version (no changes done in the report) and all the reports work fine on Windows XP / Windows 7 / Windows 8. However, if we do any change in the REPORT and VERIFY the report from any SQL SERVER version (2005, 2008, 2012) in our system, and then we deploy at client’s system, the report asks for User ID & Password. This happens only on WINDOWS XP system. On Windows 7 & Windows 8 systems – there is no issue and it works fine. Even if we give the correct user id and password and report says LOGON Failed. This is not happening for any specific report – it happens with all the reports (more than 100 reports). We found the workaround also. if Client has Crystal Reports installed, and if we verify on their system, then this problem does not OCCUR. But most of our customers do not have Crystal Reports installed. Any ideas would be appreciated.

An error occur on server. printing will be stopped.

$
0
0

we have crystal report for VS 2010 Version : 13

I have an issue regarding printing. when we print approx 200-300 pages, after printing near about 40 page, printing will be stopped with error "An error occured on server. Printing Will be stopped".

Please help us....

Crystal Reports & SQL LocalDB - SetDatabaseLogon

$
0
0

I am creating an application in VS2013 that uses LocalDB and Crystal Reports. Trying to set the property of a ReportDocument  SetDatabaseLogon("username","password") is not working for me because I have not been able to create a user (with password) in LocalDB. Has anyone run into this before or have a work-around ? Any advice will be greatly appreciated. Thanks.


Please tell us about the compatibility of Crystal Reports 2013 SP1

$
0
0

When upgrade to Crystal Reports 2013 SP1 from Crystal Rrports XI Release 2, printed material is reduced, layout collapses.

In addition, even if the page settings, unnecessary white space would be able to frame.

Or would not be able to complete the upgrade without modification of the print.

In addition, CR 2013 SP1, Do you have to compensate for the compatibility of up to which version.

Please tell me if there is a workaround. Best regards

 

 

System details are as follows:

 

[upgrade from]

.NET Framework 1.1.4322

Crystal Reports XI Release 2, version 11.5.12.1838

 

[upgrade to]

.NET Framework 4.5.50709

Crystal Reports 2013 SP1, version 14.1.1.1036

Problem with printer driver (CR2008)

$
0
0

Hello

 

We have a Windows Server 2008 64bit where we configured some local printers and there is running a web application written in ASP.NET.

This application uses Crystal Reports 2008 SP4 and we're trying to print our reports from there. We have an existing printer where it's already working, but we need to set an other printer. And there is the problem: Crystal Reports tells us that we've selected an invalid printer when we configure the new one and nothing gets printed. So I changed the printer driver of the new printer driver to the old printer driver and, surprise, it prints. Though, it prints just an error message.

 

So I checked the permissions and the drivers and since I can print sample pages and documents from Word I don't think it's a driver problem. Can someone help us?

 

We set the printer name in the application over the report object: report.PrintOptions.PrinterName = printerName; //In printerName the name of the printer is defined

Need help for Crystall report and Stored Procedure with single parameter in vb.net

$
0
0

I am new to Vb.net2010 and Crystal report

I am Developing a application vb.net 2010 with Database Ms sql 2008 R2

created Stored Procedure


I am trying to generate the report by Calling Stored Procedure with passing single argument valueusing data set.


can any one help me to do this in better way. Step by step  please help me or send me the help link....

CR VS 2013 error: Additional information: Failed to load database information.

$
0
0

We have VS 2008 (V9.0.30729.1 SP1) using .Net 3.5 under Windows Server 2003 R2 Data Center Edition. VS 2008 came with Crystal Reports Version 10.5.3700.0. We developed a little report in a winform to run against Oracle 11gR2 using the OLE DB support in the CR Report Wizard in the VS 2008 IDE. It was a standard report with some code to print the report directly to the printer with out the viewer control. Here is the working code:

 

Imports System.Data.OleDb

Imports System.Data

Imports System

Imports System.Windows.Forms

Imports CrystalDecisions.CrystalReports.Engine

Imports CrystalDecisions.Shared

 

Public Class Form1

 

    Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        Dim crReportDocument As New CrystalReport1()

        Dim DataSet1 As DataSet

        Dim adoOleDbConnection As OleDbConnection

        Dim adoOleDbDataAdapter As OleDbDataAdapter

 

        Dim connectionString As String = ""

        connectionString = "Provider=OraOLEDB.Oracle;"

        connectionString += "Data Source=OURDBNAME;"

        connectionString += "User ID=OURUSERID;Password=OURPSW"

        adoOleDbConnection = New OleDbConnection(connectionString)

        Dim sqlString As String = ""

        sqlString = "SELECT * FROM edi_filing_source_lov where filing_source_code in ('A','E')"

        adoOleDbDataAdapter = New OleDbDataAdapter(sqlString, adoOleDbConnection)

        DataSet1 = New DataSet()

        adoOleDbDataAdapter.Fill(DataSet1, "edi_filing_source_lov")

        crReportDocument.Database.Tables(0).SetDataSource(DataSet1)

        crReportDocument.PrintOptions.PrinterName = "HP_LaserJet_4350_PCL_5e_Info_Tech"

        crReportDocument.Refresh()

        crReportDocument.PrintToPrinter(1, False, 1, 99)

 

        Me.Close()

    End Sub

 

End Class

 

We want to migrate this report to VS 2013. We installed VS 2013 Professional (V12.0.30110.00 Update 1) under Windows Server 2012 R2 Data Center Edition. We downloaded CRforVS_13_0_9 and installed it in VS 2013. We moved the project from VS 2008 and opened it under VS 2013. It looks like it converted OK. When we run it we get the following error:

 

An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in CrystalDecisions.CrystalReports.Engine.dll

 

Additional information: Failed to load database information.

Error in File temp_f11eb1be-db98-4d33-800c-4db3b36ab14e {EEB2A9E4-8239-49CB-B016-8CE4F4C7643E}.rpt:

 

Failed to load database information.

 

More information: We can step through the wizard in VS 2013 using the standard template and add a report viewer control to the form and point it at the report and run it just fine in the VS 2013 IDE when there is no code in the form1_load event. We feel we have the Oracle.DataAccess.dll for the 11.2.0 client installed and tested correctly on the server and do not feel there is an issue with data base installation. When we add back the code above to the form1_load event and run it we get the error above.

 

We have the logger set up but nothing gets added to the log files.

 

We have tried three different ways to set the data source to resolve the error that is occurring at this line of code that is failing but with no luck:

 

crReportDocument.Database.Tables(0).SetDataSource(DataSet1)

crReportDocument.SetDataSource(DataSet1)

crReportDocument.Database.Tables(0).SetDataSource(DataSet.Tables("edi_filing_source_lov"))

 

Do you have any other suggestions we could try?

 

Bruce

Crystal report :No data on second page

$
0
0


Hi,

 

We have recently insalled crystal report 12 on a fresh machine and copied the complete folder "crystalreportviewer11" from our previous version.

Now when viewing the report the output the data is displayed only on the first page and from the second page onward it is not showing data altough the actual report contain data in multiple page. The same is happening for all the reports having data in multiple pages.

 

Please suggest if it is a known issue?

Is there any way to sort out this issue.

 

Thanks and Regards,

Rishabh

Changing the Currency Symbol at run time via Asp.net

$
0
0

Hello,

 

I am trying to change the currency symbol to user specific rather than System Region Locale of the server at the time of the report generation.

 

My scenario is that we don't have to view the report, but directly export the report and provide the option to user if they wish to download it or not. Now the issue is I have a situation where I have to generate the same report with two different options one for US and another for UK. The calculations are taken care of but I am stuck with the symbol not showing correct with each report (both of the reports are showing Server Default).

 

I did manage to find a work around which work fine in the designer, but as soon as the logic is implemented on the test environment there is no effect on the report. The work around I manged is that I am passing the symbol as parameter to the report and assigning that parameter value to the Custom function return value of the currency field Symbol in the Format object of the Currency Field Object.

 

I am using CR for VS 2010.

 

Any help would be appreciated.

 

Kind regards,

Darshan.

Crystal reports 2011 exporting report having sub reports to excel

$
0
0

I have recently upgraded to crystal reports 2011 , but found crystal report engine problem when exporting to excel which has got subreport and in the subreport  having groups defined.IT gets hanged when calling reportdocument. export in visual studio 2010 c#

But when i do the same thing to export in pdf, works fine.

Any help is appreciated.

 

Thanks


FormulaField.Text Include a RunningTotalField can't display

$
0
0

if FormulaField Include a RunningTotalField,And the RunningTotalField Set to evaluate according to the formula.For example,the FormulaField.Text='{#RUN_Amount}',At run time it shows empty,but you export to *.rpt files,in the Crystal Reports View,you can see there are data,please help me,thanks.

CrystalDecisions.CrystalReports.Engine.ReportDocument.Load Issue

$
0
0

Hi,

 

I have a ASP.Net web application using crystal report. On few occurrences, it is throwing CrystalDecisions.CrystalReports.Engine.ReportDocument.Load error message. To fix the issue I have to reset the IIS.

 

What could be causing this and how to fix this issue permanently? Please suggest the solution.

 

 

CrystalDecisions.Shared.CrystalReportsException Message: Load report failed. Source: CrystalDecisions.CrystalReports.Engine Stacktrace:    at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()     at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)     at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)     at

 

 

Regards

Anoop

Crystal Report 2008 & Visual Studion 2008 winform after print Page Orientation incurrent

$
0
0

Symptom

Page orientation changes from landscape to portrait after printing in Crystal Report Viewer

 

Environment :

Crystal Report 2008 Version 12.2.0.290

Visual Studio 2008 Version 9.0.30729.4462

the label size  is "60mm*40mm"

 

Picture:

Crystal Report Setup Picture ->https://drive.google.com/file/d/0B9JKKGV3x6VDS3FVbHYyenA0d3M/edit?usp=sharing

Windows form process Picture ->https://drive.google.com/file/d/0B9JKKGV3x6VDNjAtNkNQZXMzSUU/edit?usp=sharing

Print Label  ->https://drive.google.com/file/d/0B9JKKGV3x6VDR0l2VkJmT2VrWE0/edit?usp=sharing

 

 

Source Code

                int rawKind = 266 ;

        ReportDocument reportDocumentAll = new ReportDocument();

        reportDocumentAll.Load(sREPORT_NAME);

 

                PrintDocument doctoprint = new PrintDocument();

                doctoprint.DefaultPageSettings.Landscape = false  ; //not working

                doctoprint.PrinterSettings.PrinterName = sPRINTER_NAME;

      

 

                SetDocParameter2Parameter(reportDocumentAll, "@PARENT", sLPN_SNID, "@WAREHOUSE", sBATCHNO);

                ChangeReportDataBase(reportDocumentAll);

                reportDocumentAll.PrintOptions.DissociatePageSizeAndPrinterPaperSize = true ;

                reportDocumentAll.PrintOptions.PrinterName = sPRINTER_NAME;

                reportDocumentAll.PrintOptions.PaperOrientation = CrystalDecisions.Shared.PaperOrientation.Portrait ;  //not working

                reportDocumentAll.PrintOptions.PaperSize = (CrystalDecisions.Shared.PaperSize)rawKind;

                reportDocumentAll.PrintToPrinter(1, false, 0, 0); 

How to develop Language Resources in Crystal Reports

$
0
0

Dear Experts,

 

I have develop crystal report in english language now  i have requirement to develop same in Arabic langauge with its currency symbol. Our application is hosted in USA so by default it pulls $ in our all reports.

 

Could please provide some details workable solutions.

 


Thanking you,

Miral Shah

Crystal reports viewer not displaying reports correctly in ie11

$
0
0

When rendering reports they come out jumbled with large spaces between everything, the reports work fine for other versions of IE. If i change the useragent string in ie11 to ie10 or below the page will render correctly. It seems as though this version of crystal reports does not recorgnise the ie11 user agent. I'm using CrystalDecisions.CrystalReports.Engine version 11.5.3700.0.

 

Can anyone advise of a solution?

 

thanks

Viewing all 2556 articles
Browse latest View live


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