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

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


Memory Leak using SAP Crystal Reports Runtime for Visual Studio

$
0
0

Hello,

 

We are using SAP Crystal Reports for Visual Studio Runtime (Service Pack 15) as our printing engine in a .NET 4.6 Windows Service and we have found out a memory leak that we cannot avoid and it produces a serious memory increase in the long run.

 

The fact is that it seems that there are several unmanaged objects from the runtime (C++) that are not disposed / free and produces the memory leak because we have not found any memory problem in .NET objects (we have observed it using a Memory Profiler to analyse the process memory).

 

I've reviewed the code and apply a Fix we found for the previous runtime (CR 11 Runtime versión) but the memory leak persists .

 

The code is quite simple and it assures the dipose of the CR objects, I attached the code used to execute the report:

 

public GReportResult PrintReport(string xmldata, int copies, string layoutpath, string outputpath, string outputformat, string filename, string document, string pathSchema)        {            int result = 0;            string error = string.Empty;            try            {                using (SafeReportDocument report = new SafeReportDocument())                {                    using (DataSet reportData = new DataSet())                    {                        reportData.Locale = CultureInfo.InvariantCulture;                        try                        {                            reportData.EnforceConstraints = false;                            using (var xmlSchemaReader = new System.IO.StreamReader(Environment.ExpandEnvironmentVariables(pathSchema)))                            {                                reportData.ReadXmlSchema(xmlSchemaReader);                                using (var xmlDataReader = new System.IO.StringReader(xmldata))                                {                                    reportData.ReadXml(xmlDataReader);                                    try                                    {                                        report.Load(Environment.ExpandEnvironmentVariables(layoutpath));                                        try                                        {                                            report.SetDataSource(reportData);                                            try                                            {                                                switch (outputformat)                                                {                                                    case "Raw":                                                        report.PrintOptions.PrinterName = outputpath;                                                        report.PrintToPrinter(copies, false, 0, 0);                                                        break;                                                    case "Pdf":                                                        report.ExportToDisk(ExportFormatType.PortableDocFormat, filename);                                                        break;                                                    case "Excel":                                                        report.ExportToDisk(ExportFormatType.Excel, filename);                                                        break;                                                    case "Rtf":                                                        report.ExportToDisk(ExportFormatType.EditableRTF, filename);                                                        break;                                                    case "Html":                                                        report.ExportToDisk(ExportFormatType.HTML40, filename);                                                        break;                                                }                                            }                                            catch (Exception prn)                                            {                                                //PRINTERROR                                                result = 1;                                                error = prn.Message;                                            }                                        }                                        catch (Exception data)                                        {                                            //PMDATASOURCEERROR                                            result = 2;                                            error = data.Message;                                        }                                    }                                    catch (Exception load)                                    {                                        //PMLAYOUTERROR                                        result = 3;                                        error = load.Message;                                    }                                    }                                }                            }                        }                        catch (Exception px)                        {                            //PMXMLDATAERROR                            result = 4;                            error = px.Message;                        }                    }                }                GC.Collect();                GC.WaitForPendingFinalizers();                GC.Collect();            }            catch (Exception ex)            {                //PMERRINSTANCECMDOCUMENT                result = 5;                error = ex.Message;            }            GReportResult reportResult = new GReportResult(result, error);            return reportResult;        }

And the SafeReportDocument.class (used to fix the memory leak in CR RT 11):

 

public class SafeReportDocument : ReportDocument, IDisposable    {        private void CleanGlobalEvents()        {            Delegate domainUnloadDelegate = (Delegate)typeof(AppDomain).GetField("_domainUnload",                BindingFlags.Instance | BindingFlags.NonPublic).GetValue(AppDomain.CurrentDomain);            Delegate[] invocationList = domainUnloadDelegate.GetInvocationList();            Delegate ev;            for (short i = 0; i < invocationList.Length; i++)            {                ev = invocationList[i];                if (ev.Target != null && ev.Target.Equals(this))                {                    AppDomain.CurrentDomain.DomainUnload -= (EventHandler)ev;                }            }            Delegate processExitDelegate = (Delegate)typeof(AppDomain).GetField("_processExit",                BindingFlags.Instance | BindingFlags.NonPublic).GetValue(AppDomain.CurrentDomain);            invocationList = processExitDelegate.GetInvocationList();            for (short i = 0; i < invocationList.Length; i++)            {                ev = invocationList[i];                if (ev.Target != null && ev.Target.Equals(this))                {                    AppDomain.CurrentDomain.ProcessExit -= (EventHandler)ev;                }            }        }        /// <summary>        /// Cleans up resources        /// </summary>        /// <param name="disposing"></param>        protected override void Dispose(bool disposing)        {            if (disposing)            {                this.CleanGlobalEvents();            }            base.Dispose(disposing);        }    }

 

Is there any issue and fix regarding this case?

 

Thanks a lot for your time and your support.

 

Kind regards,

Yamel.

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.


Input File Repository server is disabled in crystal Report server 2013

$
0
0

Hi ,

     After i logon the crystal report server 2013 , i could see some server running inside that. But in that Input file server repository is running but in disabled mode and not able to enable the server. when i trying to enable i am getting error log file like "SI_disabled_target is missing from a server infoobject " and " 2510 is not a property of a corba tk boolran" . because of this i am not able to deploy the report template in server . could please suggest how to resolve this.i am struggling last two weeks in this issue.

 

adding more points to that: we are using Crystal Report server 2013  trail version and its in testing environment.

Crystal Server 2013 RAS SDK export PDF exception

$
0
0

Dear All

 

Currently I'm upgrading the Crystal Report to Crystal Server 2013 and creating a .NET page to download the report in PDF format. I followed the sample code in http://scn.sap.com/docs/DOC-28646 , and everything is fine, I can logon to the crystal report server, get the report, set the report datasource in runtime, and view the report in CrystalReportViewer. However, when I try to export the report to PDF by calling "PrintOutputController.Export(pdfFormat)", it shows "Attempted to read or write protected memory. This is often an indication that other memory is corrupt". It looks like something wrong with the PrintOutputcontroller as the exception goes out when I comment the function call of PrintOutputController. I tried to use the export function of CrystalReportviewer but nothing happened as well.


I tried to use ReportDocument, load the .rpt file, convert to ReportClientDocument and export to PDF and it works! So I guess it shouldn't be the problem of the report. Also I use the Administrator account to logon the server so it is unlikely the permission issue.

 

Can anyone please help? Many thanks!

 

# The server is windows server 2008 64bit.

Crystal Reports fix to work on Windows 10

$
0
0

Hi,

I would like to know when Crystal Reports can work on Windows 10.

I saw that fix 15 holds a fix if I understand correctly but only for Visual Studio.

 

Any roadmap to support Windows 10?

 

Regards,

Roei

Crystal Reports Document - Various errors on ExportToStream(PDF)

$
0
0

Our company currently has a WCF service that prints our crystal reports. It works 99% of the time. However, I am having trouble with a couple of our reports. Namely, when trying to export them to a PDF I get one o fthe following errors depending on the order things have been done in:

 

 

1. "The system cannot find the path specified."

2. "Missing parameter values."

3. The report prints, but shows data from the wrong server.

 

 

The Reports are fairly simple reports that are attached to SQL Server stored procedures that take (at most) 2 or 3 parameters. They were designed in Crystal Reports 2011, and setting the datasource location to any of our servers allows them to print fine. Also, just re-opening the report and logging on to a different server works, so long as it's done through Crystal Reports.

 

 

I have made sure that the stored procedures are simple enough, and that the parameters are of simple types. I have also tried recreating the report files from scratch and pointing them at a new stored procedure. I have ensured that data is not being saved with the reports. I've tried removing sections of the report until thye work (they only do once everything is removed).

 

 

The outline of our code is as follows (I have commented several sections that may help someone track down why certain errors are thrown):

 

    Public Sub PrintReport()

        Dim resultStream As Stream = Stream.Null

        Dim reportDoc As New ReportDocument

        Dim saved As Boolean = False

 

 

        Dim exportOptions As ExportOptions

        Dim diskFileDestinationOptions As DiskFileDestinationOptions

        Dim connectionInfo As ConnectionInfo

 

 

        reportDoc.PrintOptions.DissociatePageSizeAndPrinterPaperSize = False

        reportDoc.PrintOptions.PrinterName = ""

 

 

        'Retrieves the SQL Server credentials from an excrypted location, including

        'sets them like this:

        'With Credentials

        '   ci.DatabaseName = .DBName

        '   ci.ServerName = .Server

        '   ci.UserID = oCrypt.NICO_RijndaelManaged_Decrypt(.Login)

        '   ci.Password = oCrypt.NICO_RijndaelManaged_Decrypt(.Password)

        '   schema = .Schema

        'End With

        connectionInfo = SetAppConnection()

       

        diskFileDestinationOptions = New DiskFileDestinationOptions

 

 

        reportDoc.FileName = settings.ReportDir & settings.ConnectionStrings(applicationID).Application & report.FormFilePath

        reportDoc.Load(reportDoc.FileName, OpenReportMethod.OpenReportByTempCopy)

       

        'Loops over Report Parameters and assigns them from a FormParameter Class (Name and Value are both strings)

        'Public Sub SetParameters(ByRef rptDoc As ReportDocument, ByVal objRpt As Report)

        '   For Each PField As ParameterField In rptDoc.ParameterFields

        '       Dim Param = PField

        '       If objRpt.Params.Any(Function(P) P.Name = Param.Name) Then

        '           Dim Value As String = (From P In objRpt.Params Where P.Name = Param.Name Select V = P.Value).First()

        '           rptDoc.SetParameterValue(Param.Name, Value.Trim)

        '       End If

        '   Next

        'End Sub

        SetParameters(reportDoc, report)

       

        'See Below

        SetDataInfo(reportDoc, connectionInfo)

 

 

        exportOptions = reportDoc.ExportOptions

        With exportOptions

            .DestinationOptions = diskFileDestinationOptions

            .ExportDestinationType = ExportDestinationType.NoDestination

            .ExportFormatType = ExportFormatType.PortableDocFormat

        End With

 

 

        Dim intTry As Integer = 0

        Dim exExport As New Exception

        While Not saved And intTry < 17

            Try

                resultStream = reportDoc.ExportToStream(ExportFormatType.PortableDocFormat)

                saved = True

            Catch ex As Exception

                'Allowing this piece to execute fixes the "Path Specified" issue, but throws a missing parameter values error

                'even though the parameters ARE SET on the report document object when examining it with a watch.

                If ex.Message = "The system cannot find the path specified." Then

                    reportDoc.VerifyDatabase()

                End If

               

                'Allowing this piece to execute allows the report to print, however it seems to be running with the server information

                'that it was designed with instead of the information that was set above (see below). Despite this, the server information

                'appears to be set correctly when examining the members of the report document.

                If ex.Message.Contains("Missing") Then

                    SetParameters(reportDoc, report)

                End If

                intTry += 1

            End Try

        End While

 

 

        reportDoc.Close()

        reportDoc.Dispose()

    End Sub

 

 

    Public Sub SetDataInfo(ByRef rptDoc As ReportDocument, ByVal objCI As ConnectionInfo)

        Dim crTables As Tables = rptDoc.Database.Tables

        Dim crObjs As ReportObjects

        Dim crObj As ReportObject

        crObjs = rptDoc.ReportDefinition.ReportObjects

        Dim crSubTables As Tables

        Dim crSubTable As Table

        Dim crTLOI As New TableLogOnInfo

       

        crTLOI.ConnectionInfo = objCI

        For Each crTable As Table In crTables

            crTLOI.TableName = crTable.Location.Substring(crTable.Location.LastIndexOf(".") + 1)

            crTable.ApplyLogOnInfo(crTLOI)

            crTable.Location = crTable.Location.Substring(crTable.Location.LastIndexOf(".") + 1)

        Next

 

 

        For Each crObj In crObjs

            If crObj.Kind = ReportObjectKind.SubreportObject Then

                Dim rptSub As ReportDocument = DirectCast(crObj, SubreportObject).OpenSubreport(DirectCast(crObj, SubreportObject).SubreportName)

                crSubTables = rptSub.Database.Tables

                For Each crSubTable In crSubTables

                    crSubTable.ApplyLogOnInfo(crTLOI)

                    crSubTable.Location = crSubTable.Location.Substring(crSubTable.Location.LastIndexOf(".") + 1)

                Next

            End If

        Next

    End Sub

 

The versions of the Crystal Libraries being used are Support Pack (Or Service Pack, depending on which part of their website you're looking at) 13 from version 13--v.13.0.13.1597

 

 

I really need to get these reports to print and be able to switch the servers depending on the environment. If you have any insight, please help.

Subreport Exceeding Page Width of Main Report

$
0
0

Hi

  I am running Crystal Reports 12. The reports are called from my .Net app (not embedded in the app) (version 4.5). The report contains one Main report and several subreports. It all works fine. One of the subreports is a CrossTab report. When the cross tab has more columns than can be fit in a page, the extra page is not printed from the main report. This is a problem. When I print the sub-report separately (from Crystal Reports not from my app), in prevew mode, I can see and print both the pages. But when I print the main report, I am unable to print the extra page.

 

Is it possible to

 

1. get Crystal print all of my subreport, even if it exceeds the width of the main report

 

or

 

2. (even better) get the row that exceeds the page width to wrap automatically?

 

Any and all help would be deeply appreciated.

 

Thanks in advance!

 

Regards

Kanthi


Log on error in Crystal report in asp.net and oracle 11 g

$
0
0

HI

 

I have a web application developed using asp.net 4.0 and Oracle 11 g . crystal report is being used as a report viewer.

it was working fine on window 2008 r2 64 bit . now we had to migrate it on some new server with the same configuration.

everything is working fine except crystal report which shows the error Log on failure  XXX.rpt file .  I have installed the crystal report runtime 32 bits for dot net 4.0 as well. i have tried 64 bit as well.

 

Please let me know if you have any clue regarding that .this application is working fine on the same configuration on another server.

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;

Characterset of exportfile when exporting with crvs2010sp15

$
0
0

Hi,

 

I have an application (c# and visual studio 2010) which is exporting a Report to different formats.

Depending on the Extension I select different export Options. F.e. PDF, CSV or TXT or even RPT.

All these exports are done with the same code from the documentation:

 

// Create an array of bytes of the report in the specified format using the Export() method.

PrintOutputController rasPrintOutputController;

rasPrintOutputController = _reportClientDocument.PrintOutputController;

ByteArray tempByteArray = rasPrintOutputController.ExportEx(expOpts);

Byte[] byteStreamOutput = tempByteArray.ByteArray;

FileStream fs = new FileStream(_reportDestFilename, FileMode.Create, FileAccess.ReadWrite);

int maxSize = byteStreamOutput.Length;

fs.Write(byteStreamOutput, 0 , maxSize);

fs.Close();

fs.Dispose();

 

I have now created a csv file and i am wondering what characterset the file is using. it seems that it is win ansi, but the german characters ä, ü ....

are coded with two bytes. Maybe it is UTF-8.

I have used the crvexportformat:

CharacterSeparatedValuesExportFormatOptions charexport = new CharacterSeparatedValuesExportFormatOptionsClass();

charexport.ExportMode = CrCSVExportModeEnum.crCSVExportModeStandard;

 

Does anyone knows in which characterset the byte stream is created from the cr runtime?

 

Many thanks.

regards

joerg

Getting Database Login Error in Crystal Reports 13 for VS2012 using VB

$
0
0


Can someone help? I have applications running flawlessly under VS2008, WIndows XP, Crystal Reports 10, Visual Basic. When I attempt to upgrade them to VS2012, Windows 7, Crystal Reports 13, Visual Basic. Everything works except converting the Crystal Report to PDF. I get a database login error. I am attaching the code in question.

 

'******************************************************

'Export to PDF                                        *

'******************************************************

Dim crtableLogoninfos AsNew TableLogOnInfos

Dim crtableLogoninfo AsNew TableLogOnInfo

Dim crConnectionInfo AsNew ConnectionInfo

Dim CrTables As Tables

Dim CrTable As Table

Report.Load("\\umcintranet3\payroll\WorkforceCentral\ActingPayReport1.rpt")

      With crConnectionInfo

           .ServerName = "xxxxxxxxxxx"

           .DatabaseName = "xxxxxxxxxx"

           .UserID = "xxxxxx"

           .Password = "xxxxx"

     EndWith

 

CrTables = Report.Database.Tables

ForEach CrTable In CrTables

          crtableLogoninfo = CrTable.LogOnInfo

          crtableLogoninfo.ConnectionInfo = crConnectionInfo

          CrTable.ApplyLogOnInfo(crtableLogoninfo)

Next

                        
CrystalReportViewer1.ReportSource.Refresh()

CrystalReportViewer1.ReportSource = Report

 

'****************

Try

     Dim CrExportOptions As ExportOptions

      Dim CrDiskFileDestinationOptions AsNew  _

         DiskFileDestinationOptions()

      Dim CrFormatTypeOptions As New PdfRtfWordFormatOptions

                            
         CrDiskFileDestinationOptions.DiskFileName = pdfFile

          CrExportOptions = Report.ExportOptions

              With CrExportOptions

              .ExportDestinationType = ExportDestinationType.DiskFile

              .ExportFormatType = ExportFormatType.PortableDocFormat

              .DestinationOptions = CrDiskFileDestinationOptions

                              .FormatOptions = CrFormatTypeOptions

        EndWith

         Report.Export()  '<<<<<<<<<  THIS IS WHERE THE ERROR OCCURS!!!

 

Catch ex As Exception

                           MsgBox(ex.Message, MsgBoxStyle.Exclamation, "Error")

EndTry

 

Thanks, Les.

support pack for VS2015 does not contain the crystal report viewer ?

$
0
0

Hi,

The support pack for VS2015 does not contain the crystal report viewer ?  If it is so, then how can i use crystal reports to print my documents

Crystal Viewer control in ASP.NET application displays on local host but not when published to shared host site.

$
0
0

I have created an ASP.NET application that provides pricing information for company sales representatives.   The application utilizes a Crystal Report that has been displaying correctly for over a year until recently.    I host this application on a third part hosting company.   After the company updated their servers to IIS 2012, the website has failed to run the report.   I was not able to get technical support from the hosting company and am working with a large international hosting company that specializes in Crystal hosting.  

 

I have published my application to the new host and am not able to run the report as previously from the application.  The report will show in the embedded crystal viewer of my application when I run the report in the Visual Studio 2010 programming environment (localhost).   The crystal viewer control does not show at runtime in the ASP.NET application when the webpage is displayed from the host.   No errors show on the screen or in the web site log indicating the reason for the failure.

 

Some things that I have tried.

 

I have installed the most recent version of Crystal Reports for Visual Studio (13.0.15).

I have copied the aspnet_client folder to the httpdocs folder of the web host to confirm that supporting files are present for Crystal.

I have the program compiled as an x86 program.

I have confirmed that application pool is set to 4.+ on the web host.   I do not have control of “classic mode” on the new web provider that I can find.

 

I hope that you can point me to a resolution for this problem.  

Visual Studio 2015 prof Windows 10 prof and CR 13.0.15

$
0
0

Hi,

i have a Problem.

I have a newly installed Windows 10 prof german computer and installed a Visual Studio 2015 prof german.

After that in found and installed CRforVS_13_0_15.exe.

So far so gut.

But when i converted a Projekt to Vs 2015 i couldn't open any rpt file, the  only view i had was the hexeditor.

I searched the internet, and checked that Framework 3.5 was installed. I deinstalled everything and reinstalled it.

But nothing changes. i can add and use a Reportviewer in any Projekt.

cr151.PNG

But a canoot open a Report file or add a new one

cr152.PNG

thank you


How Can Set My Bengali Language My Crystal Report

$
0
0

I am Bangladeshi . My All Of Data Is Bengali . Now I Have To Create Some Formula . So Now I Need Change Language .Please Help Me.

My Visual Studio Is 2012

After Upgrade to Visual Studio 2015

$
0
0

I have a issue that is killing me !!!!

 

Environment

Windows 2012 R2

IIS 8.5

CR 2011 (13.0.2000)

 

Our production web project currently compiled/published in Visual Studio 2012. All reports load and work correctly in viewer with no issues.

 

We installed VS 2015, moved/imported the project, built/compiled and installed on same server in a different site for testing. With no changes to any code, now all of the reports give the "Invalid report File Path" error.. The viewer looks like it is loading correctly. The error seems to be in the viewer. I have verified the code to make sure nothing changed. I have verified the path and permissions to all the folders (report, temp, etc.). I have also run process monitor and do not see any errors. I actually can see it report being opened and the temp files being created while it attempts to run. I am lost on what to look for next.. Any help wold be greatly appreciated.

 

Casey

crystal reports 13 close IIS ApplicationPool

$
0
0

Everything was fine in ws2008, CRforVS_13_0_5, vs2008 but recently i updated the application to ws2012, CRforVS_13_0_15, vs2015, the application is ok but when i print reports "sometimes" the IIS ApplicationPool  is closed, i have to recycle when this happen.

 

In the event viewer the error is can't load report especif in this line

crystalReport.Load(Server.MapPath("reportes/acciones.rpt"));

Memory Corrupt Problem with Crystal report CRforVS_13_0_13

$
0
0

I am having Issue Running Crystal Report in Visual Studio 2010, Framework 4.0.

I Reinstall Crystal Report with CRforVS_13_0_13.exe

I am getting "An error occurred creating the form. See Exception.InnerException for details.  The error is: Attempted to read or write protected memory. This is often an indication that other memory is corrupt." Error.

Please provide solution for this Problem;

System.Runtime.InteropServices.COMException was caught HResult=-2147467259 The system cannot find the path specified.

$
0
0

We recently moved from an Oracle db to MS SQL Server. I have about 50 crystal reports that were previously using System DSN driver "Oracle in OraClient11g" and are now pointed to an "ODBC Driver 11 for SQL Server".

 

Approx. half the reports work just fine. The other half throw the following exception when I convert them to PDFs within Visual Studio (C#; ASP.NET) code:

 

System.Runtime.InteropServices.COMException was caught HResult=-2147467259   The system cannot find the path specified.

 

All reports run fine when print previewing within Crystal Reports itself. In Visual Studio debug, the report document object looks perfect. I cannot figure out why some run fine and others don't. Any help on this would be greatly appreciated.

 

Crystal Reports Version 14.0.2.364

Visual Studio 2013 Version 4.5.51209

Viewing all 3636 articles
Browse latest View live


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