Getting Aspose.BarCode for SSRS 2012 to work in Visual Studio 2012
Generated Barcode is not getting displayed after deploying in the Report Server
We have a requirement to add barcode in SSRS 2012 reports. We found a product in your site and tried the demo version of that.
It was working fine from reporting service tool (SSRS). When we previewed the report from the tool we were able to see the barcode, but when we deployed the report in the report server the barcode wasn't getting displayed.
Below are the environment details:
Operating System: Windows Server 2012 Standard
Operating System Architecture Type: 64 bit Operating System
SQL Server Version: Sql Server 2012
Aspose Reporting Version: 6.2.0
Is Visual Studio 2012 supported
Re: Code128 Barcode / SSRS 2012
Adding Reporting Services Barcode component to VS2012
Another question, if we already have a report that has the barcode in it (it is viewable in Visual Studio 2012 designer and previewer) - can we deploy it successfully? Any help will be appreciated.
This message was posted using Email2Forum by Tilal Ahmad Sana.
Barcode Failing To Preview In Visual Studio
Hi
I have a named SQL instance and therefore had to install Aspose manually. I have added the control to the toolbox and can create the control on reports. However, when I attempt to preview the report, the control is not visible and I get the following warning...
[rsCRIControlFailedToLoad] The 'BarCode' extension failed to load the extension assembly. The custom reportitem 'BarCode1' will render the AltReportItem or preserve the white space if no AltReportItem is explicitly defined.
Please advise. I am running SQL Server 2012 Standard on Windows Server 2012 Standard 64 bit.
Thanks
Steve
Issue with Databar Schema
1. (01)*** - 13 or 14 digits
2. (up to 5 digits)*** - Max 100 chars (depending on text this value may be lower) . Allowed are: 0-9 A-Z a-z and some punctuations
3. (01)**(3103)** - AI 01 must start with 9. Value cannot be greater than 32767 and must be 6 digits long
4. (01)**(3202)** - AI 01 must start with 9. Value cannot be greater than 9999 and must be 6 digits long
5. (01)**(3203)** - AI 01 must start with 9. Value cannot be greater than 22767 and must be 6 digits long
6. (01)**(392x)** - AI 01 must start with 9. Value must be max 20 chars (see item 2). X must be between 0 and 3
7. (01)**(393x)** - AI 01 must start with 9. Value must be max 20 chars (see item 2). X must be between 0 and 3
8. (01)**(310x)*(11)** - Value (date) must be in YYMMDD format and must be 6 digits long
9. (01)**(320x)*(11)** - Value (date) must be in YYMMDD format and must be 6 digits long
10. (01)**(310x)*(13)** - Value (date) must be in YYMMDD format and must be 6 digits long
11. (01)**(320x)*(13)** - Value (date) must be in YYMMDD format and must be 6 digits long
12. (01)**(310x)*(15)** - Value (date) must be in YYMMDD format and must be 6 digits long
13. (01)**(320x)*(15)** - Value (date) must be in YYMMDD format and must be 6 digits long
14. (01)**(310x)*(17)** - Value (date) must be in YYMMDD format and must be 6 digits long
15. (01)**(320x)*(17)** - Value (date) must be in YYMMDD format and must be 6 digits long
barcodereader.read() occure InvalidOperationException
I'm use c# (VS2010, dot net ver4.0 client profile).
Barcode.net version is 6.6.0
I was buy it at this week.
and I downloaded it 1st Dec. 2014. ( a few days ago. )
first of all, Review simple code.
--------- Begin my CODE -----------------
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Aspose.BarCode;
using Aspose.BarCodeRecognition;
namespace BarcodeReader
{
public partial class cBarcodeReader : Form
{
cBarcode myBar;
public cBarcodeReader()
{
InitializeComponent();
myBar = new cBarcode();
MessageBox.Show(myBar.GetBarcode(@"D:\barcode\TestImg.bmp"));
this.Close ();
}
}
class cBarcode {
public cBarcode() {
Aspose.BarCode.License lic = new Aspose.BarCode.License();
lic.SetLicense(@"D:\barcode\Aspose.BarCode.lic");
}
public string GetBarcode(string filename) {
string ret = "";
BarCodeReader br = new BarCodeReader(filename, BarCodeReadType.Code128 |
BarCodeReadType.DeutschePostIdentcode |
BarCodeReadType.DeutschePostLeitcode |
BarCodeReadType.QR);
if (br.Read()) ret = br.GetCodeText(); // get only first code/
br.Close();
return ret;
}
}
}
--------- Finish my CODE -----------------
when I run this code (both debug and release mode). I got a InvalidOperationException at br.Read().
I don't know why.
please solve it.
Help me.
bar coe is not reading
Please find the sample code and the sample file.
The code is not reading the barcode.
private List<string> ReadBarcodesFromImage(ACS.PMO.IFOComp.IFOImage image)
{
List<string> barcodes = new List<string>();
// -- get the image path from the IFO
string FullImageName = image["ImageName"];
if (FullImageName == null || FullImageName.Trim() == string.Empty)
throw new Exception("IFO Line With No ImageName Attribute Found.");
if (!System.IO.File.Exists(FullImageName))
throw new Exception("Image Not Found At Path '" + FullImageName + "'.");
//if (FullImageName.StartsWith("\\\\"))
// FullImageName = FullImageName.Trim().Substring(1);
// -- read the barcodes
Aspose.BarCodeRecognition.BarCodeReader reader = new Aspose.BarCodeRecognition.BarCodeReader(FullImageName, Aspose.BarCodeRecognition.BarCodeReadType.Code39Extended);
try
{
string bc = string.Empty;
// -- loop the barcodes found
while (reader.Read())
{
bc = reader.GetCodeText().Trim();
// -- we want to check the barcode against the regex
// -- if we don't find a match, throw this barcode away
// -- but only do this logic if they have at least one regex defined
if (FRegExpressionList.Count > 0)
{
string bc2 = bc;
bc = string.Empty;
foreach (string f in FRegExpressionList)
{
if (System.Text.RegularExpressions.Regex.IsMatch(bc2, f))
{
bc = bc2;
//need to review this code...checking the regular expression with dcert(if match found)
//if (f == DcertRegx)
//GetAllDcertBarCodeDetails(bc);
break;
}
}
}
if (bc.Trim() != string.Empty)
barcodes.Add(bc.Trim());
}
}
finally
{
reader.Close();
reader = null;
}
return barcodes;
}
Feasibility of Reading multple barcode (fonte 3of9) at once
Hi
Have attached image which has bar codes for each field. Would like to know the feasibility to reading multiple fields of bar codes at once using Aspose APIs(java).. Please check and let me know the feasibility.
Thanks in advance.
Raji Reddy
Compact Framework Performance
2D DataMatrix Barcode can not read
2D Barcode-PDF417 -not reading values properly
Aspose.Barcode for java
This message was posted using Banckle Live Chat 2 Forum
BarCodeReader.Read() not reading barcode in the while loop
while (reader.Read())
{
Console.Write("Code Text: " + reader.GetCodeText());
Console.Write("Symbology Type: " + reader.GetReadType());
}
reader.Close();
The following will result in a barcode successfully being read without issue:
Console.Write("Code Text: " + reader.GetCodeText());
Console.Write("Symbology Type: " + reader.GetReadType());
reader.Close();
I have attached a copy of the PDF with barcode.
Thank you!
Example missing
seems that the "Insert BarCode in a Multi-page Tiff file" sample is not available anymore ....
The weird thing is that on github is listed as available example
https://github.com/asposebarcode/Aspose_BarCode_NET
but on Aspose Example Dashboard not. And of course Git Hub doesn't contains the named example.
Any idea ?
regards
G
Inconsistant results for Pharmacode recognition, depending on zoom level
Incorrect recognition of UPC vs EAN barcodes
PDF417 incorrectly recognized (version 6.5.0 & 6.6.0)
Very bad recognition results
We are using barcode recognition for a while now, but we allways get very bad recognition results. Sometimes out of 50% are not recognized correctly!
Now tried the new version of the library, with the following result:
Code128 is recognized more bad than in the previous version
Pdf417 still very bad results
The resolution of the documents are perfect. High resolutions scans (color) and after splitted with the Aspose.Pdf.Kit to PNG documents.
When downloding some freeware tools, we get perfect results with that!
What is wrong?
Regards
Christian