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

Problem loading CrystalDecisions.CrystalReports.Engine.dll from the Runtime installation

$
0
0

I had used the software installed with the 30 day trial to create a C++/CLI wrapper for our C application to print reports. I've uninstalled the full product, installed the Crystal Reports 2008 SP5 runtimes. Now when I try to add back the CrystalDecisions.CrystalReports.Engine resource, it does not show up in the ".NET" tab for the resource tool in VS and when I try to connect to the DLL in the "Browse" tab by going to C:\Windows\assembly, it won't load from there either.

 

I've done searches for the CrystalDecisions.CrystalReports.Engine.dll on my system and the only location for this dll is in the C:\Windows\assembly folder. Nothing was placed back under the C:\Program Files (x86)\Business Objects\Common\4.0\managed\dotnet2 folder where it was placed from the full install.

 

How do I correct this so that I can move forward?


When SAP will support VS 2013 With Crystal Report

$
0
0

When SAP will support VS 2013 With Crystal Report?

 

Can we get a date ????

Crystal Crashing when many users

$
0
0

Hello,

 

I am having an issue with the code below:

 

            try

            {

                crystalReport.Load(rptFilePath);

            }

            catch (Exception ex)

            {

                return("Error Loading Crystal RPT File (" + rptFilePath + "): " + ex.Message);

            }

 

 

It works fine usually, but when I get many users trying to run a report at same time I get an Exception:

 

"Load report failed".

 

Furthermore once I get this exception it looks like no other users can run reports (as if the report component crashed).

I have to either reboot IIS or wait some time and it looks like the Crystal Component recovers on it's own.

 

I was warned that by using this free Crystal VS Component, I can only have max of 4 concurrent users calling it at the same time.

Is that the correct number about 4???

 

So I understand it is giving errors under heavy usage.

But it seems that t is also crashing after the first heavy usage and then no longer works after that.

Is there a way to make it recover without rebooting IIS or waiting a long time?

 

Thanks,

Yury

Crystal Reports for VS SP 8 inside VirtualBox

$
0
0

Hi,

 

I'm running my development environment in a VirtualBox VM with Windows 7 and VS 2012. For some reason the reports do not display properly in design time and runtime inside the VM but display properly on a regular workstation.

 

At design time the font display it not the same as the font and size chosen.  In design time, when I double click the the field and enter edit mode the font display change but still not the chosen font. As soon as I leave the font and size change back to some strange font.  I'm using the Arial font.

 

In runtime inside the VM, the font and size display is better but still a bit bigger than selected.

 

When I install my application on a workstation not inside a VM the runtime report is displayed correctly.

 

Any idea?

Not able to run application on server 2008 r2

$
0
0


I have been trying to move applicatios from server 2003 to 2008 r2 and I am still having issues, application containing CR will not work.

 

I am trying to understand what I need to do and what software pieces I need to have installed.  The applications have all embedded crystal reports referencing XI (which I have been told is no longer supported). I have attached some screen shots of current set up etc.

 

It was suggested to me to get CR2008 but I heard 2008 will not be supported much longer, is that correct? If I install 2008 will I use a different reference in my application instead of 11.5.3700.0 ? What needs to be installed on the 2008 server and what will the IIS setting be (running as 32 bit)?

 

I have been working on this issue for a couple of weeks and it is still not clear to me what path I need to take. Hope someone can explain to me again please. Thank you.

Error when printing CrystalReportsViewer

$
0
0

Tengo una aplicación hecha en WPF y aplicar el CrystalReportsViewer para mostrar mis informes cargan normalmente pero al imprimir me sale este error "El objeto que acepta valores Null debe tener un valor." Tengo los 8 actualiazciones paquete publicados por la savia e incluso intento versiones inferiores, pero el error persiste. si pudiera guiarme alguin con él de todo corazón gracias que yo estoy en problemas con mis jefes al respecto.

 

Sin título.png

Crystal Report Windows Forms Viewer - No Error Popup

$
0
0

Similar to this post:  Error message that says "No Error" from CR Viewer, I have just upgraded by Application to .net 4.0 and Crystal Reports 2010. The report viewer works fine the first time a report is loaded, but when I change the parameters on the report, and put the updated report back into the report viewer, I get the message shown above.  The report does not change its parameters and the updated report is not displayed.  The code in question is setting the date parameters for the report.  The user can select new date parameters from the form that encloses the report viewer.  The code subclasses the Report Object code to add additional functions through interfaces.  The IDateRange interface provides a starting and ending date range for the report using a property on the report class as follows:

 

    Public Property EndingDate() As Date Implements IDateRange.EndingDate

        Get

            Return _endingDate

        End Get

        Set(ByVal value As Date)

            _endingDate = value

            Me.SetParameterValue("EndingDate", value)

        End Set

    End Property

 

In addition, the immediate Window shows the following message:

A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in CrystalDecisions.CrystalReports.Engine.dll

 

The code in the Report Viewer looks like this, see line marked in blue for when pop-up appears:

 

''' <summary>
''' Sets the report period and displays it.
''' </summary>
''' <param name="Report">The Report.</param>
''' <param name="Refresh">if set to <c>true</c> force a refresh.</param>
Private Function PFSetReportPeriod(ByVal Report As Object, Optional ByVal Refresh As Boolean = True) As Boolean
    Dim fld As FormulaFieldDefinition
    Dim bRefresh As Boolean = False
    Dim rpt As ReportClass = CType(Report, ReportClass)
    Try
        If CRV.ReportSource IsNot Nothing Then
            rpt = CType(CRV.ReportSource, ReportClass)
        End If

 

If TypeOf rpt Is IDateRange Then
    With DirectCast(rpt, IDateRange)
.        StartingDate = dtpFromDate.Value
.        EndingDate = dtpToDate.Value
    End With
    SetTitleLine2(DirectCast(Report, ReportClass), bRefresh)
    bRefresh = True
Else
    If TypeOf rpt Is ReportClass Then
       fld = rpt.DataDefinition.FormulaFields("FromDate")
       If Not fld Is Nothing Then
            fld.Text = "Date(" & dtpFromDate.Value.Year & "," & dtpFromDate.Value.Month & "," & dtpFromDate.Value.Day & ")"
            bRefresh = True
        End If
        fld = rpt.DataDefinition.FormulaFields("ToDate")
        If Not fld Is Nothing Then
            fld.Text = "Date(" & dtpToDate.Value.Year & "," & dtpToDate.Value.Month & "," & dtpToDate.Value.Day & ")"
            bRefresh = True
        End If
        SetTitleLine2(rpt, bRefresh)
    End If
End If

 

    If Refresh And bRefresh Then
        If dtpToDate.Value <> CDate(dtpToDate.Tag) OrElse _
           dtpFromDate.Value <> CDate(dtpFromDate.Tag) Then
                System.Windows.Forms.Application.DoEvents()
            If CRV.Visible Then CRV.ReportSource = rpt ' The popup appears when this statement is executed.
            If CRV.Visible = True Then CRV.Refresh()
            dtpToDate.Tag = dtpToDate.Value
            dtpFromDate.Tag = dtpFromDate.Value
           Return True
        End If
    End If
Catch ex As Exception
    DisplayException(ex)
End Try
Return False

End Function

navigation buttons in crystal report viwer does not works fine

$
0
0

I viewed report with 8 pages  page number 1 appeared ,when i navigate to next page the viewer go to page number 2 ,then press next page the viewer still view page number 2 ,and does not go to page number 3 and so on

but when i writ page number 3 or 4 or 5 .... 8 then press enter the viewer view the entered page successfully

is that any way to solve this issue


Crystal Report Label Won't Send To Zebra

$
0
0

I created a barcode label in crystal reports and imported it to our SAP Business One software. The label prints fine if I select a laserjet printer, but doesn't do anything when I select our Zebra label printer. Is there any special that has to be done to get it to send to a Zebra printer? I does nothing right now.

when we have a new version for visual studio 2013?

$
0
0

when we have a new version for visual studio 2013?

Crystal Reports Hangs on .Load event

$
0
0

Hi ,

 

We are using CR 2011 on Windows environment (2008 R2) and  run the following workflow.

 

1. We have created a rpt with 9 sub reports.

2. We would like to print the port to a particular printer and hence have set the flag <NO Printer> on the report

3. The application is a windows based application and not a web based application.

4. We have tested the report by launching the report and printing it on the desired printer.

5. We have a windows service that executes the code of reading the report and printing it out as a pdf / printer.

6. Step 4 is an event based activity that occurs as frequently as every 2 minutes.

7. The database is Oracle 11g

 

PROBLEM:

 

1. Generally all runs well, however once / twice a day the report hangs.

2. We have created a dump file and observed that the hang occurs on .LOAD event.

3. We are using the .LOAD with a single parameter that of the report name.

4. We also observed that the spooler service hangs

5. We are disposing the report immediately after printing it.

 

After the problem occurs we are forced to start the windows service and the printer spooler service.

 

Solutions tried so far:

 

1. Changing the No Printer flag did not give any results.

2. We have created a job that restarts the windows service and the spooler service after a period of 30 mins. - This has minimized the occurances but not eliminated the problem.

 

Pseudo code:

 

ReportDocument CR = new ReportDocument()

 

CR.Load(<report file name);

 

//Set Main data Source

CR.Database.Tables[0].SetDataSource(ADODB.Recordset)

 

//set sub reports

CR.Subreports[<Index>].Database.Tables[0].SetDataSource(data table)

 

//here it prints on default printer or the set printer. (Printer s are UNC printers, however we register them - they are visible as local printers on the given machine -  locally before printing)

 

CR.PrintToPrinter(noOfCopies, false, fromPage, toPage);

 

CR.Close()

CR.Dispose()

 

IF required we can also provide the rpt file and any other details.

 

Our customers are really suffering cause of this and any help would be really appreciated.

 

Thanks

 

Anil

Migrating from VS 2005, how hard is it?

$
0
0

Hello, I have some applications that were made with visual studio 2005 and use extensively CR reports forms.

First question:

What does it means that VS 2013 is not supported?

     - The aplications will not compile?

     - I can't create new forms?

     - will I have have to use VS 2012 until 2013 is supported?

 

Second question:

    Will I need to do many changes in each report or CR 2010 for VS Studio is backwards compatible?

 

Regards

 

Gerardo Huerta

Report gets hidden by crystal class

$
0
0

Hello guys

I am using crystal reports 2008 in vs 2012, i have also just downloaded viewer13

 

my report gets hidden by a div created by crystalstyle class on loading,  when i use developer tools and remove the inline style reports shows okay

any idea what could be causing this??

Help with Printing a Crystal report from Visual Basic

$
0
0

I have some Visual Basic logic that was used with IFIX 3.5 and an older version of Crystal Reports (not sure which one)

 

I have now upgraded to IFIX 5.5 and Crystal Reports XI, and when i try to run the below code, it cannot find the "CrystalReport"..  I think i am missing a reference library or plugin, but there are over 75 librarys and plugins to chose from.  Is there a list with explanations of each one so I can see what each one does?

 

Current Code:

 

Dim rptHOURLY85 As New CrystalReport

     rptHOURLY85.ReportFileName ="C:\Program Files\Proficy\Proficy iFIX\APP\HOURLY85.rpt"

     rptHOURLY85.RetrieveDataFiles

     rptHOURLY85.Destination = crptToPrinter

     rptHOURLY85.PrintReport

     Set rptHOURLY85 = Nothing

 

 

I would also like to modify this to print to a PDF file instead of to a printer.  But I think I could figure it out if I had explanations of all the libraries and Plugins

 

Thanks for the help

John

An error has occurred while attempting to load the Crystal Reports Runtime

$
0
0

I try to compile my VS 2008 application on a Windows 7
machine and run Crystal reports. However, they will not run.

 

 

I get the following message:

 

 

 

 

 

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) that contains the version of the Crystal
Reports runtime (x86, x64, or Itanlum) that is required. Please go to http://www.businessobjects.com/support
for more information.


Vs2008 Win7(64 bit)an error has occurred while attempting to load the crystal reports runtime

$
0
0

HI,

I am working on win7(64 bit) operating system I have installed following components on machine

VS2008(pro) licensed.

CR2008Sp3

Following are the installed programs

Crystal report runtimesp3 12.3.0.601

Crystal report basic for VS2008 10.5.0.0

Crystal report basic runtime  for VS2008 10.5.0.0

Crystal report basic runtime  for VS2008(64) 10.5.0.0

 

I am getting the following error on runtime

 

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

 

 

Please let me know what else I need to view my crystal report.

Changed Datasource Location programmatically And Saved

$
0
0

Hi Dear All.


We received many crystal reports from the vendor each with many
subreports.
Now I need to point these reports to our production server and
database. To open each report and point to the new ODBC
and then save the report will be very time consuming due to the # of
views and tables used by the subreports.


There has to be a way to do it programmatically in VB.net. The code
would open the reports change the datasource location and save it.

Crystal 8.5

Does any body have any ideas or tips.

 

Thanks,
FMM

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.

Facing error on exporting to PDF, using crystal Report version 13.0.7.113.6

$
0
0

Error.pngHi,

 

We have migrated from crystal report verion 9 to crystal report 13.0.7.113.6 here when generating a report in Pdf its throwing out the following error in a pop up "WebDev.WebServer40.exe has stopped working" and closing of my application screen .
Can any one help me out please.

Please see to the above image atached.

 

Below are the details of error occured which were found in event log as application error:

 

Faulting application name:
WebDev.WebServer40.exe, version: 11.0.50727.1, time stamp: 0x5011ca7e

Faulting module name: crpe32.dll, version:
13.0.7.1136, time stamp: 0x523982a6

Exception code: 0xc0000005

Fault offset: 0x00337bb2

Faulting process id: 0x20b0

Faulting application start time:
0x01cf3874ebf5a454

Faulting application path: C:\Program
Files\Common Files\Microsoft Shared\DevServer\11.0\WebDev.WebServer40.exe
 

Faulting module path: C:\Program Files\SAP
BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP
BusinessObjects Enterprise XI 4.0\win32_x86\crpe32.dll

Report
Id: a68ed614-a468-11e3-9011-f04da231bc7a

 

Thanks in advance

 

Regards,

Praseeda

License and Maximum Report Processing Jobs Limit error how to overcome

$
0
0

HI,

 

 

I am using Crystal Reports  XI  Release 2.  .Net 2010 c# web forms and published  IIS7  windows serer 2008 . everyday i  am getting the above error and i have tried to close and dispose the objects , but some  its not working correctly and when i am checking the temp folder i can see  the reports which is not disposed. as soon as i restarted the iis its working , how i can overcome the challenges .

 

if anybody can help this matter i will be very obliged.

 

Attached the aspx pages

 

Message was edited by: Ludek Uher

Viewing all 3636 articles
Browse latest View live


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