Spire.Barcode is a professional barcode library specially designed for .NET developers (C#, VB.NET, ASP.NET, .NET Core) and Java developers (J2SE and J2EE) to generate, read and scan 1D & 2D barcodes.

Wed Aug 02, 2017 3:13 pm

Hi
I am trying to generate a QR barcode and insert it in a PDF file.
I am using Spire.PDF to the generate the PDF file.
On the development PC the Generate Barcode works fine and appears on the PDF.
But when we pout it live on a web server, we get the error shown below.
What is it trying to access the Registry? How do I fix it?

Thanks in Advance

John

ERROR:
==
Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: Requested registry access is not allowed.
==

JRWalsh07@gmail.com
 
Posts: 3
Joined: Thu Jun 22, 2017 9:21 am

Thu Aug 03, 2017 1:46 am

Hello,

Thanks for your inquiry. When you use the Free Spire.Barcode product to generate the barcode, it requests to access the Registry like attached, so please register the barcode key programmatically in your project. Here is the tutorial for your reference.
https://www.e-iceblue.com/Misc/how-to-r ... rcode.html
Please contact us if you have any questions.

Sincerely,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Wed Aug 16, 2017 3:21 pm

Hi there,

I have the same issue with the free version of the barcode api and a web form.

I'm not sure how to proceed with the suggested help article, there is nowhere specified which key you are trying to add or read.

Can you please put in some details how to avoid or workaround this problem?

br
nadine

nstorandt
 
Posts: 1
Joined: Wed Aug 16, 2017 3:04 pm

Thu Aug 17, 2017 8:32 am

Hello,

Thanks for your inquriy. Fistly, you need to get a key from sales@e-iceblue.com, then follow "Remove the logo in runtime" details in the following article to apply the key in your project .
https://www.e-iceblue.com/Misc/how-to-r ... rcode.html

Sincerely,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Return to Spire.BarCode