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
Lusken

IDAutomation QRCode Font and Encoder Buffer too Small Error

I am creating a crystal report to use the QRCode Font to generate a 2D barcode. I first tested the function using the demo license and everything work with no issue. I was able to generate the crystal report through our ERP system and the QR code was showing in the crystal reports viewer. Since getting a licensed version of the QRCode Font and Encoder and using the native formula, I am getting the error
Error 503 Buffer too small for the string or missing null byte
Formulas.setIndex(0) <PEGetNthFormula>
This is when opening the report with the crystal reports viewer.

Operating System: Windows 10 X64

Application: Crystal Reports 10 for Sage
Attachments:

07-22-19     59 day(s) ago    

  Report Abuse

 

Brant

Best Answer

It was determined that the report will run with either the ODBC database connection or the QR Code Native Formula, but not both together. The Crystal Viewer may not be able to process enough memory as the Crystal Report does. The QR Code Native Formula requires more internal processing and memory than making a call to the UFL. The solution was to use the UFL instead.

Posted 48 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 (9)

Lusken
I have not been able to find a newer version of the crystal viewer.
The Issue is with the formula only, since I am able to use the UFL driver that is sufficient for me.

Posted 48 day(s) ago

()
()
   Report Abuse

Brant
Has the issue been resolved? If so, please let us know what solved it.

Posted 49 day(s) ago

()
()
   Report Abuse

Brant
Check to see if there are any updates or service packs you can apply to Crystal that may eliminate the error. If that does not work, can you try another version of Crystal Reports?

Posted 55 day(s) ago

()
()
   Report Abuse

Lusken
I can only add pictures and links, I cannot add files to this post

When modifying my report to remove the database connections and send to you I saw that it was working.
I have determined that the report will run with either my ODBC database connection or the QR function, but not when using both together

Posted 55 day(s) ago

()
()
   Report Abuse

Brant
Can you attach a report that reproduces this that is using only static data?

Posted 55 day(s) ago

()
()
   Report Abuse

Lusken
Ok, Looks like the issue with the UFL was limited to my test machine. I installed on a new machine and am able to use the UFL, however I am still unable to use the example from the samples folder. On the new machine, using the sample with static data I still get a Buffer too small error.

This is when opening the report with the crystal reports viewer.

Posted 55 day(s) ago

()
()
   Report Abuse

Brant
Make sure the demo is not installed and if so uninstall it. Also, uninstall the purchased version. After that, reinstall the purchased version and reboot. If the problem still occurs after that, try to duplicate the error by taking the example from the examples folder of the product zip file and place static data in the example.

Posted 58 day(s) ago

()
()
   Report Abuse

Lusken
The UFL also throws an an error, "The visual basic UFL that implements this function is missing (or U2Lcom.dll is missing)"
The UFL would be what I used as part of the demo license, but since uninstalling the demo and installing a licensed version crystal can no longer find the UFL


I can use the formula fine in the designer and preview with static data, but when I move it the application it throws the small buffer error. I have removed all elements in the remote and left just the function with the formula. Perhaps there is a problem with the formula and the crystal viewer?

Posted 58 day(s) ago

()
()
   Report Abuse

Brant
Are you using the native formula or the UFL formula? Which ever one you are using if you could try the other one and let us know if the error still occurs. Also, can you duplicate the error by taking the example from the examples folder of the product zip file and place static data in the example and check to see if the barcode generates.

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