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

Set CR Data Source in Application causes it to stop working

$
0
0

I have a VS 2013 application that displays a CR report in a viewer.  It works fine if I use the data source as created, but, if I try to set the data source at runtime, I get an error.  "UploadSales has stopped working.  Windows is searching for a solution."  I have tried creating a 64 bit ODBC as well as a 32 bit ODBC.  I still get the error.  Any ideas?

 

Here is my code:

 

ReportDocument reportDoc = new ReportDocument();

reportDoc.Load("F:\\UploadSales.RPT");

reportDoc.SetDataSource(bidMDataSet);

CrystalReportViewer1.ReportSource=reportDoc;


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.

Form front to pass parameters to crystal report

$
0
0

Hi all,

 

I had hoped to build a simple VB6 front to allow the user to pass parameters to a Crystal Report, facilitate exporting/email reports, alter the sort order, suppress groups etc However, I am working with Crystal 2011 and have learned that the crviewer.dll was retired in Crystal XI. What can I use instead to allow a user to run reports?

 

Thanking you in advance,

Imelda.

Operation not yet implemented error in PDF export

$
0
0

Greetings!  This error started to appear just this morning (everything was working just fine yesterday) when the users attempt to export a Crystal Report to a PDF file.  I've searched the net, and nothing out there solves the problem.  The report is using just Arial font, so it is not do to some esoteric font.  The msvcp100 and msvcr100 files are from July, so they are fine.  Frankly, I'm stumped, so if anyone has any suggestions on what we can try, I'd appreciate the input.  In the meantime, I have modified the code to export to a Word format, which is working just fine, as does exporting to an RTF format; it is just the PDF export that is causing this issue.  Help!  Thanks....

Change database table at runtime

$
0
0

Hello, I have more than one table with the same columns, then when I build the report fieldObject, it works like table1.column, but I also have table2, table3 with the same column. So when I try to view the report for table2 or table3, it does not show anything.

 

could anyone help me, please?

Why does crystalreportviewers13 build every time?

$
0
0

I have a client who uses Crystal Reports and I am developing a web site for them. I recently installed Crystal Reports for Visual Studio and I have no problem building this client's web site. However, when I built a different client's web site, I noticed that it is still building crystalreportviewers13. Example log entries:

1>Building directory '/aspnet_client/system_web/4_0_30319/crystalreportviewers13/js/crviewer/'.

1>Building directory '/aspnet_client/system_web/4_0_30319/crystalreportviewers13/js/dhtmllib/images/skin_coloredline/'.

1>Building directory '/aspnet_client/system_web/4_0_30319/crystalreportviewers13/js/dhtmllib/images/skin_corporate/'.

etc...

 

This second web site doesn't use Crystal Reports, and doesn't reference any of the CR assemblies. So why is it building all of these CR things every time?

 

FYI, I am using Visual Studio 2015 and I build ASP.NET web sites.

Windows App Developed on Visual Studio 2008 with Crystal Reports

$
0
0

We have a desktop app we wrote in Visual Studio 2008 using Crystal Reports for Visual Studio 2008.  We started getting customers with the issue

 

CrystalDecisions.CrystalReports.Engine.InternalException

 

Error in file

Operation not yet implemented.

 

We found that the common thread was an update from Microsoft KB3102429  (Fonts for Georgian and Azerbaijani) caused the problem. 


Removing that optional update fixed the problem.  Is the long term fix to upgrade  a newer Crystal reports module and Visual Studio?

Will this fix it or is this just a one off bizarre issue.

Using Crystal Report for VS runtime from DLL which is called be C++ exe

$
0
0

Hello,


I am doing some evaluation about moving our current reportsystem to a newer state using the newest "Crystal Report for Visual Studio" with the newest servicepack 5 and Visual Studio 2013.


I managed to create and load new reports to the CrystalReportViewer in C# quite easily and I is it also possible to load our existing reports, which were created with Crystal Report XI.

They use ODBC Text Drivers.

 

This all works perfectly fine in a stand alone application which uses .Net 4.5.2.

 

As the next step I tried to add this simple client as a dll library to our existing program, which is written in c++.

 

When debugging it works just fine and as expected, but when I then start the main program normaly and try to show a report Crystal Report crashes with the following message when CrystamReportViewer.ReportDocument is set.:

Crash CR.PNG

As you see the message does not help that much here.

Since it is working as a stand alone application and it gives the same error in all reports I suppose it is not a problem of the reports.

 

Have someone experienced something like this before?

 

The Crystal Report Assemblies use .Net Framework 2.0.

I have read that it is needed for standalone programs to add a app.config file with

 

<?xmlversion="1.0"encoding="utf-8"?>

<configuration>

  <startupuseLegacyV2RuntimeActivationPolicy="true">

    <supportedRuntimeversion="v4.0"sku=".NETFramework,Version=v4.5.2"/>

  </startup>

</configuration>


But this is not possible for library dlls.

As far as I know this needs to be set in the main program, which is the exe written in C++.


So the problem is to use the Crystal Report runtime in a .Net 4.5.2 library dll which is called from an exe written in C++.

Do someone maybe have an idea what to do here and how this can be fixed.



Help is pretty much appreciated and thanks in advance.



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

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

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?

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

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.

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


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!

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.

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.

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

Drill Down Detail

$
0
0

     Hi good day, i have an issue, i am using visual studio 2013,  so i installed Crystal Reports for Visual studio for 2013.    I have created some reports to show the items details , but now,  there is a new requirement.

 

 

I need to create a new  reports to the manager sales,  this have to be a  type bar chart and  once display data in chart , it should have the functionality of drill down.

 

 

Is it possible ?

 

 

How can i do it?

 

 

 

 

thank you for your advices.

Viewing all 2556 articles
Browse latest View live


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