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

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 ????


CRRedist2005_x86

$
0
0

Hi

Wish to check if CRRedist2005_x86 is a freeware if not then what license is to be procured.

Regards

Please Help - Need to get Legacy DBF/FPT files accessible in rpt from .net

$
0
0

Hi there

 

We are in the processs of moving from a win32 programming language a .net language and my problem is that we have thousands of .rpt's created using xbase DBF/FPT/CDX style databases.  In our current system our crystal insterfce uses crdb_p2bxbse.dll to load the dbf's into the reports.  We can get reports to run from .net when the DBF file has no FPT - but as soon as an FPT is added to the DBF structure - then it errors and wont load the database. I am not sure why the .net version lets us use a DBF without and FPT only - I would of thought if the DBF was accessible then it would of been able to opne the DBF with and FPT attached to it as well as it worked in the current versoin we use (XI)

 

I am aware that this driver is being moved to legacy mode - but is there any way I can get this working from .net using any version or equivalent interface? I dont need it to be a current driver file - just the last working version would be fine?

 

Any help on this matter will be greatly appreciated as the number of reports we have in our library is very large and we may look at moving databases one day - but we need to get moved to .net with the current DBF/FPT structures as a first step into .net.

 

thanks in advance

Trevor

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 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

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 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

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?

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

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

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.

Report slow to open in Crystal

$
0
0

Some of my reports are very slow to open in Crystal Reports 2011. It can take up to a minute for a report to open.

 

Once the report opens, generating data is quick.

 

Consequently reports are slow to open in the Crystal viewer within my application as well.

 

It does not happen with all reports, any suggestions as to the cause or some solutions to try.

 

Thank you

 

Luke.

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

Why am I being asked to log on to my database?

$
0
0

Hi,

 

I have written a winforms application over a year ago. When I did, I used CR for VS. I had no problems creating reports. I have started a new application, and am having problems running a report.

 

I can design the report with no problems, but when I run the program, I get

 

CR Login.jpg

My database does not need credentials. I get this in the IDE. I originally got this using VS 2012 with CRforVS_13_0_8. I tried it on another machine with VS 2010 and CRforVS_13_0_7, and got the same thing.

 

Am I forgetting to do something? Both machines are running Windows 8.

 

Thanks,

 

Dotty


Crystal Reports 2013 - Code 39 Barcode

$
0
0

Hello,

I'm getting an error when I try to convert a field to a barcode using CR 2013. I'm using the code provided by:

http://www.azalea.com/crystal-reports-custom-functions/code-39/

 

But when I try to run and view the report through the Crystal Report Windows Form Viewer, I get the error attached in the image.

 

I do not get this error when previewing the report in CR 2013 itself.

 

Any suggestions?

 

Thanks,

On Demand sub report not printing in IE and Other Browsers

$
0
0

Hi All,

 

We have developed Crystal report for our web application with version 13.0 and Visual Studio 2010.

 

When we run our web app in IIS report display fine in All web browser and when we print report in ActiveX mode in IE 9+ for main report it prints fine but if we print on demand sub report it not printing even a single page out of 2 or more than 2 page.

 

If on demand sub report has only one page then it will print in IE 9+  browser.

 

Even If we click on Export button on demand sub report easily export to pdf or any formate the issue while we print it.

 

It going to hanged while we print on demand sub report with more than one page.

 

Please help in this issue.

Also  please let me know if you want more detail.

CR on demand sub report goes hang in IE

$
0
0

Dear All,

 

We have developed CR reports with on demand Sub report. it display data by click on link of main report.

 

1) CR version - "13.0.2000.0"

2) Web Browser - Any

3) Visual Studio - 2010.

4) Application type - Web App.

5) CR viewer Printmode - ActiveX

6) Print main report with link of on demand sub report (In any web browser) - Yes

7) Print on demand Sub report with single page in IE - Yes

8) Export Main report to PDF (In any web browser) - Yes

9) Export On demand sub report to PDF (In any web browser) - Yes

10) IE version - 8+

 

Problem:-

1) CR display proper data in web browser for main report and on demand sub report but while we click on print button and print the on demand sub report with more than 1 page in IE the print dialog goes hang.

2) The funny thing is if on demand sub report has only single page data then it print good and fast but when it has more than 1 page of data then it goes hang in IE.

3) The Firefox prints on demand sub report with all pages fast but with junk data which for no use.

 

Please find attached screen shot for more details.

 

 

Thanks and Regards,

Nikunj Polara

Crystal Report .NET in Visual Studio

$
0
0

We have some technical question about Crystal Report .NET, which is very important for us. Hope you are able to answer our questions as soon as possible…    For years we have been using RDC (Crystal Report Designer Component) in our classic asp web solution. It has been working for years, but is now a product that you don’t support anymore. Over the past few years we have converted many parts of our solution to ASP.NET, and that is also the way we are going in the future. So soon we will have no more classic asp pages in our solution.   Recently we have implemented SAP Crystal Report .NET, which is intended to replace the older technology : RDC (Crystal Report Designer Component). Link to runtime package for SAP Crystal Report .NET : http://scn.sap.com/docs/DOC-7824   After a week testing at 2 of our customers, we have ran into problems. Unfortunality SAP Crystal Report .NET has some serious limitations. Apparently Crystal Report .NET has the limitation of 3 CPL (Concurrent Processor Licensed) at a time, the rest are queued. Also the maximum of 75 print jobs. (according to the following answer from one of your employee, : http://scn.sap.com/thread/3498022 )   Is there any way to avoid the limitation of 3 concurrent processes? RDC has been working fine at many of our customers, but we can’t find that there are any such limitations or are there the same limitations in RDC?   Is SAP Crystal Report .NET even slower and less scalable than the older technology RDC (Crystal Report Designer Component) ?   What are our options of scalability for a solution in ASP.NET, because some of our customers with own servers have many users? We found a post on a newsgroup that suggest Crystal Report Server. Is that the same code as SAP Crystal Report .NET? or is it completely different?   Sincerely

Trying to modify text of charts in a report causes an exception throw ...

$
0
0

Trying to modify text of charts in a report causes an exception throw ... Enclosed is a short C# program that loads three reports, each having a chart which I'm trying to change the titles of. One succeeds, another throws a NullReferenceException and the third throws a COMException. I would like to know what caused the errors.

Viewing all 2556 articles
Browse latest View live


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