Installation Issue - Parser Error Message - Could not load type 'BarCodeWebVB.Global'

We previously have been using an older version and we are now trying to upgrade to the new features. We are running on Windows Server 2008 R2 64bit. After copying the sample Web Form, we are getting the following error, please assist or provide a precise walkthrough for setting up a basic environment. Our existing system is failing due to an inability to identify the BarCodeReader method, not sure where to start. We need the basic functionality to work before we can debug any further.

Parser Error Message:
Could not load type 'BarCodeWebVB.Global'.

Let me know, -=R=-

Hi,


Thank you for inquiry.

Following are the changes which needs to be done for upgrading from Aspose.BarCode for .NET 2.x to 3.x.
  • Add reference to the new dll for recognition. Aspose.BarCodeRecognition.dll
  • New namespace. Aspose.BarCodeRecognition
  • Symbology type can be set in constructor of BarCodeReader class (BarCodeReader.BarCodeReadType is no longer available)
  • BarCodeReader.Read() method now returns boolean value. Returns true, if barcode found, otherwise false. BarCodeInfo class is no longer available.
  • New method for getting symbology information for recognized barcode (BarCodeReader.GetReadType()). BarCodeInfo.BarCodeReadType property is no longer available.
  • New method for getting codetext of recognized barcode (BarCodeReader.GetCodeText()). BarCodeInfo.CodeText property is no longer available.
Old Code:
// set license for both barcode generation and recognition
Aspose.BarCode.License licGen = new Aspose.BarCode.License();
licGen.SetLicense(@“Aspose.Total.lic”);

// initialize the BarCodeReader
BarCodeReader reader = new BarCodeReader(“test.png”);
// set symbology type
reader.BarCodeReadType = BarCodeReadType.Code39Standard;
// get the information about all the detected barcodes
BarCodeInfo[] infos = reader.Read();
// display the detected barcode information in the loop
foreach (BarCodeInfo info in infos)
{
Console.WriteLine("Codetext: " + info.CodeText);
}

New Code:
// set license for barcode generation
Aspose.BarCode.License licGen = new Aspose.BarCode.License();
licGen.SetLicense(@“Aspose.Total.lic”);
// set license for barcode recognition
Aspose.BarCodeRecognition.License licRec = new Aspose.BarCodeRecognition.License();
licRec.SetLicense(@“Aspose.Total.lic”);

// initialize the reader
BarCodeReader reader = new BarCodeReader(“test.png”, BarCodeReadType.Code39Standard);
// read all the detected barcodes. Read() method returns bool now
while (reader.Read() == true)
{
// display the codetext
Console.WriteLine("Codetext: " + reader.GetCodeText();
}
// close the reader
reader.Close();

There are some new features available as well in 3.x versions. Please refer to http://www.aspose.com/documentation/.net-components/aspose.barcode-for-.net/working-with-barcode-recognition.html
for details and code examples.