Search code examples
c#barcodebarcode-scannermotorola-emdk

Symbol.Barcode2 not found


I am working on an application for Motorola MC92NO. When I run the application, it works up until when you click on something that involves using the Barcode function. When you click on something that uses barcode functions, I get the following error message:

Error
An unexpected error has occurred in InventoryTracking.exe.
Select quit and then restart this program, or select details for more information.
File or Assembly name 'Symbol.Barcode2, Version = 2.9.0.0, Culture = neutral, PublicKeyToken = 6asdasdasfasdfasdf', or one of its dependencies, was not found.

When I select details, I get

TypeLoadException

And the same message as earlier.
I am very new to this and have been stumped about this issue.

It is important to note that, this device I am using is an IT test device and has been played around with a lot. For instance, I had a SQLServerException issue before this and that was because this device was missing some SQL .cab files. I got the .cab files from my boss and installed SQL Server and that problem is gone now.

So, do you guys think I am probably missing the barcode program as well? When I press the trigger, I see the laser beam. So I don't know.

Any help would be appreciated.

Thank you


Solution

  • Ensure that you copy the Symbol.Xxx libraries to your device, in the folder the application is installed.

    These libraries are needed to translate .NET requests to the native barcode libraries.