Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

operation failed
Started by Borja at 04-01-2008 4:00. Topic has 9 replies.

Print Search « Previous Thread Next Thread »
  04-01-2008, 4:00
Borja is not online. Last active: 6/13/2008 9:50:36 AM Borja

Top 500 Posts
Joined on 02-04-2008
Posts 10
operation failed

Attachment: LeadToolsReadBarCodeLibrary.rar
Reply Quote
Hello:
 
We are working on a web application that load a DLL with reflection, with this DLL we are able to read barcodes.
In the local environment everything works fine, this machine have windows XP proff. and an extended evaluation  version v15 of LeadTools.
 
When we try the application in the development server (windows 2003 server), the application gives the following ERROR when we call the read function:
 
Facade.m_oBarcodeEngine.Read(image, searchRect, BarcodeSearchTypeFlags.Barcode1dReadAnyType, BarcodeUnit.ScanlinesPerPixels, BarcodeReadFlags.None,0, bar1d, barRPdf, barColor);
 
In the development server, we have installed LeadTools v14.5 full version in the HardDrive C:\, and the v15 version in the HardDrive E:\, the application displays the following ERROR:
 

Leadtools.RasterException: Operation failed

   at Leadtools.Barcode.BarcodeException.CheckErrorCode(Int32 code)

   at Leadtools.Barcode.BarcodeEngine.Read(RasterImage image, Rectangle searchRectangle, BarcodeSearchTypeFlags searchType, BarcodeUnit units, BarcodeReadFlags flags, Int32 multipleMaxCount, Barcode1d code1d, BarcodeReadPdf codePdf, BarcodeColor codeColor)

   at com.mapfre.general.sgdb.sti.Plugings.LeadToolsReadBarCodeLibrary.ManagerReadBarCode.SearchReadBarCode(InReadBarCodeDTO inPluginOcrDto) in C:\Trabajo\WorkSapce\Mapfre\MAPFRE_COMUN_STI\Solucion\LeadToolsReadBarCodeLibrary\ManagerReadBarCode.cs:line 78

 

The application need to work with the v15 version, because we want to upgrade our current version.

 

We have done the validations with the same images on both machines.

 

 

Thanks.


   Report 
  04-01-2008, 10:01
Maen Hasan is not online. Last active: 10/5/2008 10:18:54 AM Maen Hasan



Top 10 Posts
Joined on 08-05-2004
Posts 1,744
Re: operation failed
Reply Quote
Hello,

One possible cause of the problem is failing to find or load the LEADTOOLS barcode DLLs at runtime, possibly due to permissions issues.

I tired to check the project that you sent, but it uses some non-LEAD references that I don't have.
If you create a small working project that only uses LEADTOOLS references and demonstrates the problem, please send me the project so that I can investigate more about this issue. You can either post it here or email it to support@leadtools.com

Thanks,
Maen Badwan
LEADTOOLS Technical Support
   Report 
  04-02-2008, 2:56
Borja is not online. Last active: 6/13/2008 9:50:36 AM Borja

Top 500 Posts
Joined on 02-04-2008
Posts 10
Re: operation failed

Attachment: example.rar
Reply Quote
In the small working proyect the error remains

   Report 
  04-03-2008, 2:38
Maen Hasan is not online. Last active: 10/5/2008 10:18:54 AM Maen Hasan



Top 10 Posts
Joined on 08-05-2004
Posts 1,744
Re: operation failed
Reply Quote
Hello,

To resolve the problem, try to copy the following DLLs to the project
\bin\Debug folder:

Leadtools.Barcode.dll
Leadtools.Codecs.dll
Leadtools.Codecs.Fax.dll
Leadtools.Codecs.Tif.dll
leadtools.dll
Leadtools.ImageProcessing.Core.dll
Leadtools.ImageProcessing.Utilities.dll
Ltbar6r15u.dll
Ltbar6w15u.dll
Ltbar7r15u.dll
Ltbar7w15u.dll
Ltbar8r15u.dll
Ltbar8w15u.dll
Ltbar415u.dll

You can find these DLLs on the following folder on your machine:
[LEADTOOLS 15]\Bin\Dotnet\Win32

Thanks,
Maen Badwan
LEADTOOLS Technical Support
   Report 
  04-21-2008, 16:37
hturnage is not online. Last active: 5/8/2008 4:05:02 PM hturnage

Top 500 Posts
Joined on 01-18-2007
Posts 9
Re: operation failed
Reply Quote
I'm having the same issue. I've included all the above assemblies as references in my application and it persists.

What else do you suggest I look at? My code works locally.
   Report 
  04-21-2008, 16:46
hturnage is not online. Last active: 5/8/2008 4:05:02 PM hturnage

Top 500 Posts
Joined on 01-18-2007
Posts 9
Re: operation failed
Reply Quote
To add a little background, my barcode search code is in a assembly with all the necessary references listed above. My main application calling this assembley unlocks 1d barcoding.

Does an operation failed only come from missing leadtools assemblies? Could it be a permission issue?
   Report 
  04-22-2008, 3:13
Maen Hasan is not online. Last active: 10/5/2008 10:18:54 AM Maen Hasan



Top 10 Posts
Joined on 08-05-2004
Posts 1,744
Re: operation failed
Reply Quote
Hello,

What is the operating system that you use?

Do you face this issue on the development or the deployment machine?

Are you working on a web or windows application?

Thanks,
Maen Badwan
LEADTOOLS Technical Support
   Report 
  04-22-2008, 9:39
hturnage is not online. Last active: 5/8/2008 4:05:02 PM hturnage

Top 500 Posts
Joined on 01-18-2007
Posts 9
Re: operation failed
Reply Quote
What is the operating system that you use?
My dev and deployment machines are Windows XP

Do you face this issue on the development or the deployment machine?
The dev machine is working just fine, deployment isn't

Are you working on a web or windows application?
It's a windows service.
   Report 
  04-22-2008, 10:18
jigar is not online. Last active: 10/3/2008 1:08:01 PM jigar



Top 10 Posts
Joined on 08-22-2007
Posts 421
Re: operation failed
Reply Quote
Try putting the ltbar*15u.dll files in the system32 folder.

LEADTOOLS Technical Support
   Report 
  04-22-2008, 10:58
hturnage is not online. Last active: 5/8/2008 4:05:02 PM hturnage

Top 500 Posts
Joined on 01-18-2007
Posts 9
Re: operation failed
Reply Quote
Figured it out! The box that I deployed the application to had an expired version of Raster Imaging Pro. After uninstalling and reinstalling with a valid serial code it's working now.
   Report 
Post
LEAD Support Fo... » LEAD/Axtel Barc... » Barcode » operation failed

Powered by Community Server, by Telligent Systems