Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all 3636 articles
Browse latest View live

Trying to deploy web app on Windows 2012. Only getting blank page when calling reports.

$
0
0

It works fine in my VS2012 development environment.  I have installed CRforVS_13_0_13.exe for development and on the Windows 2012 server I have installed the CRRuntime_32bit_13_0_13.msi, since the application has to be run in 32bit.

 

My reports come up only with a blank page.

 

When running process monitor is see it cannot fine CrystalDecisions.Shared.XmlSerializers.dll with the message NAME NOT FOUND.  I looked for the dll but cannot fined it.  Any suggestions would be helpful.

 

Thanks


PDF bookmark creation ignores number format

$
0
0

Using Crystal Reports for VS 13.0.13. A report has a group defined for a numeric database column. The formatting options for the group header format the number using the "-1123" format so there are no commas or decimals.

 

When I export this report to PDF using the Crystal Reports designer and tell it to create bookmarks from the headings, everything is correct.

 

When I do the same thing from the runtime, the bookmarks ignore the format specified for the group and uses the default number format instead. For example, if the field value is "12345", the bookmark gets created as "12,345.00" even though the group header is correctly formatted as "12345".

 

The only workaround I've found is to customize the group name field to use a formula that formats the number using cstr(fieldname,"0").

Crystal Report 8.5 to CR 2013

$
0
0

we have several crystal reports created in 8.5 versions, we are thinking to upgrade them to .NET (visual studio 2013)

after download 30 days trial full version of SAP Crystal Reports 2013, I remapped the data and odbc connection, and saved them in new report version. But when using my win app (32bit) to revoke the reports, I am no longer can view the reports, I kept getting error:

"Invalid report version", can someone help me?

 

Another problem, when opening the Visual studio 2013 and load one of my crystal reports in 8.5,

I was able to view it in a design mode, but that's all I can do, I can't remap or change odbc connection

am I missing something here?

 

 

thanks

CR LogonFailed, Version X86 vs X64

$
0
0

Hi guys,

 

My setup is:

- Visual Studio 2013 Ultimate
- .NET Framework 4.0

 

Crystal Developer X86

My Crystal Version is: 13.0.2000.0
My File Version is: 14.0.2014.1720

 

I Need a help ..


My reportis givingproblem afterprinting.It displays a message FailedLogin.If I change tox86platformreportingprintcorrectly, but I need to setX64platformorANYCPUbecausemy projectgives error"System.OutOfMemory" exception ..


How can I solvethis problem, I need to runmy projectonX64platformand use theCrystalX86..InFramework 4.5there is a"32 bitPreferences" option butusetheFramework 4becausemyMySqldatabasedoes not supportthe.NET Framework4.5

Database Vendor Code: 6550

$
0
0

Dear All,

 

I am facing an error while migrating My code from VB.Net 1.1 to 4.0 and Crystal reports 9.0.2 to 13.0.2000

 

The strange thing is, whenever I try to export the data in run mode, I am getting error with HasRecords

 

Failed to retrieve data from the database.

Details:  [Database Vendor Code: 6550 ]

Failed to retrieve data from the database.

Details:  [Database Vendor Code: 6550 ]

Failed to retrieve data from the database.

Error in File ECARD-LATEST 2420_180_{3FCF39B7-2D8C-4C8E-8408-436F54225B10}.rpt:

Failed to retrieve data from the database.

Details:  [Database Vendor Code: 6550 ]

 

Where,

ECARD-LATEST is the name of RPT file.

 

_HResult -2147221760 Integer

HasSavedData is False

 

 

Source : CrystalDecisions.ReportAppServer.DataSetConversion

StackTrace :    at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)

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

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

  

IF I try to export the same record in DEBUG mode, records were successfully exported to PDF format.

Since there were so many records in each run, and every time pressing F11 is not at all a good Idea.

 

 

Can anyone tell me the reason behind this.

 

I am working under 2008 R2 server.

Using Crystal reports 13.0.2000 runtime.

Microsoft VS 2010 environment.

Using Oracle 10g Client.

Using Stored Procedure to Retrieve data.

 

Please let me know anything more required.

 

Thanks.

Editing .rpt files in Visual Studio 2015

$
0
0

Hello

 

I would like to find out if there is any way to integrate Crystal Reports with VS 2015 (Community, latest version) in terms of editing .rpt files? I have a bunch of old reports and I would like to make changes to some of them, but since I no longer have VS 2008 that would allow me to edit them I am wondering what are my options?

Report Viewer Winforms .Net

$
0
0

I am curious as to why the viewers resolution is so bad on images and text that justified.  I set dates to some of the custom setting like Day of the week, month, day and year.  When they are displayed in the viewer the month and day run together and you can barely read them. They print like this too and there is no real way to force an extra space between the fields because it is embedded in the format of the date.  This is very disappointing is there a plan to improve any of this?  Images aren't displayed using GDI bicubic.  I really wish the .NET viewer was even close to the native win32 viewers of old.  I know that development on Crystal Reports has really slowed over the years but I am not really wanting to move to something else.

Multi Threaded .Net Viewer

$
0
0

I ended up using the viewer but had to create my own toolbar and implement my own look and feel.  When I have a very large report and I click the go to last page button the viewer is not threaded so I have no way to stop the report. I must wait for the is to reach the end. What are my options to fix this issue?  When I say large report I mean large.  I have been able to use the native win32 viewer to print a report well over 100,000 pages.  The new viewer is not nearly as robust.  There has to be some options I am not the only person still using crystal reports but the .NET version is a step back from the ocx com object of old. I just need something that will allow me to perform the things I did under 11.5.  Not being able to stop the report in the middle of navigation is a huge problem.  Any ideas?


This field name is not known. in IIS app (asp.net) VS 2010 , CR 11g

$
0
0

Hi,

 

   Am developing an ERP web application, while debugging the application via localhost the Crystal report is working fine. I configured the application in IIS, and now the Crystal Report is not working , it throws the following error (Please see the screen shot).

 

Error.jpg

 

Please assist me in this matter

.Net Report Parameters

$
0
0

I have been using 11.5 for years.  I switched to .NET this year.  I am use to being able to use the print out method to print a crystal report without the viewer.  If I have parameter under 11.5 the prompt popup comes up and asks for the parameters.  Now it gives me an error about the values not being set.  Is there a way to ask for the parameters rather than passing values behind.  I just want the prompt to popup and ask them the values that are located inside the report. Thanks in advance.

End user and Visual Studio

$
0
0

Hello, my developer are using MS Visual Studio. For the reports in the application Crystal Reports is used. For my clients is, conform the advice of the developera runtime on their system necessary. My clients are cities with a large and sophisticated network where my products are only a minor part. Most of them do not use Crystal reports but products as Cognos. So they need install the runtime exclusive for our software.

Now I have aproblem: First the netwerkmanager is not happy to install the runtime on the server. For the need to write a special installation package te install it on all the servers. I found only a complete installation package that cannot be controlled by the netmanager for instance the map, rights et cetera.

Crystal Reports 12 - .Net 4.5 - LogOn Failed

$
0
0

Hi

  I have an app that I am deploying on the end-user's machine. The app also calls a couple of crystal reports reports (non- embedded). The reports are running fine on the dev machine. But when I deployed it and run from the user's machine, 'LogOn Failed - Please try again" error is thrown when the report is loading.

I installed Crystal Runtime (SP7) on the client machine.

I installed the SQL ODBC (native client) on the user's machine.

But the error persists.

The reports are running OK on my (dev) machine.

 

I would appreciate any help in this regard.

 

Thanks

Kanthi

"Loading..." during report generation?

$
0
0

Hello,

 

we have several reports which take minutes to generate. Is there a way in CRVS to show a "Please wait" or "Loading" message while the report is loading?

 

SAP Crystal Reports, version for Microsoft Visual Studio v 13.0.14.1720

Microsoft Visual Studio 2013

 

 

Thanks

Subreport truncation

$
0
0

Hello,

 

I have a report that has 4 subreports (the same subreport imported 4 times) in it, which are dynamically arranged/showed/hided during runtime. The problem is that the subreport has many records, it is expanded to multiple pages (7-8 pages) and time to time some records are missing. For instance I have the record with number 540 in the end of the page. After it I have to have the record with number 545. The numbers aren't chronologically because I have some filters applied. The space between the record 540 and the page footer section may permit to have there the record 545, but suddenly it disappears. And in the next page I have the record 560. The order should be 540, 545, 560.

 

This problem doesn't appear every time. For instance is possible to have the first 4-5 good pages and the missing to appears in page 6, or to have the missing in the first page, or to have the whole report correct. The situation differs.

 

I found a workaround. During runtime, if I export the report as .rpt file, with data in it, it seems that the records are displayed correctly. It seems that the export computes correctly the space needed to display the last record in each page.

 

I attached a printscreen to see how the missing record appears in the exported version. The left side has the report generated during runtime and the right side has the exported .rpt file and then loaded in a report viewer.

 

I don't have any clue why the subreport is truncated when page changes. The workaround is a little bit weird. I would like to have the report generated correctly during runtime.

 

The report is now edited using Visual Studio 2013. Can be a problem that it is created in a version prior to 2013? Should I convert it to a newest version?

 

PS: sorry for my English. I hope I explained well.

 

Thanks in advance,

Gabi

Visual Basic 2013 + A SAP Crystal Report 13

$
0
0

Our program has been developed on Visual Basic 2013 + Access. Our server runs on Windows 7 Network. We have added SAP Crystal Report 13 to it. The program itself runs on Windows 7 but we cannot generate any reports.

When we installed the program on a Windows 10 notebook, no problems were reported.

We installed CRforVS_redist_install_32bit_13_0_14 on the server and also on a notebook running on Windows 7 but we cannot generate reports.

What would your advice be?

Thank you.


ReportDocument.Refresh() causes "Missing values parameters" exception

$
0
0

Hello Everyone,

I hit a wall while trying to output a crystal report in PDF format. After the report is loaded, I want to use the refresh method of the ReportDocument object so that the report can show the most update data then export it in PDF. But what  I had been experiencing is that whenever I used the Refresh method the code always throws an exception in the line where the report needs to be exported in PDF format. When I don't use the Refresh method, the code doesn't break in the line where it has to export the document in PDF. I would like to know what alternative there could be. Because the code does what it was intended, which is connect to a database, run a stored procedure and then output the Crystal in PDF. It is just that the data shown is not up to date.

 

Any help would be truly appreciated.

 

Here the code:

ArrayList ParameterArrayList = new ArrayList(); //Report parameter list. Needs to be declared even if no parameters is being passed to the report

            CrystalReportBase objReportBase = new CrystalReportBase(); //this is custom class that loads a crystal report, connect to a datasource, pass parameters to a report, and return a a return ReportDocument object

 

           ReportDocument objReportDocument = new ReportDocument(); //Report document

            try

            {

 

 

                string filterExtension = "*.rpt";

                string substringInFileName = "M1_2_PhoneAnswerPerformance";

 

                /*The report with two parameters. */

                ParameterArrayList.Add(0);

                ParameterArrayList.Add("No"); //Parameter 1 with input 1.

                //ParameterArrayList.Add(1);

                //ParameterArrayList.Add("1"); //Parameter 2 with input 1.

 

 

                //retrieve connection information from the web2 connection string

                objReportBase.ServerName = serverConnectionInfo.DataSource;

                objReportBase.UserID = serverConnectionInfo.UserID;

                objReportBase.Password = serverConnectionInfo.Password;

 

 

                List<ReportFile> reportFiles = Utilities.GetFilesFromDirectory(@crystalPhoneReportPerformancePath, filterExtension, substringInFileName).ToList();

                foreach (ReportFile reportFile in reportFiles)

                {

                    objReportDocument = objReportBase.GenerateReport(reportFile.FileName, ParameterArrayList, crystalPhoneReportPerformancePath);

                    objReportDocument.Refresh(); Using this line causes....

                    //Save output report

                    objReportDocument.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, string.Format("{0}{1}{2}", @crystalPhoneReportOutputMemberServicesPath, Path.GetFileNameWithoutExtension(reportFile.FileName), ".pdf")); ...the code to break in this line

 

 

                    //Export this file in Excel format as well

                    if (reportFile.FileName.Contains("CLHS_M1_2_PhoneAnswerPerformanceGraphs_Combined"))

                    {

                        objReportDocument.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.ExcelWorkbook, string.Format("{0}{1}{2}", @crystalPhoneReportOutputMemberServicesPath, Path.GetFileNameWithoutExtension(reportFile.FileName), ".xls"));

                    }

                }

 

 

                //release those resources

                objReportDocument.Dispose();

                objReportDocument.Close();

                objReportDocument = null;

      catch{

Integrate Report Designer component in thick-client app

$
0
0

To the best of my knowledge, this was doable in the past. Has this changed or is there a way to integrate the designer (or parts thereof) in an existing Windows app?

Out of Memory?

$
0
0

I am trying to create a report consisting of primarily pictures.  I am using Visual Studio 2013 and VB.Net.  I have placed the Picture control in the report and I am changing the picture by changing the path via the Graphic Location. I have reduced the image sizes down to 1200 x 900 pixels.  I am disposing of the report at the end of the run.  However, my problem seems to be that the Picture control stops showing the pictures during the creation of the report.  Please see attached screenshot.  I am watching memory consumption via Task Manager.  Once memory usage gets around  800 MB  for the application, then the application will fail with an OutOfMemory Exception.  Is there a way to tell Crystal Reports to release the memory for a page once it is no longer being displayed?  How do you best handle creating a Catalogue of Pictures using Crystal?

 

Thanks,

-Vernon

Memory Corrupt Problem with Crystal report CRforVS_13_0_13

$
0
0

I am having Issue Running Crystal Report in Visual Studio 2010, Framework 4.0.

I Reinstall Crystal Report with CRforVS_13_0_13.exe

I am getting "An error occurred creating the form. See Exception.InnerException for details.  The error is: Attempted to read or write protected memory. This is often an indication that other memory is corrupt." Error.

Please provide solution for this Problem;

Crystal reports Record Selection Formula on VS2012/2013 is not working, its shows all records

$
0
0

  Hi Experts,

 

 

I have just upgrade my VS 2008 application to VS 2012 and facing a critical situation with Crystal reports.
My reports worked accurately on the previous versions and now when I build my solution on VS 2012 , reports that I have made using report wizard on previous VS2010 are not working at all.

In runtime it just select all the records ignoring the Record selection conditions.

 

I have installed   Support Pack 15 (v.13.0.15.1840

downloaded from SAP suggested site but the issue still remains. My formula to view report in run time is as under :

 

Dim Report As New LPOReport

        Me.WindowState = 2

        Report.Refresh()

 

        Report.RecordSelectionFormula = ("{PRINFO.PRNo}='" & Trim(txtPA.Text) & "'")

        RpT1.ReportSource = Report

   

        RpT1.Show()

        RpT1.Zoom(95)

        'RpT1.Dispose()

        Report = Nothing

 

 

Please help me to sort this out .

 

Thank you very much.

Viewing all 3636 articles
Browse latest View live


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