We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Error 'Cannot find the Aspose.Barcode.lic' while running report from production environment

Hi,

I am able to run barcode report from all other environments (Dev, QA...) except in production environment. When i run the barcode report from production application , I am getting the following error. Any help regarding the same is appreciated.

An error has occurred during report processing. ---> Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for dataset 'DataSet1'. ---> Microsoft.ReportingServices.DataExtensions.XmlDP.XmlDPException: Failed to execute web request for the specified URL.
Soap Fault:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.IO.FileNotFoundException: Cannot find license 'Aspose.BarCode.lic'.
at Aspose.BarCode.े.१(String क़, Assembly २)
at Aspose.BarCode.े.ॗ(String क़, Assembly ख़)
at Aspose.BarCode.License.SetLicense(String licenseName)

Thanks

Hi,


Sorry for delayed response.

Please share with us the system specifications of your production environment. Also please state the version of Aspose.BarCode that you are using. This information is very important to understand the cause of your problem.

As the exception says, your production server is missing the License file. Can you please recheck the presence of your License file?

Thanks for your cooperation

Hi,

Please find the below specifications of the production environment.

IIS Server(s):<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

OS: Windows Server 2008 R2 Enterprise 64-bit

IIS version: 7.5

SQL Server(s):

OS: Windows Server 2008 R2 Enterprise 64-bit

SQL: SQL 2008 R2 (10.50.1600)

File Server(s):

OS: Windows Server 2008 R2 Enterprise 64-bit

Installed Role: File Services

SSRS Server:

OS: Windows Server 2008 32-bit

SSRS: 2008

We have checked for the Aspose barcode license file in the prodcution IIS Server, we could'nt find the license file. But the thing is other environments like QA and Tranining also does not have the license file. They are working fine and able to generate the barcode report. Only production application has the issue with generating the barcode report.

Thanks,

Hi,


Please refer to http://www.aspose.com/documentation/ssrs-rendering-extensions/aspose.barcode-for-reporting-services/setting-up-license.html page, the license file should be in the respective folders.

However, from the error message “System.IO.FileNotFoundException: Cannot find license ‘Aspose.BarCode.lic’.” it seems that you are adding the barcodes to header/footer of the report and using Aspose.BarCode for .NET product, could you please check, because the license file name for the reporting services product should be like “Aspose.BarCode.ReportingServices.lic”.

Hi,

We are not adding the barcode to the header and footer of the report, we are generating the barcodes in the body of the report. I am just wondering how is it working in all other environments by only using " Aspose.BarCode.lic" and not the Aspose.BarCode.ReportingServices.lic" for the reporting services.

Thanks,

Hi,


Could you please copy exactly the same set of dlls and lic files from the development server to the production and see if it works this way?