Access to the registry key is denied (ABCPdf)

Peuge picture Peuge · Jan 20, 2012 · Viewed 9k times · Source

I am trying out ABCPdf 8.1 and when using the AddImageUrl(...) method I get the following error:

Access to the registry key 'HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl' is denied.

I have looked in the registry and main\featurecontrol does not exist for CURRENT_USER so I cannot change permissions on it.

Has anyone experienced this before, or know of any solutions I could try?

Thanks in advance

Answer

AffineMesh picture AffineMesh · Feb 3, 2012

Who is the CURRENT_USER? Assuming it's an ASP.NET application identity, have you tried loading its user profile?

Open up IIS Manager and navigate to the application pool for your site. In the Advanced Settings dialog, set Load User Profile to True.

enter image description here