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

Crystal Report (10.5.3700.0) exporting Word format on win7 abnormal termination

$
0
0

HI,

I have a Winform using the Crystal Report  (10.5.3700.0) application, exporting Word format on win7 abnormal termination of

the entire program, it is normal to export to other formats (such as PDF, Excel). I tried all the win7 system version, will

appear in this issue. This issue will not appear on windows xp and windows 8 system.

This problem has troubled me for several months, has anyone encountered this problem to help me solve.

 

Thinks

Wilson


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 reports with Visual Studio 2010 page orientation issue

$
0
0

I have a report which needs to be exported to PDF in 8" * 5.5", Portrait orientation. Now in Crystal Reports 13 (VS2010) when I choose page size as A5 and orientation as Portrait it still prints in Landscape orientation. I tried creating user defined page size with above dimension, it chooses Landscape automatically.

 

In a nutshell I am trying to create a report with width (8") > height (5.5") with portrait orientation.

 

What could be the solution to 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

Getting garbage when trying to view a report

$
0
0

I'm trying to get an ASP.NET application onto a new server. I've been playing with permissions and I think I've finally got that dragon licked in every place that it might need to be done. Now, it actually goes to the report without complaining. The only problem is the report is total garbage. As in it looks to me as though it's trying to view the raw data of a binary file. How do I fix this?

 

This app uses Crystal Reports for .NET 4.0, and is written in Visual Studio 2010.

Reports not exported/printed with BarCode from CrystalReportViewer controls

$
0
0

Hi,

 

I am using Crystal report Version=13.0.2000 with Visual Studio 2010. We have multiple reports that uses Code39 Barcodes. The aspx page uses Crystal report viewer to load the report. The Bar code displays fine but when I tried to print / export to PDF , the Viewer postbacks but nothing happens. If i remove the barcode from report, printing and exporting to PDF works fine. I spent lots of time debugging this issue. Any advice to fix this issue?

 

Adobe Version: 10.1.1

Code39two bar code font used in report. Tried differrent types of Code39 fonts.

 

Thanks for your help!

 

Elango

.NET program using Crystal Reports ActiveX Designer Run Time Library 10.0 (through COM INTEROP) crashes on Export() if report has user defined function

$
0
0

Our company has a legacy application (VB6) that uses Crystal Report Designer Runtime Library 10 to display/export reports created using Crystal Report 10.  That has been working fine for years.

 

Recently we are developing a web application which uses ASP.NET MVC to show those same reports. Both applications have to co-exist so we prefer as little changes to the reports or crystal report runtime library as possible. So we generated the Interop.craxdrt.dll through referencing the craxdrt.dll from Visual Studio and use it to manipulate the reports. The back end Service exports the report as pdf file and the client display the pdf file on the web page. It works fine if the report does NOT have any User Defined Functions. For those reports that have VB UFL fields, the WCF service crashes on report.Export(). I made a test program in Visual Studio 2008 that uses interop.craxdrt.dll to simply export the report as pdf and it also CRASHES on report.Export() for reports using VB UFL.

 

So my question is how to solve this with minimum change?  Thank you in advance.

 

-Susan

Two battling CR runtime environments: one crashes the other

$
0
0

I have two custom programs: one relies on an Access db, the other uses an Oracle db.

I have CR 11 installed (all options).

Each vendor provides their own unique CR Runtime environment.

 

The Oracle-based program works great with our custom CR reports. We have this same setup on several users' Windows 7 PCs (32&64 bit). We don't install the CR, just the vendor-supplied RTE for these installations. A few users can write their own reports so they will have the full CR installed as well.

 

However, when I install the Access-based program and install then its CR RTE the Oracle-based program can no longer access our external CR reports.

 

I've scoured the web looking for any info on the CR RTE and how to configure it. Nada.

 

Is there a way for ME to look at the components of the CR RTE that each vendor's RTE is using and then somehow COMBINE them so ONE RTE will work for BOTH programs?

 

(NOTE: we previously approached the vendors a few years back to come up with a solution and it never got anywhere, As a work-around we had one PC set up with the ACCESS db only. Now we are upgrading all XP machines to Win 7 and want to eliminate this stand-alone XP machine and have both apps run on the same Win 7 PC.)

 

SAP CR Gurus! What say ye?

 

-Rich M in CLE OH


Web CrystalReportViewer error when trying to go to the next page or search

$
0
0

Recently I've updated my solution to CrystalReports for VS2010 (now I have 13.0.2000.0 version along with .NET 4.0 and C#). When I used CrystalReports 10.5.3700.0 CrystalReportViewer was situated inside an UpdatePanel and controlled with my own toolbar and everything worked fine. After an update this stuff refused to work at all (CrystalReportViewer was simply blank) and I according to advices on this board removed all UpdatePanels and ScriptManager from my page and began to use native CrystalReportViewer toolbar. Now first page of the report is rendering properly and Print and Export buttons of the native toolbar are working fine but when i'm trying to go to the next page of a report, I see only word "Error" in the report's area.

 

Fiddler log for this request:

POST http://127.0.0.1:56507/reportview.aspx?report=forms_graph&from_d=01.12.2007+00%3a00%3a00&to_d=22.03.2010+23%3a59%3a59&s%5b%5d=74%2c95%2c112%2c97%2c139%2c96%2c125%2c113%2c98%2c128%2c144%2c90%2c141%2c80%2c75%2c118%2c109%2c71%2c72%2c94%2c73%2c3%2c2%2c81%2c133%2c82%2c117%2c140%2c127%2c137%2c131%2c143%2c116%2c129%2c111%2c87%2c88%2c120%2c110%2c124%2c145%2c146%2c134%2c135%2c138%2c108%2c101%2c136%2c142%2c76%2c6%2c47%2c10%2c4%2c53%2c102%2c91%2c11%2c99%2c50%2c114%2c132%2c115 HTTP/1.1
Host: 127.0.0.1:56507
Connection: keep-alive
Referer: http://ipv4.fiddler:56507/reportview.aspx?report=forms_graph&from_d=01.12.2007+00%3A00%3A00&to_d=22.03.2010+23%3A59%3A59&s%5B%5D=74%2C95%2C112%2C97%2C139%2C96%2C125%2C113%2C98%2C128%2C144%2C90%2C141%2C80%2C75%2C118%2C109%2C71%2C72%2C94%2C73%2C3%2C2%2C81%2C133%2C82%2C117%2C140%2C127%2C137%2C131%2C143%2C116%2C129%2C111%2C87%2C88%2C120%2C110%2C124%2C145%2C146%2C134%2C135%2C138%2C108%2C101%2C136%2C142%2C76%2C6%2C47%2C10%2C4%2C53%2C102%2C91%2C11%2C99%2C50%2C114%2C132%2C115

__EVENTTARGET=StatReportViewer
__EVENTARGUMENT={"0":{"rptViewLabel":"u0413u043Bu0430u0432u043Du044Bu0439 u043Eu0442u0447u0435u0442", "gpTreeCurrentExpandedPaths":{}, "vCtxt":"/wEXAwUVSXNMYXN0UGFnZU51bWJlcktub3duaAUOTGFzdFBhZ2VOdW1iZXICAQUKUGFnZU51bWJlcgIB", "pageNum":1}, "common":{"width":"350px", "Height":"", "enableDrillDown":false, "drillDownTarget":"_self", "printMode":"Pdf", "displayToolbar":true, "pageToTreeRatio":6, "pdfOCP":true, "promptingType":"html", "viewerState":"...(HUGE VIEWSTATE STUFF)...", "rptAlbumOrder":["0"], "toolPanelType":"None", "toolPanelWidth":200, "toolPanelWidthUnit":"px", "iactParams":[], "paramOpts":{"numberFormat":{"groupSeperator":" ", "decimalSeperator":","}, "dateFormat":"dd.MM.yyyy", "timeFormat":"H:mm:ss", "dateTimeFormat":"dd.MM.yyyy H:mm:ss", "booleanFormat":{"true":"u0438u0441u0442u0438u043Du0430", "false":"u043Bu043Eu0436u044C"}, "maxNumParameterDefaultValues":"200", "canOpenAdvancedDialog":true}, "zoom":100, "zoomFromUI":false, "lastRefresh":"01.09.2011 15:14:03"}, "curViewId":"0"}
__VIEWSTATE=/wEPDwUKMTY3NzU4MzI2OQ9kFgICAw9kFgICEw8XAGQYAQUeX19Db250cm9sc1JlcXVpcmVQb3N0QmFja0tleV9fFgIFEUxvZ2luU3RhdHVzJGN0bDAxBRFMb2dpblN0YXR1cyRjdGwwMw==
StatReportViewer_toptoolbar_search_textField=Find...
text_StatReportViewer_toptoolbar_selectPg=1 of 1+
text_StatReportViewer_toptoolbar_zoom=100%

 

On a reloaded page I see just a text "Error" in CrystalReportViewer area and the following stack trace in html markup:

Inner Stack Trace:   at CrystalDecisions.Shared.Json.JsonArray..ctor(JsonTokener x)   at CrystalDecisions.Shared.Json.JsonTokener.NextValue()   at CrystalDecisions.Shared.Json.JsonObject..ctor(JsonTokener x)
Stack Trace:   at CrystalDecisions.Shared.Json.JsonObject..ctor(JsonTokener x)   at CrystalDecisions.Shared.Json.JsonTokener.NextValue()   at CrystalDecisions.Shared.Json.JsonArray..ctor(JsonTokener x)   at CrystalDecisions.Shared.Json.JsonArray..ctor(String string_Renamed)   at CrystalDecisions.Web.ReportAgentBase.LoadViewState(Object viewState, Boolean bRptSourceChangedByNavigation)   at CrystalDecisions.Web.ReportAgent.LoadViewState(Object viewState, Boolean bRptSourceChangedByNavigation)   at CrystalDecisions.Web.CrystalReportViewerBase.LoadViewState(Object viewState)   at CrystalDecisions.Web.CrystalReportViewer.LoadViewState(Object viewState)

 

I don't know what additional information about this issue will be helpful. Any kind of help will be highly appreciated.

 

Issue with Report Viewer in WEB. VARCHAR2 Field Oveflowing (Not Truncated)

$
0
0

Dear Forum

 

Can someone tell me if there is an issue with the report viewer when viewing reports over the web

 

I have a report that displays an address. The field length is 305 chars long the field type is varchar2. Connection is to an Oracle Dbase

 

The field is naturally truncated so that not all the data is displayed (This is ok and by design. I know this is a bit strange)

 

If i display the report in using the report viewer where the report viewer is embeded on a page (winforms) teh report appears fine. Field is truncated as expected.

 

If i display the same report over the web using the report viewer the field overlays the adjacent field and the data is scrambled.

 

I have exported the report produced over the web back as a crystal report to see if there was any change to the reports design (there is not)

 

I would expect the behavior to be the same irrespective.

 

A customer is complaining about this issue. We would like to go back to them with an explination.

 

I enclose screen shots from 1) teh winforms version and 2) the version over the web.

 

And yes they are the same report

 

With Kind Regards

 

Paul

Crystal Report for VS SP6 crashes randomly on Windows Server 2008 R2

$
0
0

Dear community,

 

I'm in front of a very incomprehensible printing issue.

 

I have a .NET (4.0) application, hosted on a server, that generates reports and spooled them to a dedicated printer spooler server.

 

I'm using Crystal Report XI SP6 for the document's generation.

 

 

This application run perfectly on Windows Server 2003 without any crash.

 

 

Now, both processing and printer spooler servers have been migrated on Windows Server 2008 R2.

 

When I reach printers with the network name (\\myserver\myprinter\), I have got randomly crashes with comexception, win32exception or invalidprinterexception (with a failure rate close to 50% !)

 


We tried lots of ways to solve this issue :

 

- grant user rights -> KO

 

- upgrade Crystal Report to SP8 -> KO

 

- change printer driver -> KO (crashes occures with HP, LEXMARK, CANON.... printers)

 

- customize print processor of printer driver.... -> KO

 

 

 

The only workaround we found : to map each printer in local to the processing server.

(but this trail is not possible because of the very large number of servers and printers we have)

 


So... I don't understand why by this way we didn't have any crash ?

 

Is there a specific setup for PrinterSettings, before calling the method "PrintToPrinter" of Crsytal Report Framework, when we execute the application under WS 2008 R2 (64 bits kernel English)?

 

How can I be sure that the origin of these crashes doesn't come from Crystal Report ?

 

 


Any help will be very very appreciate !

 

Thanks in advance
Julien

 


Examples of exceptions

 

#1

 

System.ComponentModel.Win32Exception (0x80004005): The handle is invalid
   at System.Drawing.Printing.PrinterSettings.GetHdevmodeInternal(String printer)
   at System.Drawing.Printing.PrinterSettings.GetHdevmode(PageSettings pageSettings)
   at System.Drawing.Printing.PrintController.OnStartPrint(PrintDocument document, PrintEventArgs e)
   at System.Drawing.Printing.StandardPrintController.OnStartPrint(PrintDocument document, PrintEventArgs e)
   at System.Drawing.Printing.PrintController.Print(PrintDocument document)
   at System.Drawing.Printing.PrintDocument.Print()
   at CrystalDecisions.CrystalReports.Engine.FormatEngine.PrintToPrinter(PrinterSettings printerSettings, PageSettings pageSettings, PrintLayoutSettings layoutSettings, Boolean reformatReportPageSettings)
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintToPrinter(PrinterSettings printerSettings, PageSettings pageSettings, PrintLayoutSettings layoutSettings, Boolean reformatReportPageSettings)
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintToPrinter(PrinterSettings printerSettings, PageSettings pageSettings, Boolean reformatReportPageSettings)
   at Service.Printing.SIPrinting.PrintReportToPrinter(ReportClass report, PrinterSettings ptSettings, PageSettings pgSettings, Int32 nbCall)
   at Service.Printing.SIPrinting.PrintToPrinter(TransfertPrintData data, ReportClass report)

 


#2

 

System.Drawing.Printing.InvalidPrinterException: Settings to access printer '\\myprinterspoolerserver\myprinter' are not valid.
   at System.Drawing.Printing.PrinterSettings.GetHdevmodeInternal(String printer)
   at System.Drawing.Printing.PrinterSettings.GetHdevmode(PageSettings pageSettings)
   at System.Drawing.Printing.PrintController.OnStartPrint(PrintDocument document, PrintEventArgs e)
   at System.Drawing.Printing.StandardPrintController.OnStartPrint(PrintDocument document, PrintEventArgs e)
   at System.Drawing.Printing.PrintController.Print(PrintDocument document)
   at System.Drawing.Printing.PrintDocument.Print()
   at CrystalDecisions.CrystalReports.Engine.FormatEngine.PrintToPrinter(PrinterSettings printerSettings, PageSettings pageSettings, PrintLayoutSettings layoutSettings, Boolean reformatReportPageSettings)
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintToPrinter(PrinterSettings printerSettings, PageSettings pageSettings, PrintLayoutSettings layoutSettings, Boolean reformatReportPageSettings)
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintToPrinter(PrinterSettings printerSettings, PageSettings pageSettings, Boolean reformatReportPageSettings)
   at Service.Printing.SIPrinting.PrintReportToPrinter(ReportClass report, PrinterSettings ptSettings, PageSettings pgSettings, Int32 nbCall)
   at Service.Printing.SIPrinting.PrintReportToPrinter(ReportClass report, PrinterSettings ptSettings, PageSettings pgSettings, Int32 nbCall)
   at Service.Printing.SIPrinting.PrintToPrinter(TransfertPrintData data, ReportClass report)
   at Service.Printing.SIPrinting.PrintCrystalReportWithHeader(TransfertPrintData data)
   --- End of inner exception stack trace ---

 

Message was edited by: Don Williams

Load Report failed: Invalid Field Name

$
0
0

Using SAP Crystal Reports runtime for .NET Framework 13.0.6.1027.

 

When we attempt to open a report through the API, we get the following stack trace:

 

CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException:

Invalid field name.

test {F5113347-127C-404A-8BDC-F80657C83034}.rpt

 

I have removed all the database fields, formulas, etc from the report so that it is just a shell at this point, and we still get this error. This report would load fine using the legacy RDC API, but as soon as we switched to .NET, the "Invalid Field Name" error was thrown.

 

It is not a security/permissions issue. We are able to open other reports using the .NET interface properly. Certain reports only are causing this error. I attached the report file (please rename to .rpt as the form would not allow me to attach it otherwise).

 

Any assistance would be greatly appreciated as we have spent a considerable amount of time trying to debug this issue, without success.

Crystal Report Displaying Blank in Hosting Server

$
0
0

Sir,

        I am using Crystal report with Visual Studio 2010, the version of Crystal Report is : 13.0.2000.0.

        My crystal Report is working fine in my development machine.

        When I hosted it to server it displaying blank.

        And I have copied C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\crystalreportviewers13 to my Root directory in my server.

        When I check the browser Inspect element. I getting the following error.

  1. GET http:///aspnet_client/system_web/4_0_30319/crystalreportviewers13/promptengine-compressed.js 406 (Not Acceptable) allInOne.js:10
    1. MochiKit.Base.update.sendXMLHttpRequestallInOne.js:10
    2. bobj.loadJSResourceAndExecCallBackallInOne.js:12
    3. bobj.crv.Viewer.updatePromptDialogallInOne.js:12
    4. bobj.crv.Viewer.showPromptDialogallInOne.js:12
    5. bobj.crv.ViewerListener._onPromptDialogUpdateallInOne.js:12
    6. (anonymous function)allInOne.js:12
    7. FallInOne.js:10
    8. bobj.event.publishallInOne.js:12
    9. (anonymous function)Report_Viewer.aspx?Bill_No=139:84
    10. B

 

        Please help me to solve this issue.

 

Thanks,

Udhaya Kumar .C

Change of text field height in Crystal Report 2013

$
0
0

I migrate from Visual Studio 2003+Crystal Reports for Visual Studio .NET to Visual Studio 2012+SAP Crystal Report 2013.

When running the migrated program, The lower part of the Text is not visible.

Program is changing text field's font size at runtime. Text field's height is expanding, when run at vs2003. But vs2012 is not.

Please tell me the reason and how to solve the problem.

 

old environment:

Windows XP SP3

.Net Framework 1.1

Visual Studio 2003

Crystal Reports for Visual Studio .NET

 

new environment:

Windows7 SP1

.Net Framework 4.5

Visual Studio 2012

SAP Crystal Reports 2013 14.1.1.1036

 

sample code:

' MyReportClass is CrystalDecisions.CrystalReports.Engine.ReportClass

Dim report As New MyReportClass

 

' get FieldObject

Dim field As CrystalDecisions.CrystalReports.Engine.FieldObject

field = report.ReportDefinition.ReportObjects("textField1")

 

Debug.WriteLine(field.Height)    ' design time height=208twip

 

' change font size at runtime from 10pt to 14pt

Dim font As New System.Drawing.Font(field.Font.FontFamily, 14)

field.ApplyFont(font)

 

Debug.WriteLine(field.Height)    ' vs2003 height=280twip, vs2012 height=208twip

 

' set DataSource

Dim dt As New DataTable

dt.Columns.Add("textField1")

dt.Rows.Add("123456789")

report.SetDataSource(dt)

 

' viewer is CrystalReportViewer

viewer.ReportSource = report

Dynamic pick list values missing in web viewer

$
0
0

We have a report that uses a dynamic pick list to allow the user to select values from a list loaded from the database. When I run the report in the designer, I get prompted with a pick list. We run this report in a web UI and on one server we get the list and on another where the list is supposed to be we get a free-form text entry field that allows me to type in anything at all.

 

There is zero feedback from CR about what, if anything, went wrong. No event log entries, no dialog boxes, nothing. I have absolutely no idea where to even begin looking for a solution.

 

The non-working server is using the 64 bit runtime engine for .Net 4, 13.0.3.612 and the working one is running 13.0.2.469. I don't see anything in the release notes suggesting that the was anything "fixed" in the newer version that would break dynamic pick lists.


Crystal Reports Crash App when Setting SetDataSource(DataSet)

$
0
0

Running VB.NET 4.0 Full

VS 2010

 

Everytime we use SetDataSource and use a DataSet it Crashes the application but this only happens when the App is installed it does not happen in the Development Environment.  With our Installer we have .Net 4.0 Full, and the  CRRuntim_32bit_13_0_4.msi as Prerequisites to installing the app and also have the CRRuntime_13_0_4.msm merge module included.  Is there something that we are not including in the installer that needs to be in order to prevent this function from crashing our app??

 

Any help would be appreciated, and if more information is needed let me know.

Export to printer utf-8

$
0
0

Hi

 

I'm using VS 2008 to create invoice documents. It is intended that we can create PDF's (ExportToDisk (PDF)) en that we can print (ExportToPrinter)

 

The data is coming from an XML file with Encoding UTF-8.

 

When creating a PDF, no problem. All special charaters like Iñtërnâtiônàlizætiøn are correctly in the PDF.

 

However when exporting to printer, characters are printed incorrectly.

 

Printing the same text with notepad, print is correct.

 

Does anybody ran to the some problem??

 

Kind regards

 

Michel Jansen

Navigation Previous, Next not working

$
0
0

Navigation - Go to Previous Page and Go to Next Page are not working properly. It works only for page 1 and 2.

 

Using SAP Crystal Reports, Developer Version for Microsoft Visual Studio version 13.0.8.1216.

Crystal Reports Activex viewer has been used to display reports.

 

Is this issue fixed any other version

 

--Jagannath

How to set a report culture for number and date

$
0
0

Hi,

 

Is there a way to change the report locale for the number and date?

 

I've tried using both CrystalDecisions.Share.SharedUtils.RequestLCID and CrystalReportViewer.SetProductLocale and neither work

 

The only one that work is to use the Thread.Culture. But that also change the application culture, not just the report.

 

Anyone have a solution?

 

Thank

'Reuse' the .tmp and .rpt files.

$
0
0

I've got an issue where I need to scan through left over .rpt and .tmp files.

These files are left over because (we assume) the export to the printer has failed in such a way that Dispose or Close wasn't called.

 

We can't instruct the user to print the report again, because printing is happening automatically and the user isn't aware of the result (printed yes or no).

The printouts are picked up by another department that is unaware of how many reports should have been printed.

Can the report be printed again using the .rpt and or .tmp?

 

If not, can we distill the parameters that the report export was started with from either the .rpt or .tmp file?

Thank you for your effort.

Viewing all 3636 articles
Browse latest View live


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