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

Cannot create a top-level child window

$
0
0

Dear Experts,

I have two issues.

I'm working in WPF browse application with framework 4.5 and using VB script as well as I'm using sap crystal report

1.  when I rebuilt project then I'm getting a Warning

Warning 1 Referenced assembly 'C:\Windows\assembly\GAC_64\log4net\1.2.10.0__692fbea5521e1304\log4net.dll' targets a different processor than the application. Ocean

------------------

2. is, I have created two crystal report in WPF Application  A. rptproductlist, B. rptHeader

I have insert rptHeader as subreport into rptproductlist in Report header section (Report is viewing fine)

after viewed the report when enter mouse or move mouse in subreport area then getting an error

Please guide me what is wrong with this

 

Thanks & Regards

Manoj Patel


Getting Exception: Missing parameter values

$
0
0

hi,

 

Can any one help me on this below exception.

 

Getting Exception: Missing parameter values,

 

After fetching values from the dataset and on exporting the crystal report to PDF.

The application has been migrated from VS 2003 to VS 2012 using CR 13.0.5.

Even after passing parameters.

Unknown Database Connector Error using Crystal Report XI with Windows 7

$
0
0

My current configuration is:

 

Windows XP Professional

Crystal Reports XI Professional

Oracle Client 10g

 

This is working great, however we are switching to Windows 7 Professional and I need to get this same configuration working on the new machines.

 

I have loaded Windows 7 Professional and Oracle Client 10g.  Oracle makes the data connection without any problems.  I loaded Crystal Reports XI Professional, but it will not connect to the Oracle database.  It keeps giving me the Unknown Database Connector error.  Can anyone assist me with this problem?  This is the final software package that is holding up the project. 

 

Thanks

Crystal Reports for VS2010 - Every other record is being skipped

$
0
0

What causes every other record to be skipped with a Crystal Report? I set up my report to point to a custom calss object to provide the field structure, etc. I am setting my datasource at runtime against my report and prior to loading the report I looked at my DataTable I am using to populate the report with. While debugging the application I looked at the query results from the database and the record count shows 2700+ records. However, when my report renders I only get half of that information to display on the report. So, I did some investigation and thought maybe it was a null value issue or something along those lines. When I delved into it deeper and looked at the report output vs. what I am expecting the report is actually skipping every other record. Is this a known issue and if so is there a work around for it? I'm new to Crystal Reports so I am beside myself on this one as it does not make sense to me why records would be skipped.

 

As a test I also used a LINQ query to extract my data from the DataTable I created into a LIST<T> of the Custom Class Object I set the report up with at design time. I can confirm that even using a LINQ query as the datasource and the DataTable shows me that all expected data from the database is present. Also, I have confirmed that with even using LINQ to supply the data source to my report the report skips every other record.

 

I have no selection criteria, grouping, etc defined on the report. It's a straight forward retireve the data and dump it into the report. So I am really at a loss here.

 

Any assistance is appreciated.

 

Thank you.

Are there known issues with Crystal 2008 Runtime SP5?

$
0
0

After upgrading to Crystal 2008 Runtime SP5 (12.5.0.1190) some reports began failing to render. We found that all the reports that failed to render were being passes multiple active data tables as main table which were being joined within the RPT file. Downgrading back to SP2 (12.0.0.840) got them to work properly again. Has anyone else reported this issue. I have an example RPT file which renders with SP2 but not SP5.

WPF Viewer crashes application when click on print toolbar button

$
0
0

Hi,

 

I get the WPF viewer crashes my applications when i click on the print button (cr toolbar) right after open the report.

I use CR 13.0.7 with Visual Studio 2010.

 

 

Beschreibung:

  Stopped working

 

Problemsignatur:

  Problemereignisname:    CLR20r3

  Problemsignatur 01:    ew.exe

  Problemsignatur 02:    5.9.0.0

  Problemsignatur 03:    52550735

  Problemsignatur 04:    SAPBusinessObjects.WPF.Viewer

  Problemsignatur 05:    13.0.7.1136

  Problemsignatur 06:    523993aa

  Problemsignatur 07:    547

  Problemsignatur 08:    0

  Problemsignatur 09:    System.NullReferenceException

  Betriebsystemversion:    6.0.6002.2.2.0.272.7

  Gebietsschema-ID:    1031

 

 

I need help!

 

André

u25samp1.dll missing

$
0
0

Now that I finally have my report showing up, I am getting an error that u25samp1.dll is missing.  I have looked in the folders C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86 and win64_x64.  It is not in either location, on either my development machine, or my test machine.  Where can I get this dll?

Operation not yet implemented error in VS2008 when export to PDF

$
0
0

I am receiving the error "Operation not yet implemented" on VS2008 Server 2003 when trying to export to pdf. It seems to me the issue is with my custom fonts as when i use the system fonts, like Arial, the code works fine. I am using "ADVC128E" and "ADVC39D" fonts for barcodes on my report.


Please let me know how I can resolve this issue.


Error:

CrystalDecisions.CrystalReports.Engine.InternalException: Error in File C:\DOCUME~1\rpsharma\LOCALS~1\Temp\ITT_Label {FE2228E3-6C8B-4BDD-BB2F-7932F8FD092C}.rpt:

Operation not yet implemented.


Could not load file or assembly 'log4net, Version=1.2.10.0 on developer machine

$
0
0

I know that you get tired of answering this question, but I can't find the answer to my problem anywhere.  I am running Windows 7 64 bit, with Visual Studio 2012.  I have installed http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0_7.exe.  I have developed my program and my report.  Now, when I try to execute the program, in debugging mode, on my developer computer, by pressing the F5 key (or equivalent), I get an error "

The type initializer for 'CrystalDecisions.Shared.SharedUtils' threw an exception. Source=Project Status Report."  Looking down the stack trace I get the familiar error about unable to load the log4net file, that it can't find the file.  I should add that this is not a web application, but a Windows application.  I have tried cleaning my project, making sure that log4net isn't installed anywhere in my bin folder, copying log4net (32 bit) to the C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet folder, compiling 64 bit, compiling 32 bit.  Nothing seems to affect this problem.  What else can I do to fix this?


Crystal report cannot export in pdf format (crxf_pdf.dll!41d90c37)

$
0
0

Hi All,

 

I met a weird issue about exporting a crystal report to pdf.

In Visual Studio 2010 (framework 4.0), crystal report version is 13. I ran the project in debug mode in VS2010, and passed the following parameters,

start_date (2010-01-01), end_date (2013-11-30), locations ( 0261, 0272,0273,0277) and LocationsType=3.

I could get pdf report on web page successfully.  So far so good!

 

However, when I setup a website with IIS(7.5) on my windows 7 machine (32 bits) and publish project there.

If I only select one location ( ex. 0261), the other parameters are the same, I can get pdf report on web page successfully.

But if selecting more than one location, such as (0261,0272), then I cannot get pdf report. It pops up an error message "Unhandled exception at 0x41d90c37 in w3wp.exe: 0xC000000FD: Stack overflow." and "Call stach location: crxf_pdf.dll!41d9037()".

 

here I used the same database, same crystal report templates. 

I have also tried to publish the website on Windows server 2003, and got the same issue as my local IIS. When submit more than one locations, there is no response and no pdf report generated.

 

Could anyone please take a look at my question?  I appreciate in advance.

 

Michael Lu

Cannot install Crystal Reports on Windows 7 "Cannot open package/CRRuntime_64bit_13_0_7.msi"

$
0
0

Hi,

 

I am new to this community.  I have downloaded Crystal Reports with service pack 7 and regardless of what I download I get the following errors upon extraction:

 

Extracting package/1049.mst

Extracting package/2052.mst

Extracting package/3082.mst

Extracting package/CRRuntime_64bit_13_0_7.msi

Cannot open package/CRRuntime_64bit_13_0_7.msi

Extracting package/CrystalReportsForVisualStudio.msi

Cannot open package/CrystalReportsForVisualStudio.msi

Extracting ProductId.txt

Extracting setup.exe

Extracting setup.ini

 

 

I am running on Windows 7, as an administrator.  I am not getting error 2753.  Please help!

Database name is not being changed

$
0
0

I am trying to make changes to the report that is in production by making a copy and connecting to development database. When i try to set the database login info dynamically using vb.net the report still connects to the production.

 

Dim cr As New crptInvoice()        Dim crtableLogoninfos As New TableLogOnInfos        Dim crtableLogoninfo As New TableLogOnInfo        Dim crConnectionInfo As New ConnectionInfo        Dim crTables As Tables        Dim crTable As Table        'Get database connection info        With crConnectionInfo            .ServerName = My.Settings.DevConnectionString.Split(";")(0).Split("=")(1)            .DatabaseName = My.Settings.DevConnectionString.Split(";")(1).Split("=")(1)            .UserID = My.Settings.DevConnectionString.Split(";")(3).Split("=")(1)            .Password = My.Settings.DevConnectionString.Split(";")(4).Split("=")(1)        End With        'Set database connection for all tables in report        crTables = cr.Database.Tables        For Each crTable In crTables            crtableLogoninfo = crTable.LogOnInfo            crtableLogoninfo.ConnectionInfo = crConnectionInfo            crTable.ApplyLogOnInfo(crtableLogoninfo)        Next        ' Loop through each section and find report objects          Dim crReportobjects As ReportObjects, crSubReportobject As SubreportObject, subReportDocument As ReportDocument        Dim crDatabase As Database        Dim crSections As Sections = cr.ReportDefinition.Sections        For Each crSection As Section In crSections            crReportobjects = crSection.ReportObjects            For Each crReportobject As ReportObject In crReportobjects                If crReportobject.Kind = ReportObjectKind.SubreportObject Then                    ' If a subreport is found cast as subreportobject                                            crSubReportobject = CType(crReportobject, SubreportObject)                    ' Open the sub report                                            subReportDocument = crSubReportobject.OpenSubreport(crSubReportobject.SubreportName)                    crDatabase = subReportDocument.Database                    crTables = crDatabase.Tables                    ' Loop through each table in the sub report and set the connection info                                            For Each crTable In crTables                        crtableLogoninfo = crTable.LogOnInfo                        crtableLogoninfo.ConnectionInfo = crConnectionInfo                        crTable.ApplyLogOnInfo(crtableLogoninfo)                    Next                End If            Next        Next

The report still connects to ProdDB rather than DevDB. What am i doing wrong? This used to work with VS2008 and after the upgrade to VS2012. Its not working.

Cannot print or export PDF from Crystal Web Viewer 13.0.6

$
0
0

I'm trying to implement a reporting system for our ASP.NET web app, and I've managed to build and display the reports nicely, but cannot get printing or export to work at all with IE8. I've tested it in IE10 and it appears to work fine

- if using PrintMode="Pdf" then the application complains that "Cannot download mypage.aspx from <mywebsite>. Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found."

- if using PrintMode="ActiveX" then I'm getting "An communication error occurred. Printing will be stopped"

I'm using IIS6 / SSL / ASP.NET 4 / CR version 13.0.6.

 

Please help,.. I've searched the Internet for hours without finding a solution. I really need to upgrade our old classic ASP application using Crystal Reports 8.5 to ASP.NET, but I cannot get the new reports to print/export in IE8 at all.

 

Thank you.

Mihai

BUG! CR 13 VerifyDatabase not using updated credentials

$
0
0

Hi,

I recently updated my Visual Studio project from CR2008 to the latest (CR 13) and now all my reports fail to log on.

 

The thing is that my reports all refer to a no longer existent database. What I have done successfully with CR2008 is that I set the connection info like this:

 

            foreach (CrystalDecisions.CrystalReports.Engine.Table table in ThisReport.Database.Tables)

            {

                table.LogOnInfo.ConnectionInfo = myConnectionInfo;

                table.ApplyLogOnInfo(table.LogOnInfo);

            }

 

And now I also added:

 

          ThisReport.SetDatabaseLogon(DatabaseLogin, DatabasePassword, DatabaseServerName, DatabaseName);

 

 

However, the VerifyDatabase() now fails!!

 

If I manually open up my report and change the connection settings to an existing database and save the report I can use the above code.

 

Note that the report will execute on the database provided in my code above, it is just the actual verification that is being performed on the connection info stored in the report.

 

As far as I can see, this is a bug!

 

Please help me!

Visual Studio 2008 crystal reports error 80040154

$
0
0

Moved a working VB.net console application over to a new 64 bit development server. Received the following error when trying to schedule the Crystal Report from the .net architecture.

 

ProcessError: Error scheduling report.  Exception in ScheduleReports function:

Retrieving the COM class factory for component with CLSID {E063B04A-CB8B-460E-99

0-F7D8FA2FAAA2} failed due to the following error: 80040154.

 

Can anyone help with this error?


Crystal report parameter pop up issue

$
0
0

Hi,

 

I am using VS 2010. I have crystal reports 8.5. I am calling those crystal reports from asp.net application using the crystal report viewer and report document code. I am passing paramter to the crystal reports. Inspite of doing that, it is asking me for paramters. The parameter pop up opens whenever I try to load the report. I have downloaded the crystal report for VS 2010 from this document. Could someone please help me with this.

 

Thanks.

What is best way for handling date Internationally in crystal report?

$
0
0

I have crystal report based report that uses Store Procedure with parameters(that includes date) as its datasource in my vb.net 2010 app.

 

I realised that when my computer is on US culture , the report displays but when I try to display the report in UK culture it raises exception.

 

I used the same Store Procedure for DataGridView in both cultures (ie US and UK) and it worked with same parameters that did not work in crystal report.

Crystal Report exporting a report as excel file

$
0
0

Hello, I am creating a crystal report in VB 2008, and i want to export my work in crystal report viewer as excel file. Can this be possible???

Operation not yet implemented error in VS2008 when export to PDF

$
0
0

I am receiving the error "Operation not yet implemented" on VS2008 Server 2003 when trying to export to pdf. It seems to me the issue is with my custom fonts as when i use the system fonts, like Arial, the code works fine. I am using "ADVC128E" and "ADVC39D" fonts for barcodes on my report.


Please let me know how I can resolve this issue.


Error:

CrystalDecisions.CrystalReports.Engine.InternalException: Error in File C:\DOCUME~1\rpsharma\LOCALS~1\Temp\ITT_Label {FE2228E3-6C8B-4BDD-BB2F-7932F8FD092C}.rpt:

Operation not yet implemented.

can't see the parameter labels (Prompt Group Text and parameter Name) when open crystal report on aspx page

$
0
0

Hi,

  I have several crystal reports (I installed crystal report 2011), when I open crystal report on my local PC, I can see parameter labels (Prompt Group Text and parameter Name)  however, when I open crystal report on my asp.net 4.0 application, it have problem to display the labels, It doesn't display any parameter labels(I attach screen shot, you can see it..)  Could you tell me how to solve this problem?

 


Thanks

Kelvinlabels1.jpglabels2.jpglabels3.jpg

Viewing all 3636 articles
Browse latest View live


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