Thursday, April 23, 2009

Problems while creating Image from a PDF

Error: The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID.

Solution:
Grant the correct permissions to the Network Service account

To grant the correct permissions to the Network Service account, follow these steps:
  1. Click Start, click Run, type dcomcnfg in the Open box, and then click OK.
  2. In Component Services, double-click Component Services, and then double-click Computers.
  3. Right-click My Computer, and then click Properties.
  4. Click the COM Security tab.
  5. In the Launch and Activation Permissions area, click Edit Default.
  6. Click Add, type Network Service, and then click OK.
  7. While Network Service is selected, click to select the Allow check boxes for the following items:
  • Local Launch
  • Remote Launch
  • Local Activation
  • Remote ActivationClick OK two times.
Please refer http://support.microsoft.com/kb/899965 for further details.

Dependency: Do not forget to get full and complete version (licensed version) of software when you are dealing with COM components like Acrobat, etc.

Note: This is generally caused due to permission restrictions to Network Service Account. You can see Event Log (type eventvwr.msc in Run Menu) in System Part and you will find error like: "The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID {FF76CB60-2E68-101B-B02E-04021C009402} to the user NT AUTHORITY\NETWORK SERVICE SID (S-1-5-20). This security permission can be modified using the Component Services administrative tool."