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

Two battling CR runtime environments: one crashes the other

$
0
0

I have two custom programs: one relies on an Access db, the other uses an Oracle db.

I have CR 11 installed (all options).

Each vendor provides their own unique CR Runtime environment.

 

The Oracle-based program works great with our custom CR reports. We have this same setup on several users' Windows 7 PCs (32&64 bit). We don't install the CR, just the vendor-supplied RTE for these installations. A few users can write their own reports so they will have the full CR installed as well.

 

However, when I install the Access-based program and install then its CR RTE the Oracle-based program can no longer access our external CR reports.

 

I've scoured the web looking for any info on the CR RTE and how to configure it. Nada.

 

Is there a way for ME to look at the components of the CR RTE that each vendor's RTE is using and then somehow COMBINE them so ONE RTE will work for BOTH programs?

 

(NOTE: we previously approached the vendors a few years back to come up with a solution and it never got anywhere, As a work-around we had one PC set up with the ACCESS db only. Now we are upgrading all XP machines to Win 7 and want to eliminate this stand-alone XP machine and have both apps run on the same Win 7 PC.)

 

SAP CR Gurus! What say ye?

 

-Rich M in CLE OH


Getting garbage when trying to view a report

$
0
0

I'm trying to get an ASP.NET application onto a new server. I've been playing with permissions and I think I've finally got that dragon licked in every place that it might need to be done. Now, it actually goes to the report without complaining. The only problem is the report is total garbage. As in it looks to me as though it's trying to view the raw data of a binary file. How do I fix this?

 

This app uses Crystal Reports for .NET 4.0, and is written in Visual Studio 2010.

Crystal Report Print

$
0
0

hi,

Now i am working in Asp.net.In this website i did one crystal report.if i have to take print from crystal report print icon .the will like some boxs will continuously appear.i attached the print image.

 

And one think if i will use export to pdf and then take print it will proper.

 

Please Help me.

Application getting crashed when CrystalReports.Engine.ReportDocument.ExportToStream calling

$
0
0

Dear All,

 

In VS 2008,


Am able to convert the Portable Document Format to Stream by using the below code.

 

Dim reportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument

reportDocument.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat)

 

 

In VS2012, Am not able to do the same one.

 

Please suggest what i have to do.

 

Thanks and Regards,

Ramesh.N.R

Pagination word editable Crystal Report

$
0
0

Hi,

I have a problem when I export to Word editable in Crystal report. the header constains only the text from de first page on every page (page 1 of 9) I need to solve this because the client needs to edit the document.

crystal reports with Visual Studio 2010 page orientation issue

$
0
0

I have a report which needs to be exported to PDF in 8" * 5.5", Portrait orientation. Now in Crystal Reports 13 (VS2010) when I choose page size as A5 and orientation as Portrait it still prints in Landscape orientation. I tried creating user defined page size with above dimension, it chooses Landscape automatically.

 

In a nutshell I am trying to create a report with width (8") > height (5.5") with portrait orientation.

 

What could be the solution to this issue ?

Install SAP Crystal Reports without VS2012

$
0
0

Dear all,

 

I have a problem with installing the Crystal Report without Visual Studio 2012.

 

I willing to run an VB2012 appilication with crystal report, but I don't want to install VS 2012

when I try to install crystal report, it show a message that I need to install VS before continue!

 

Can you advice me how to do that?

 

Thank in advance,

Respect,

Sam.

How to install and register CrystalDecisions.ReportAppServer.Controllers.dll on client machine

$
0
0

Hi All,

 

I have a windows application developed in visual studio 2010 and i have installed Crystal Report CRforVS_13_4 in my development machine. now when i install and try to run the crystal report i gives me below error :

 

System.Runtime.InteropServices.COMException (0x80040154): Class not registered - ICRReportPrinterPageRange   at CrystalDecisions.ReportAppServer.Controllers.ISCRPrintReportOptions.AddPrinterPageRange(Int32 rangeStart, Int32 rangeEnd)   at TestApplicationClient.Reporting.PrintReport(String PrinterName, Int32 Copies)   at TestApplicationClient.frmReport.CreateReport()

 

 

i also installed Crystal Report runtime at client side, but the error is still there, and i am also unable to find rystalDecisions.ReportAppServer.Controllers.dll at client machine at "C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet"

 

 

please help me in solving this issue.


Reports not exported/printed with BarCode from CrystalReportViewer controls

$
0
0

Hi,

 

I am using Crystal report Version=13.0.2000 with Visual Studio 2010. We have multiple reports that uses Code39 Barcodes. The aspx page uses Crystal report viewer to load the report. The Bar code displays fine but when I tried to print / export to PDF , the Viewer postbacks but nothing happens. If i remove the barcode from report, printing and exporting to PDF works fine. I spent lots of time debugging this issue. Any advice to fix this issue?

 

Adobe Version: 10.1.1

Code39two bar code font used in report. Tried differrent types of Code39 fonts.

 

Thanks for your help!

 

Elango

.NET program using Crystal Reports ActiveX Designer Run Time Library 10.0 (through COM INTEROP) crashes on Export() if report has user defined function

$
0
0

Our company has a legacy application (VB6) that uses Crystal Report Designer Runtime Library 10 to display/export reports created using Crystal Report 10.  That has been working fine for years.

 

Recently we are developing a web application which uses ASP.NET MVC to show those same reports. Both applications have to co-exist so we prefer as little changes to the reports or crystal report runtime library as possible. So we generated the Interop.craxdrt.dll through referencing the craxdrt.dll from Visual Studio and use it to manipulate the reports. The back end Service exports the report as pdf file and the client display the pdf file on the web page. It works fine if the report does NOT have any User Defined Functions. For those reports that have VB UFL fields, the WCF service crashes on report.Export(). I made a test program in Visual Studio 2008 that uses interop.craxdrt.dll to simply export the report as pdf and it also CRASHES on report.Export() for reports using VB UFL.

 

So my question is how to solve this with minimum change?  Thank you in advance.

 

-Susan

How to view HTML page source in CR2011 CrystalViewer

$
0
0

We are migrating from CR2008 SP3--> CR2011 (Unmanaged RAS SP5, OEM Edition 14.0.5.882)
We have JSP page which wraps the CrystalViewer output between a ReportMenu page

 

viewer.setOwnPage> FALSE Ensure that it is not generated with tags

response.setBufferSize(4096);
response.setContentType("text/html; charset=UTF-8");
Writer out = response.getWriter();
request.getRequestDispatcher("/webrpts/header.jsp").include(request,response);
viewer.processHttpRequest(request, response, servletContext,response.getWriter());

 

When we upgrade to CR2011, the viewer is showing the report in a BOX
if we right click view Source, the report content are not shown.
Is there any parameter to view the report source?
I tried to print the output using viewer.getHtmlContent(request, response, servletContext);
It does not output the Report Content....
I am attaching a document to show how it is output in CR2008 and CR2011
What is the difference between CR2008 and CR2011 Viewer?
Please help.

Crystal Reports PrintToPrinter - The process was terminated due to an unhandled exception

$
0
0

Hi,

 

I am having a real problem with Crystal Reports in an application built using Visual Studio 2013.

 

Sometimes (in fact nearly all the time, but not always) whenever I call PrintToPrinter, I get the following error:-

 

Framework Version: v4.0.30319

Description: The process was terminated due to an unhandled exception.

Exception Info: exception code c0000005, exception address 37A9D5DC


I have two projects that wrap the functionality, one a Windows Service and the other a Console application.


I will attach a sample of my code, but at the moment I am testing using the console application for testing and this error always terminates the application completely. I have added all sorts of exception handling to try and stop it terminating the app, but to deal with the exception gracefully. Nothing however works, it always terminates the application completely.


The strange thing is that this only happens when calling PrintToPrinter. If I use export functionality such as ExportToStream, everything is absolutely fine and I don't get any errors.


The application always works fine on my development machine as well printing to an Epson WF-3540, it just falls over when deployed to the live server.


The application is developed in Visual Studio 2013.

It uses .NET Framework 4.5.1.

The printer that we are printing to that causes the issue is an HP LaserJet P3010 Series PCL 6

All Crystal Reports For Visual Studio are patched to the latest versions on the live server (13.0.5.891)


I am at a complete loss and any help or guidance would be very much appreciated.


A sample of my code is attached


Many thanks in advance.


Simon

Lost a table connection - "Table could not be found"

$
0
0

I'm developing a  report (and have been working on it for over a month). Some sections are quite stable and have not been updated as I work on new sections. Yesterday I printed a copy of the report. Shortly after I printed it one of the sections that I had not been working on suddenly decided to fail. The structure is based on datasets which I fill with a getdata  process that is the same for all data object instances. It includes the name of the dataset object in code that will contain the data as well as the underlying defined dataset that lives in app_data.

 

When the report runs I have "test" statements that xmlwrite that dataset content to disk so I know what the contents should be when the report appears. I'm getting the xml output for this particular dataset, yet when Crystal is called to display the report it says it can't find the underlying object.

 

I've checked through all the data connections and everything looks fine on the .NET code side. As I said, data gets written to disk. Why would Crystal suddenly not be able to find my table?

rpt.ReportClientDocument.DatabaseController.SetTableLocation causes an exception

$
0
0

I've tried installing CR 2013 then CRforVS_13_0_8.exe and vice versa.

When rpt.ReportClientDocument.DatabaseController.SetTableLocation(table, updatedTable) is called, an exception is thrown, even when the value in table and updateTable are the same.

 

Any ideas?

Clamp Page Footer print problem

$
0
0

I am using Clamp Page Footer to suppress the blank spaces between details and the page footer.

 

But there is a problem when I print out the report.

The report is printed in the middle of the page (vertical center aligned) instead of printing from the top of the page.

 

I checked that this is supposed to be a bug that is fixed is SP3.

But I am using CR for VS2010SP8 and this bug still appears.

 

Am I using it wrong or the bug still exists?

 

Thanks

Kelvin


CR for vs2008 not connecting on Windows Server 2012R2

$
0
0

I have an application running on Windows Server 2008R2 which I urgently need to mirror on Windows Server 2012R2.

 

However, my crystal reports basic runtime for vs2008  version 10.5.1.0

and crystal reports basic runtime for vs2008(64) version 10.5.0.0  brings up the report but doesn't seem to connect to the

database  (it seems to be pulling in a null dataset)

What am I doing wrong?  [I tried opening all incoming ports, etc, etc]

This is the web.config line: 

<add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>

[changing this crashes the application]

 


Report have User and Password but in some pc's don't work

$
0
0

Hello,

we distribute a software created by us. There are clients and servers. The framework used is 4.0. We have made reports with crystal reports, all PCs on the network on which the client is installed, install the crystal modules (CRRuntime_32bit_13_0_2.msi) are properly configured to communicate with the server and SQL 2008 server to port 1433.

Because the software is installed on different networks, each time we configure the network and test everything and to pass username and password to the report execute the following code:

 

 

crConnectionInfo.ServerName = ServerDB             crConnectionInfo.DatabaseName = DBNAME             crConnectionInfo.UserID = dbuser             crConnectionInfo.Password = ChiaveDB             crDatabase = rpt.Database             crTables = crDatabase.Tables             For Each Table As CR.Table In crTables                 crTableInfo = Tabella.LogOnInfo                 crTableInfo.ConnectionInfo = crConnectionInfo                 Tabella.ApplyLogOnInfo (crTableInfo)             Next 

 

 

The software always works. The report, however, sometimes some pcs do not work. It opens a popup asking user and password ... even if we insert data printing fails. How so? the network is fully configured, the software communicates correctly, we can not understand what else can block communication.

 

 

Henry Cota

Could not load file or assembly 'log4net,

$
0
0

Hi!

I have an application which works fine on local host but gives me the below error when hosted on server. Have spent a lot of time cracking the same. Could anyone please help basis their experience.

 

Server Error in '/' Application.


Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.


Regards,

PD


Export to printer utf-8

$
0
0

Hi

 

I'm using VS 2008 to create invoice documents. It is intended that we can create PDF's (ExportToDisk (PDF)) en that we can print (ExportToPrinter)

 

The data is coming from an XML file with Encoding UTF-8.

 

When creating a PDF, no problem. All special charaters like Iñtërnâtiônàlizætiøn are correctly in the PDF.

 

However when exporting to printer, characters are printed incorrectly.

 

Printing the same text with notepad, print is correct.

 

Does anybody ran to the some problem??

 

Kind regards

 

Michel Jansen

Crystal Reports runtime engine for .NET Framework registry modifications

$
0
0

What specific keys can one search for in the registry to determine if this has been installed on a computer or not? I am creating an installer and I don't want the runtime msi sub-installation to execute if the runtime has been installed already as this causes an error.

 

thanks

Viewing all 2556 articles
Browse latest View live


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