New User? Sign Up  |  Sign In  |  Help
Barcode support and
tutorials from IDAutomation
and the community.
Click for the BBB Business Review of this Computers Hardware, Software & Services in Tampa FL
Resolved Questions Bookmark and Share
Dany74m

.NET app + Crystal Reports = System.AccessViolationException

We need to integrate Data Matrix Barcodes in our workflow, so I'm evaluating your plugin. We use Crystal Reports and I have been able to create successfully a Data Matrix barcode using your UFL. We normally use a custom .NET application that pass a parameter to a Crystal Report workflow to generate massive custom labels. If I call from my application a report containing your plugin to generating a Data matrix, my app crashed and I got a System.AccessViolationException. Do you have any idea why this happens? All the other reports that do not contain the Data Matrix Plugin works fine.

Thank you.

Daniel

Operating System: windows 2000 server

Application: .net, crystal reports 9

12-05-14     1716 day(s) ago    

  Report Abuse

 

Ben

Best Answer

Unfortunately, I am not familiar with the error. You could test by using the Native Generator for Crystal Reports sample report download as this does not require a plug-in or UFL. If it checks out okay, then it is probably a compatibility issue with the UFL? If the error continues to occur, then the issue is coming from something else.

Posted 1713 day(s) ago

()
()
  Report Abuse
 
Find Interesting
 
Email to Others
 
Bookmark
 
Subscribe to Answer Alert
No comments yet.     Be the first to comment.
Other Answers (6)

Ben
Yes. The 30 Day Money Back Guarantee includes any reason including product lack of performance. It is completely unconditional.

If you have any questions, let me know.

Posted 1710 day(s) ago

()
()
   Report Abuse

Dany74m
Thanks Ben.

In our company we print a large volume of label, so for us the performance are crucial. If we would face any performance issue, can we use the 30-day money-back guarantee?

Thank you.

Posted 1711 day(s) ago

()
()
   Report Abuse

Ben
Because the formula is native code, it will be significantly slower (compared to the UFL) when printing multiple barcodes. I am not sure of another solution.

Posted 1712 day(s) ago

()
()
   Report Abuse

Dany74m
I appreciated your quick reply.

I tried the static version, and its working fine. So basicaly, its a VB script function to add in crystal report that encode an input string right? My main concern is about performance, that I'm not able to test with the static one. How long do you think it will take to generate 100 labels on an average computer?

Thank you.

Posted 1713 day(s) ago

()
()
   Report Abuse

Dany74m
Hi, thank you for your quick answer.

My app is written in vb.net and I'm using IDAutomation.com DataMatrix Font and Encoder for Windows DEMO .

This is the error I catched in the event viewer:

Application: PRIME.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
at PRIME.CrappyGlobals.PEStartPrintJob(Int16, Int16)
at PRIME.modCRW.ProcessPrintJobCRW(PRIME.clsPrintJob, System.String ByRef)
at PRIME.modCRW.ProcessJobCRW(PRIME.clsPrintJob, System.String ByRef)
at PRIME.modProcess.ProcessJob(PRIME.clsPrintJob ByRef)
at PRIME.modProcess.ProcessQueuedJobs()
at PRIME.frmPRIME.tmrPRIMETimer_Tick(System.Object, System.EventArgs)
at System.Windows.Forms.Timer.OnTick(System.EventArgs)
at System.Windows.Forms.Timer+TimerNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
at System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
at System.Windows.Forms.Application.RunDialog(System.Windows.Forms.Form)
at System.Windows.Forms.Form.ShowDialog(System.Windows.Forms.IWin32Window)
at System.Windows.Forms.Form.ShowDialog()
at PRIME.modPRIME.Main()


Faulting application PRIME.exe, version 3.0.13.0, time stamp 0x51f18e2a, faulting module unknown, version 0.0.0.0, time stamp 0x00000000, exception code 0xc0000005, fault offset 0x00f0d680, process id 0x%9, application start time 0x%10.

Posted 1713 day(s) ago

()
()
   Report Abuse

Ben
Because we have several products for Crystal Reports, what IDAutomation Crystal implementation are you using?

I will need a bit more information before I could tell what might be going wrong. Is System.AccessViolationException the entire/only error message?

There are two solutions that use embedded formulas and not likely to produce any kind of error (because they are native to Crystal). Neither solution uses a UFL/dll.

If you have not done so, consider looking into these solutions:

Crystal Native Generator
Data Matrix Fonts with Crystal Font Formulas

Posted 1715 day(s) ago

()
()
   Report Abuse
Email this question link to friends
You must enter an email address, if name is entered or vice-versa for each friend.
Friend #1 -
Friend #2 -
Friend #3 -
Friend #4 -
Friend #5 -
  Your comment on this question
  |         |  
bold  italic  underline  strike       big  small       superscript  subscript 
  Allows to add a link. Added links would only be converted to actual clickable link, when the domain of the link is white-listed by administrator.
Caption :
Link URL :
(Must starts with "http://")
Add  |   Cancel
  Allow to insert an image. Must be among the following file types - *.jpg, *.gif, *.png & *.bmp.
Image Url :   Upload New
(Image url must always starts with " http:// ")
Width : pixels
(Must not be greater than 450px. Enter 0px for no resize)
Add  |   Cancel
  Allow to insert YouTube video. Insert the video embed code.
Embed Code :
Add  |   Cancel
Up to 5000 Characters are allowed. Current Count: 0
  Your comment on this answer
  |         |  
bold  italic  underline  strike       big  small       superscript  subscript 
  Allow you to add a link. Added links would only be converted to actual clickable link, when the domain of the link is white-listed by administrator.
Caption :
Link URL :
(Must start with "http://" or "https://")
Add  |   Cancel
  Allow to insert an image. Must be among the following file types - *.jpg, *.gif, *.png & *.bmp.
Image Url :   Upload New
(Image url must always start with "http://" or "https://")
Width : pixels
(Must not be greater than 450px. Enter 0px for no resize)
Add  |   Cancel
  Allow to insert YouTube video. Insert the video embed code.
Embed Code :
Add  |   Cancel
Up to 5000 characters are allowed. Current Count: 0

You may answer and comment on any thread according to the Terms and Conditions.

 © Copyright 2019 IDAutomation.com, Inc., All Rights Reserved. Legal Notices.

 Barcode Fonts | Components | Scanners | Support | Contact Us
Training Videos on YouTube Join us on Google Plus Join us on LinkedIn Follow us on Twitter Like us on Facebook