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

Errrrror

$
0
0

crystaldecisions.crystalreports.engine.reportdocument' threw an exception


This is the message in my development system where I´ve not had any problems before.

In the runtime there is an added message-part saying the it can not find Net4log with public key token ...


The Net4log.dll was included in the distribution package and in the installation folder. Verified by scanning the registry.


Originally I had both 32- and 64-bit runtime installed but I removed the 64-bit.

CR for VS is of the version 13.0.8.


Any ideas what this is all about?


/Lear


Visual Studio - Crystal Report: Abnormal Behavior from Crystal Report with Charts

$
0
0

Hi,

I'm using Crystal Report 13 under visual studio 2012 where i build a report that contain pie chart and bar Chart in two different sections in the report header the report get the data from a DataTable.When i display the report in Crystal Report Viewer it is fine and as expected but when printing the report i get the first chart overriding the second chart: here the right report as displayed in CRV:


CRV Chart.png


And here the wrong print out where the pie chart is duplicate and override the bar chart:


CR ChartPO.png


I inserted both charts in two sections in Report header and they get the data from the same DataTable. the pie chart: On change of: Discipline show values SumTotals and the Bar Chart On Change of Disciplie show values SumTotals and SumCompleted. I need your help to prevent Pie chart form overriding the bar chart by duplicating itself

Thanks in advance.

Crystal runtime 13.0.5 64 bit Access Violation Errors

$
0
0

Dear Forum

 

We are using Crystal runtime 13.0.5 64 bit but we are receiving Access Violation Errors in our live environment which is a website hosted on Windows Server 2008 servers.

 

We are attempting to use the Windows Debug Diag 2.0 tool to find more data about the error.

 

The tool requires the Crystal symbol files:

WARNING - DebugDiag was not able to locate debug symbols for \crpe32.dll, so the information below may be incomplete.

In WER56C1.tmp.hdmp the assembly instruction at crpe32+3ac12f in C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win64_x64\crpe32.dll has caused an access violation exception (0xC0000005) when trying to read from memory location 0x00000000 on thread 54

 

I understand from reading the SAP web site and forums that these files are not publically available on your web sites

 

Please can these be provided so we can continue debugging this error.

 

With Kind Regards

 

 

Paul Marks

Is SAP Crystal Reports, dev version for VS2013 Available?

Where can I find a copy of the Crystal Report Print Control

$
0
0


Hello,

Our users have access to a report portal developed in house which uses the Crystal Report Viewer to display the Crystal Reports created in Visual Studio 2010. the first time they open the portal and try to print the report the loading dialog box that comes up keeps spinning and spinning. The reason for that is that they don't have admin rights to the computer. I would like a copy of the driver so We can push it out to their computers. Any idea where I can find a downloadable version?

 

Thank You

-Nelson Vasquez

Windows 8.1 Support of Crystal Reports 2008 .NET Runtime

$
0
0

Hi

Nearly 10 months ago, it was great pleasure that we got the .NET runtime package of Crystal Reports 2008 SP6 (CRRuntime_12_6_mlb.msi) with Windows 8 support .

But now we are again facing the problem that is similar to what it was:

Does the .NET runtime with SP6 (CRRuntime_12_6_mlb.msi) or SP7 (CRRuntime_12_7_mlb.msi) of Crystal Report 2008 support Windows 8.1 ?


 

Could anyone give us any information on that?

Thank you.


Support of Visual Studio 2013

Crystal report for vs 2012

$
0
0

Hi All,

I am new to formula creation;  my sql query is if role contains ceomd then full name where company id =99

 

I tried to create a formula as below

 

 

if db.roles like '%supply%' then

db.full_name (database field)

else

""

 

I tried to put full name on the report and clicked on suppress= formula but still

i.e. suppress if db.roles not '%supply%'

 

However it doesnt show me the result

Can you please tell me how to do it?

 

 

many thanks

 

antechv


CrystalReportViewer13 printing problems

$
0
0

Hi,

 

Recently I tried to upgrade my asp.net app that was using crystal report viewer 10 to 13 ..I have successfully deployed the ActiveX Control for printing on client machines. In client machines the preview windows looks perfect but when printing the problem comes up and in some devices (laser, injection printers)printings looks just fine and dot matrix devices it's looks reduced to half of the page.

 

Some thing I have noticed it's that the scaling options of printing dialog are disabled.

 

regards,

 

 

Kadel

which version of crystal reports for .NET 4.5

$
0
0

Hi,

 

We migrated our existing application from .NET 3.5 to .NET 4.5 and upgraded crystal runtime environment  from visual studio 2008 for visual studio 2012 by following these links

http://downloads.businessobjects.com/akdlm/crnetruntime/clickonce/CRRuntime_32bit_13_0_3.msi.

http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_5.exe

 

After this upgrade in the Application we are getting this error

 

Load report failed.

 

   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 SolutionSuite.WebApp.CrystalViewer.LoadReport(Boolean bRefresh)

   at SolutionSuite.WebApp.CrystalViewer.Page_Load(Object sender, EventArgs e)

   at System.Web.UI.Control.OnLoad(EventArgs e)

   at System.Web.UI.Control.LoadRecursive()

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

 

The maximum report processing jobs limit configured by your system administrator has been reached.

 

   at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)

   at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)

   at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()

 

The code in asp.net application is as follows

 

<CR:CRYSTALREPORTVIEWER id="crvMain"  HasPrintButton="False" HasExportButton="False" style="Z-INDEX: 100; LEFT: 8px; POSITION: absolute; TOP: 36px" runat="server"

  ToolPanelView="None" BorderColor="Transparent" BorderStyle="None" Height="50px"

  Width="350px" HasRefreshButton="True" HasCrystalLogo="False" HasToggleGroupTreeButton="False" meta:resourcekey="crvMainResource1"></CR:CRYSTALREPORTVIEWER>

 

 

Private m_oReportDocument As New ReportDocument

 

Private Sub LoadReport(ByVal bRefresh As Boolean)

 

 

     

 

 

        'Get the report data

        Dim dtReport As DataTable = ReportHelper.GetReportData(Me.CacheKey, bRefresh)

 

 

        'If there is data to display bind it to the Crystal Viewer

        If dtReport.Rows.Count > 0 Then

            With m_oReportDocument

                .Load(ReportHelper.GetReportPath(Me.ReportId))

                .SetDataSource(dtReport)

                .PrintOptions.PaperSize = Common.Settings.CrystalPaperSize

            End With

            crvMain.ReportSource = m_oReportDocument

        Else

    

        

        End If

 

 

    End Sub

 

 

    Protected Sub Page_Unload(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Unload

        m_oReportDocument.Dispose()

    End Sub

 

We reset the registry value PrintJobLimit from 75 to -1 and that did not resolve the problem. Do we need to buy the full crystal reports package in order to resolve this issue(If thats the case what version of Crystal Reports we need to buy) or there is some thing wrong in the code that's causing this problem because with .NET 3.5 we did not have this problem.

Support for Visual Studio 2013

$
0
0

Hi there,

 

I just installed a new system (VMWare, Windows 7 Ultimate) with Visual Studio Professional 2013. I registered the license as a Trial Version for 90 days.

 

Now I try to install CRforVS_13_0_7 that I downloaded today (oct. 18 2013) from the SAP website.

 

When running this exe as administrator, after accepting ACL, =Choosing Setup Language English, Windows installer pops up with a message box.

This message box has the title : SAP Crystal Reports, vesion for Microsoft Visual Stuido Setup

The text of the message is :

"You must already have Visual Studio 2010 or Visual Studio 2012 installed to proceed with this installation."

It only gives me the option OK.

When clicking the OK button, the installation is cancelled.

 

Does anyone know of a fix for this issue because I need CR Reports for Visual Studio and we have to migrate to Visual Studio 2013.

Crystal Reports -- Printing Issue

$
0
0

Hello all..

 

when i export report to pdf format., am seeing an unnecessary space between characters. please suggest how to avoid this!!

 

here is the screenshot.,

CR-05.png

Save Dynamic images in webfarm

$
0
0

Hi

 

I'm using Crystal reports for visual studio 2005, and when i deploy the reports the images are, SOMETIMES, showed as a red X. This because I have a 2 mirrored webservers, and when one server writes the dynamicimage to the temp catalogue the other server is trying to read from its c:/temp catalogue.

 

For example:

 

server1 writes the dynamic image to c:/temp in server1

server2 try to read the dynamic image from server2

 

MY QUESTION:

is there a way to tell crystal to write these images to file server like
myfileserver\crystaltemp (like a registry value, ini file, web.config, a workaround.........)??

 

 

 

Thanks in advance for helping me

 

I'm loosing my mind...

 

Edited by: janne Sossi on Sep 5, 2008 4:57 PM

 

Edited by: janne Sossi on Sep 5, 2008 4:58 PM

Working with DataGridViews

$
0
0

Hello there,

 

I'm new to CR and I have a quick question. I'm developing a system that uses a lot of DataGridViews for displaying data queried from database. So, here's my question: What would be the best way to:

 

1. Bind certain columns from a DataTable used to populate the DataGridView with certain objects in a SubReport  (Details section)? (Just a reminder: I'm not working with typed datasets).

 

Some time ago I used DevExpress Reports and I've gotten used to setting DataBindings of controls in Details section of a report. I suspect CR doesn't work that way...Any info would be appreciated.

 

Thank you

Crystal Reports for MS Visual studio report displays blank page using Win 2012 server, IIS8

$
0
0

Setup:

Crystal Reports for MS Visual studio reports with .Net web application has been deployed in IIS8 and OS is Windows 2012 Server Std 64 bit

Deployed .Net web application has been in Default web site and related to Application Pool (with Enable 32 bit Applications set to true)

Next Crystal Reports for MS VS runtime MSI (CRRuntime_32bit_13_0_8.msi) has been installed.

Crystal Reports for MS VS application is visible in Default Website, where .Net web application has been deployed.

Under Default Web Site folder aspnet_client > system_web > 4_0_30319 > crystalreportviewers13 (C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\crystalreportviewers13) is present.

.Net Framework 4.5 has been used.

 

Issue:

Report Viewer page displays blank page when browsed using deployed .Net web application.

While browsing using Firefox, error "ReferenceError: bobj is not defined" is displayed in Tools > Web Developer >Error Console.

 

I have tried out solution given in forum (How do I resolve  “'bobj' is undefined” issue?), but not able to resolve it.

 

Even with sample web application with Crystal viewer with same setup described above, it displays blank page.

 

Please let me know how to resolve this issue?

 

--Jagannath PS


Million+ views - SAP Crystal Reports, developer version for MS VS: Updates & Runtime Downloads

Crystal Reports and Visual Studio when deploying

$
0
0

Hello,

 

I´ve been searching for these problem for a while with no luck. I've already try many things.

 

The thing is that I'm not able to make work any report when deploying (Windows Server 2012). Everything works fine when I try on my local machine.

 

I have Visual Studio 2012 and I've installed CRforVS_13_0_5.

 

This is my code:

 

            ReportDocument myCrystalReport;

            myCrystalReport = new ReportDocument();

            myCrystalReport.Load(Server.MapPath("~/Reports/report2.rpt"));

            CrystalReportViewer1.ReportSource = myCrystalReport;

            CrystalReportViewer1.RefreshReport();

 

 

I've pasted the error below:

 

Server Error in '/' Application.


Unknown error 0x80040200

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: Unknown error 0x80040200

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace:

[COMException (0x80004005): Unknown error 0x80040200] 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: No se ha podido cargar el informe.] 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 MMN.Reports.prueba1.Page_Load(Object sender, EventArgs e) +97 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51 System.Web.UI.Control.OnLoad(EventArgs e) +92 System.Web.UI.Control.LoadRecursive() +54 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772 



Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18408


I'd really appreciate any help.


Many thanks.

ConnectionInfo using 'COM Connectivity' in C#

$
0
0

I need to connect to a DLL using 'COM Connectivity" and a function to provide data for my crystal report in c#,

 

I have one report that gets populated via a database:

 

// DATABASE via ODBC-DSN

TableLogOnInfo tblLoginInfo = tbl.LogOnInfo;

tblLoginInfo.ConnectionInfo.ServerName = dsn;

blLoginInfo.ConnectionInfo.UserID = username;

tblLoginInfo.ConnectionInfo.Password = pw;

tbl.ApplyLogOnInfo(tblLoginInfo);

tbl.Location = db + "." + tbl.Name;

// this works great

 

 

 

I have another crystal report that is populated by COM Connectivity

 

// COM

TableLogOnInfo tblLoginInfo = tbl.LogOnInfo;

tblLoginInfo.ConnectionInfo.ServerName = "myclassname";

tblLoginInfo.ConnectionInfo.Type = ConnectionInfoType.CRQE;

// tbl.Location = ??

// this doesn't work. The report generated is empty/corrupted, but it gives no error

 

Thank you for your help,

Tammy

Windows 8.1 Support of Crystal Reports 2008 .NET Runtime

$
0
0

Hi

Nearly 10 months ago, it was great pleasure that we got the .NET runtime package of Crystal Reports 2008 SP6 (CRRuntime_12_6_mlb.msi) with Windows 8 support .

But now we are again facing the problem that is similar to what it was:

Does the .NET runtime with SP6 (CRRuntime_12_6_mlb.msi) or SP7 (CRRuntime_12_7_mlb.msi) of Crystal Report 2008 support Windows 8.1 ?


 

Could anyone give us any information on that?

Thank you.


Crystal Reports Viewer - Crashes Random

$
0
0

Hi,

 

We have a WPF application (browser based), we are using crystal reports to display the reports.

 

The viewer crashes (Please refer to the attached screenshot) randomly, the report works fine other wise. Once it shows the attached screen shot, need to close the application and open again, then the report works.

 

Any suggestions will be appreciated.

 

Regards,

Sathya

Viewing all 3636 articles
Browse latest View live