Error with Barcode generator trying to access Registry

Technical support for Spire.BarCode.

Moderator: iceblue support

Error with Barcode generator trying to access Registry

Postby JRWalsh07@gmail.com » 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

Re: Error with Barcode generator trying to access Registry

Postby Gary.zhang » 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
You do not have the required permissions to view the files attached to this post.
User avatar
Gary.zhang
 
Posts: 1368
Joined: Thu Apr 04, 2013 1:30 am

Re: Error with Barcode generator trying to access Registry

Postby nstorandt » 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

Re: Error with Barcode generator trying to access Registry

Postby Gary.zhang » 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: 1368
Joined: Thu Apr 04, 2013 1:30 am


Return to Spire.BarCode

Who is online

Users browsing this forum: No registered users and 0 guests