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

Running SAP crystal report in web application with runtime support pack 15

$
0
0

I am facing problem in running crystal report within my asp.net web application on pc on which i have installed

Support Pack 15 (v.13.0.15.1840). I have installed support pack 7 on development pc and referenced the crystal report engine dll of

support pack 7. when i am trying to run the published application from other pc having crystal report support pack 15 is is giving error.

i am trying to format the reports objects using reportdefmodel assembly.

 

can i use the support pack 15 runtime for the web aplication published using support pack 7.


Moving Crystal Designer 2008 from one Laptop to another

$
0
0

I have Crystal Installed on a Laptop that is going bad and I need to move the program to a New Laptop how can I do this??

Export PDF Error - Operation Not Yet Implemented

$
0
0

Dear All,

 

i am trying to export a crystal report to pdf and it is ending in following error:

 

Error

Error in File CrystalReportTestBlankReport {D781AF0B-642B-4FB5-BC4B-F05D5934DA2F}.rpt: Operation not yet implemented.

 

You may test yourself at here : [http://esolutionscurry.co.in/crystalreporttestpage.aspx|http://esolutionscurry.co.in/crystalreporttestpage.aspx]

 

Please note there are no issues in opening report and exporting to word, rtf and excel. Just PDF export is not working.

 

My Server Configuration is : windows server 2008 R2 Standard, Dot Net Framework 4 and Plesk Parallel 10.3

I have installed Crystal report 13 (the one that is available for use with Visual Studio 2010)

 

I am able to export the report from within the Visual Studio Localhost, but this fails in IIS.

 

Please help.. this issue is killing me everyday.

 

Thanks in advance..

 

Regards,

Ankit Singhal

Crystal Report Export To PDF Error : Operation not yet implemented

$
0
0

Dear All,

 

We are facing an issue while exporting Crystal Reports to PDF in Windows 2008 R2 Server. The Error Message is : Operation not yet implemented.


we started facing this issue starting last week after the patch updates. We are using ASP.Net  / .Net 3.5 frame work/ VS2008  and running on Windows 2008 R2 SP1.

 

The same reports were running fine until last week before we had the patch updates ( Win 2008).

 

Below are the steps performed

 

1. Tried registering the Export related dlls ( ExportModeller.dll etc. )

2. Tried uninstalling and reinstalling CR2008 64X

3. Tried installing VC++ runtine ( VS2005, Vs2008 64, 32 bits). Tried reparing CR . Tried uninstalling and installing it again rebooting .

4. Tried with winform application all other formates like excel, word, rtf everything works except PDF

always gets error ".rpt:Operation not yet implemented"

 

 

It would be great help if you help us on this regards

 

 

Thanks in advance

Problem running setup after publishing solution using VS2012 & CR for VS

$
0
0

I have developed a Resort Operation Support System using VS2012 & CR for VS.. After I publish the solution, and then execute the setup on a client computer, I get the following error:

"setup has detected that the file 'C:\Users\Roger\AppData\Local\Temp\VSDE0CF.tmp' has changed since it was initially  published."

The options given are to cancel setup or retry(futile)..

 

Anybody have any idea what I am doing wrong???? 

Crystal reports runtime for .NET framework version 13.0.15.1850 stops working after Windows update

$
0
0

I am running crystal report for .NET framework v. 13.0.15.1850 on Windows 2012 R2 server.  After the following recent Windows updates, crystal reports no longer shows on web pages served by this server.  Instead, I get a white screen, with no errors.  After rolling back these updates, Crystal reports works again.  I will have to disable updates if I can't find a solution to this.

 

Updates (note that after I rolled them back Windows continues to try to install them):

 

Screen Shot 2015-11-22 at 6.09.02 PM.png

Is there a version of Crystal Reports for Visual Studio 2015?

$
0
0

Is there a version of Crystal Reports that is compatible with Microsoft Visual Studio 2015? A version that integrates with the Visual Studio 2015 IDE?

Issue with dll (crdb_adoplus.dll)

$
0
0

Hello,

 

 

I'm trying to use crystal report with vs 2015 and when I use the "Main report preview" it works fine, but when I try to use the "Crystal Report Viewer" I get the following error:

 

 

Message: An unhandled exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll

Additional information: Could not load or assembly 'file:///C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI4.0\win64_x64\dotnet1\crdb_adoplus.dll' or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference

 

 

I've found the dll (crdb_adoplus.dll) in C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI4.0\win64_x64

 

 

After that I've created the dotnet1 folder and put the dll into it, but then I got the following error:

 

 

System.IO.FileLoadException was unhandled

Message: An unhandled exception of type 'System.IO.FileLoadException' occurred in mscorlib.dll

Additional information: Mixed mode assembly is built against version 'v2.0.50727' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.

 

 

Could you please help me solving this problem?

 

 

Thank you.


How can I pass the number (short type in C#) to the parameter of Stored procedure in Crystal report?

$
0
0

I want to generate a report with C# and Crystal Report.

 

in Crystal report, the data  come from a stored procedure with parameter, there is a number parameter named @type, the valued was assigned form C# code:

 

    discretevalue1 = new ParameterDiscreteValue();

 

    discretevalue1.Value = "1";

 

    ParameterValues values1 = new ParameterValues();

 

    values1.Add(discretevalue1);

 

    this.objRpt.DataDefinition.ParameterFields["@Type"].ApplyCurrentValues(values);

 

 

 

in Stored Procedure,  the parameter was declared as:

 

 

 

Create PROCEDURE SP(@Type smallint) as ...

 

    IF (@Type=1)

 

    Begin

 

        //doit

 

    end

 

...

 

 

 

if I commented the line in SP: IF (@Type=1), the statement in doit could be executed successfully, I could see the correct data on the report. but if I did not commented the this line, the statement in doit would be executed, no data would be appeared on the report.

 

 

 

run the SP in SQL server: EXEC SP 1  will get the correct result.

 

 

 

I do not know what caused this issue. Could someone tell me how can I pass the number parameter to Stored Procedure in Crystal report?

 

 

 

Thanks for any help

2008 Crystal Reports Install Executables from http://scn.sap.com/docs/DOC-27917

$
0
0

When I t download the SP3 & SP4 executables they can't be installed as they fail verification. Could you please check these files or alternatively provide different links.

 

Also what is required for me get access to SP7. I'm trying to fix an issues I have with exporting a report as PDF with Optional Windows Update KB3012049 installed causing the following error. If I uninstall this update everything works as before..

 

Microsoft Windows 7 Professional 64-bit Service Pack 1

Total Memory 8104 MB Total Physical Memory 8 GB

Module version 1.0.26 Build (0)

22 February 2015 22:43

 

CrystalDecisions.CrystalReports.Engine.InternalException:

Error in File C:\Users\rentals\AppData\Local\Temp\temp_57fe78f8-b8ea-4916-922e-43bbe189bf34 {7BC02C82-F386-48E7-8412-B0F235351CCB}.rpt:

Operation not yet implemented. ---> System.Runtime.InteropServices.COMException (0x800003E7):

Error in File C:\Users\rentals\AppData\Local\Temp\temp_57fe78f8-b8ea-4916-922e-43bbe189bf34 {7BC02C82-F386-48E7-8412-B0F235351CCB}.rpt:

Operation not yet implemented.

   at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)

   at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)

   --- End of inner exception stack trace ---

   at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)

   at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)

   at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)

   at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)

   at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToDisk(ExportFormatType formatType, String fileName)

   at PropertyManagementReporter.ReportPrintRoutineInspectionForm.PrepareRoutineInspection(PropertyPortfolio portfolio, Report report, Boolean includePhotos, String filename)

   at PropertyManagementReporter.PropertyPortfolioFrame.d(Object A_0, DoWorkEventArgs A_1)

 

Message was edited by: Brian Post Forgot to mention that this project is using Visual Studio 2008 & can't be updated to a later versions. Can I  upgrade which Crystal Reports version & still use Visual Studio 2008.

Crystal Report Developer 11: problem printing pdf (heavy volume click)

$
0
0

Hi,

We have Crystal Report Developer 11, and use its dll(s) on our web servers. When we have high-volume of of users clicking a button on our website (such as sending out 2,500 emails with a link to this page) to generate a pdf , I received the following 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 IFT.SitecoreWeb.Sublayouts.ttsltODMembershipInvoiceReport2016.GenerateReport(Boolean isPrint)

 

NOTE:

1) This report has 13 subreports.

2) The problem was solved by itself the next day (or so) after the volume of clicks reduced.

 

I did an initial research and saw an SAP document mentioned "75 print job limit". I am wondering if this is the issue we are having? What would be the best solution to solve the problem?

MaxRowsetRecords Registry Entries Not Working

$
0
0

Hi.  I am using Crystal Reports for Visual Studio with Visual Studio 2013 and have the reports running on .NET 4 website on Windows Server 2008 R2. One of my reports uses a dynamic parameter and the dropdown is not showing all the values.  I had this problem about a year ago and I was able to solve it by adding the MaxRowsetRecords registry entries with a value of 2000.  Now there are about 2500 values.  I have changed the MaxRowsetRecords values to 10000 and restarted the server but the dropdown still only shows 2000 values

 

Here are the registry entries I have changed:

 

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\DatabaseOptions\LOV]

"MaxRowsetRecords"="10000"

 

[HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\DatabaseOptions\LOV]

"MaxRowsetRecords"="10000"

 

[HKEY_USERS\.DEFAULT\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\DatabaseOptions\LOV]

"MaxRowsetRecords"="10000"

 

[HKEY_USERS\.DEFAULT\SOFTWARE\Wow6432Node\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports\DatabaseOptions\LOV]

"MaxRowsetRecords"="10000"

 

Does anyone have a solution for this?

 

Thanks,

 

David Perry

Extraction of Crosstab and Chart Metadata ( like Columns and Rows used in those particular objects) using Crystal Report SDK.

$
0
0

Hi,

 

I am new to Crystal Report SDKs and right now i am trying to extract

 

1) Crosstab and Chart Metadata (Columns and Rows) i.e fact and measure information in 3.1

2) Sectionwise object details(For eg, In page header a what are the objects used likewise)

 

But i am not sure which object method and which version of SDK to use to get those information.

Is that possible to get those metadata informations using latest SDK?

 

Kindly help me with this.

 

Thanks in advance!

Reportviewer Print/Export controls don't work at all - Next Page button prompts for parameters again

$
0
0

We're migrating a .NET app from a Server 2008 environment to Server 2012. Installed the latest SP15 SAP for VS on the Dev server which runs VS 2013, and the installed the accompanying SP15 runtime MSI on the web server.


I was receiving a blank report which I fixed by moving aspnet_client folder (copied from the inetpub/wwwroot directory) at the root of my website - No Parameters and Blank Report when opening Report via reportviewer Control


Now when I open a report, it displays correctly, but I'm experiencing the following issues using the toolbar buttons in my report viewer:


  1. Can't print a report. When I click the print button, nothing happens.
  2. Can't export the report to PDF or Excel - The Export window comes up, but nothing happens after I select the output format and click the export button
  3. Can't navigate to the second/third etc pages of the report. When I click the "Next Page" arrow button, the report viewer prompts me for new parameters like I just opened the report.

 

General information: Popup blocker is disabled. Have tried in Chrome and I get the same behavior, so it's not IE related. When I hit F12 and run debug I often get a "MochiKit.Base.NotFound" error when using the buttons, which Google hasn't been much help on. I've attached a picture of that error to this post.

 

Any ideas on how to fix this or things to try?

 

I've got some Process Monitor output I'll add to this post soon.

Crystal Report changing default setting by coding C#

$
0
0

Hi, This is my code

 

            CrystalDecisions.CrystalReports.Engine.ReportDocument oReportDocument = new                       CrystalDecisions.CrystalReports.Engine.ReportDocument();

            CrystalDecisions.Shared.PrintLayoutSettings oPrintLayoutSettings = new CrystalDecisions.Shared.PrintLayoutSettings();

 

 

            System.Drawing.Printing.PrintDocument oPrintDocument = new System.Drawing.Printing.PrintDocument();

            //System.Drawing.Printing.PageSettings oPageSetting = new System.Drawing.Printing.PageSettings();

            System.Drawing.Printing.PaperSize oPaperSize = new System.Drawing.Printing.PaperSize();

 

 

            oReportDocument = ObtenerReporteConProcedimientoAlmacenado(nombreReporte, ParameterArrayList, rutaReporte);

            string namePrinter = oPrintDocument.DefaultPageSettings.PrinterSettings.PrinterName;

            oReportDocument.PrintOptions.PrinterName = namePrinter;

            oReportDocument.PrintOptions.DissociatePageSizeAndPrinterPaperSize = true;

            oPaperSize.RawKind = (int)PaperKind.Custom;

            oPaperSize.Height = 500;

            oPaperSize.Width = 880;

            oReportDocument.PrintOptions.PaperSize = (CrystalDecisions.Shared.PaperSize)oPaperSize.Kind;

 

 

            oReportDocument.PrintToPrinter(1, false, 0, 0);

 

What I wanna do is to give the default printer the size of the paper Im using, in this case 500 , 800 ; however  when a rich oReportDocument.PrintOptions.PaperSize, the debugger stops.

 

I dont want to set a printername and neither set a pagesize by getting one from the collection of the printer.

 

Im developing in VS 2013, with CR X3. those are all the librearies references

using System;

using System.Collections;

using System.Collections.Generic;

using System.Linq;

using System.Runtime.InteropServices;

using System.Web;

using System.Web.Mvc;

using CrystalDecisions.CrystalReports.Engine;

using CrystalDecisions.ReportAppServer;

using CrystalDecisions.Shared;

using System.Drawing.Printing;

 

I hope I was clear

I hope you can help!!


Could not change Datasource

$
0
0

Hi,

 

I am migrating a web application with crystal report viewer to display lots of crystal reports.

 

The old environment

32bit window 2003 IIS 6, .NET 3.5

32bit Window 2003 SQL 2005

Crystal report XI R2 SP2, VS 2005

 

The new environment:

64 bit Window 2012 IIS 8.5 CRforVS_redist_Install_32bit_13_0_15 (+CRforVS_redist_Install_64bit_13_0_15), .NET 4.5

64 bit Window 2012 SQL 2014, .NET4.5, VS 2012

Developing machine: Window 7 64 bit, VS2012 + CRforVS_13_0_15

 

My problem:

I could not change the data source in the report. When the data source in code does not match the one in the report, the report does not work. I tried both odbc (both system dsn and file dsn) and ole db, same problem.

 

For example, I set ole db as data source in the report, server name is Earth2, it is SQL user. 

when the server name in the code is Earth2, the report displays the data without any issue

when the server name in the code is another server name or IP address to Earth2 itself, I get the login window, the Server is still Earth2, password is empty. After I fill in the password manually, the report works.

login1.jpg

The code should be fine, it works fine in old environment (be able to change data source there) and no difference comparing with samples online.

 

Any advice is highly appreciated.

 

Thanks in advance.

API to run reports with parameters in Business Objects

$
0
0

Hi, I am writing to find out if there is an API for .NET that allows, from a desktop computer, to access a report in Business Objects XI and run  a report (or several) with parameters. On the desktop  computer I have Visual Studio 2012 and .NET 4.5 along with the Crystal Report runtime X64. Thanks in advance for any help.

Problem with VS2010 and CR13.0.2000.0 only header appears

$
0
0

Hello,

 

I have a problem with CR in VS2010.

 

I have a ASPX Web page where I have a CR viewer to display some dataset data. I have created a empty CR report to make a few tests but I I can't see it.

I can only see the CR header... and if I select a any header textbox I get an error. I also can't print or do other CR header options, don't have any error but I also don't do anything. As you can see in the images below:

header.JPG

 

error.JPG

 

 

I already add the crystalreportviewers13 folder in the solution and in the C:\Inetpub\wwwroot\aspnet_client\system_web\4_0_30319 folder.

I also put in the web config:

 

<sectionGroup name="businessObjects">

      <sectionGroup name="crystalReports">

        <section name="rptBuildProvider" type="CrystalDecisions.Shared.RptBuildProviderHandler, CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, Custom=null"/>

        <section name="crystalReportViewer" type="System.Configuration.NameValueSectionHandler"></section>

      </sectionGroup>

    </sectionGroup>

 

and:

 

 

<businessObjects>

    <crystalReports>

      <rptBuildProvider>

        <add embedRptInResource="true"/>

      </rptBuildProvider>

      <crystalReportViewer>

        <add key="ResourceUri" value="/crystalreportviewers13"/>

      </crystalReportViewer>

    </crystalReports>

  </businessObjects>

 

My code is:

 

in the aspx file:

 

<%@ Register Assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"

    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>

<%@ Import Namespace="CrystalDecisions.CrystalReports.Engine" %>

<%@ Import Namespace="CrystalDecisions.Shared" %>

<%@ Import Namespace="System.Data" %>

 

 

I have to insert this js file.. if not I had the "Uncaught ReferenceError: bobj is not defined" error

 

<script src="../crystalreportviewers13/js/crviewer/crv.js" type="text/javascript"></script>

 

 

 

Dim reportDoc As ReportDocument = New ReportDocument

reportDoc.Load(Server.MapPath("rrr.rpt"))  'rrr.rpt document is a empty report

reportDoc.PrintOptions.PaperOrientation = CrystalDecisions.Shared.PaperOrientation.Landscape

reportDoc.PrintOptions.PaperSize = CrystalDecisions.Shared.PaperSize.PaperA4

CrystalReportViewer1.RefreshReport()

CrystalReportViewer1.ReportSource = reportDoc

 

<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="true" />

 

Can someone help me? I already tried everything..

How to create new button in button bar of SAP crystal report viewer by WPF Visual studio 2013 C#?

$
0
0

How to create new button in button bar of SAP crystal report viewer by WPF Visual studio 2013 C#?

When I try to export crystal report to PDF using ExportHTTPResponse, it over writes the actual error messsage.

$
0
0

Hi,

 

When I try to export my crystal report to PDF using ExportToHttpResponse. I sould be getting some maximum data request error, but ExporttoHTTPResponse over writes that error and gives "Specified File not found error".

 

Please provide me the solution for above issue. I am using Crystal Report 2013 and I am writing .net code in 4.0 framework

Viewing all 3636 articles
Browse latest View live


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