473,396 Members | 1,749 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Crystal report crash with exotic font

Hi,

Yesterday I was facing a weird problem using Crystal Reports in
VS2008. I have to make print label for supermarket products.

They use an exotic lettertype for the price, being MarkerGD.
It appears that if I change the lettertype to a known one as century
gothic, the application doesn't crash.

My code is:

BL.LidlBase.CrystalReportProductTickets cr = new
Lidl.BL.LidlBase.CrystalReportProductTickets();
cr.SetDataSource(dsProducts);

CrystalDecisions.Shared.ExportOptions o = new
CrystalDecisions.Shared.ExportOptions();
o.ExportDestinationType =
CrystalDecisions.Shared.ExportDestinationType.Disk File;
o.ExportFormatType =
CrystalDecisions.Shared.ExportFormatType.PortableD ocFormat;

cr.ExportToDisk(CrystalDecisions.Shared.ExportForm atType.PortableDocFormat,
filename);

It crashes on the call to ExportToDisk (see below for exception
detail)

Does anybody have a clue how to get it working with the MarkerGD
lettertype?

I'm sure that it's the font type, cause when I change the font to a
common one, the pdf gets created
without any error.

The error that I got is the following:

CrystalDecisions.CrystalReports.Engine.InternalExc eption was unhandled
by user code
Message="\rError in File C:\\TEMP\\temp_b09f6dfc-a535-4bd7-
a025-1e2eba795367 {3F6F01B2-9F16-4F00-918D-098CD4743E1F}.rpt:
\nOperation not yet implemented."
Source="CrystalDecisions.ReportAppServer.DataSetCo nversion"
StackTrace:
at
CrystalDecisions.ReportAppServer.ConvertDotNetToEr om.ThrowDotNetException(Exception
e)
at
CrystalDecisions.ReportSource.EromReportSourceBase .ExportToStream(ExportRequestContext
reqContext)
at
CrystalDecisions.CrystalReports.Engine.FormatEngin e.ExportToStream(ExportRequestContext
reqContext)
at
CrystalDecisions.CrystalReports.Engine.FormatEngin e.Export(ExportRequestContext
reqContext)
at
CrystalDecisions.CrystalReports.Engine.ReportDocum ent.ExportToDisk(ExportFormatType
formatType, String fileName)
at Lidl.LidlIntranet.TicketPrinter.PrintReport.Page_L oad(Object
sender, EventArgs e) in C:\development\LidlIntranet\LidlIntranet
\TicketPrinter\PrintReport.aspx.cs:line 56
at System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr
fp, Object o, Object t, EventArgs e)
at
System.Web.Util.CalliEventHandlerDelegateProxy.Cal lback(Object sender,
EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
InnerException: System.Runtime.InteropServices.COMException
Message="\rError in File C:\\TEMP\\temp_b09f6dfc-a535-4bd7-
a025-1e2eba795367 {3F6F01B2-9F16-4F00-918D-098CD4743E1F}.rpt:
\nOperation not yet implemented."
Source=""
ErrorCode=-2147482649
StackTrace:
at
CrystalDecisions.ReportAppServer.Controllers.Repor tSourceClass.Export(ExportOptions
pExportOptions, RequestContext pRequestContext)
at
CrystalDecisions.ReportSource.EromReportSourceBase .ExportToStream(ExportRequestContext
reqContext)
InnerException:

Thanks!

Kind regards,

Koen
Oct 15 '08 #1
0 1986

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Dr. Indera | last post by:
hello, i previously posted the questions below on several crystal reports newsgroups, including the one for the company that makes crystal reports, but never got an answer, so i'm hoping that...
0
by: John | last post by:
I am trying to use a MICR TTF font in a crystal report pdf export. The way it works is that a user selects some options on an ASP page, which then exports a crystal report to a PDF file and pops...
0
by: Henry | last post by:
Using ideas provided by some of you I was able to figure out how to get the names of the parameters fields of a crystal report specified at run time. The code below just basically puts the...
1
by: warlord | last post by:
In order to save typing, I've borrowed the text from a post of nearly 12 months ago.....but the problem still exists. I've been banging my head all day with this, so I'm hoping someone has some...
3
by: crjunk | last post by:
Currently I have a Crystal Report that automatically loads as a PDF in the browser whenever the user views the report. This is working great. What I would like to do is add code that automatically...
4
by: Mike | last post by:
Hi We are developing an ASP.NET 2.0 application and using the in built Crystal report system that it comes with. We have everything running fine on our development server but when we publish...
0
by: hani.mansour | last post by:
Hello all ,. I'm trying to add a crystal report into my project, every time i try to do so, vs.net will crash ... so i cant open/create or load crystal report..is it some thing to do with the...
1
by: jvskarthick | last post by:
Hi I am very new to crystal reports at present I am working with Crystal reports actually my requirement is, I have to create verity of reports more then 100 reports. After creating the reports if...
0
by: =?Utf-8?B?QWJieQ==?= | last post by:
Can ne1 tell me what is the best way to handle barcode fonts in crystal report? I installed IDAutomationHC39M barcode font on my machine and used it in the report. when i used it it shows me the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.