pdf to image com/sdk/dll on Windows 2008 R2 – 64 Bit, run from Network Service account

Hi Support,

I seem to be having a problem registering you component on a win 2008 64 bit machine.  Please see the screenshot below:

You can see which files I have included in the folder, maybe I’ve got the wrong ones.  I’d appreciate you help.
========================
Please launch a new CMD window with administrator privilege, run this command line in new CMD window again, then you can register it properly.

VeryPDF
========================
Thanks, I’ve done that but now I am getting the following error:

System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {51BC538F-73BA-4716-8576-B5FECD42C894} failed due to the following error: 80070005.

Do you have any ideas?
========================
Are you compile the source code with AnyCPU mode? If yes, please re-compile the source code with x86 platform to try again.

If you still have same problem, ca you please create a remote desktop account on your test machine? after we logged into your test machine, we will research this problem for you asap.

VeryPDF
========================
Hi,  Its working fine on my set machine which is a windows 7 PC but when I install in on my windows 2008 r2 64 bit server I get the following error when my application invokes your component:

System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {51BC538F-73BA-4716-8576-B5FECD42C894} failed due to the following error: 80070005.

Do I need to compile the code as x86 or x64?

I dont suppose you have a telephone number I can call you on?

Thanks for your help.
========================
By changing my application pool user from Network Service to my administrator account I have managed to get it working so it looks like its a permission problem rather than a 32/64 bit compilation issue. Do you have any ideas on how I may resolve this as I really don’t want my site to run as an admin account as this is extremely dangerous?  I must need to grant the network service some additional permission.

Thanks
========================
Hi Support,  I have managed to resolve the issue by making the following steps:

1. Click Start -> Run
2. Enter DCOMCNFG and press OK. This will open the DCOMCNFG window.
3. Browse down the tree to Console Root -> Component Services -> Computers -> My Computer
4. Right click on "My Computer" and select properties
5. Select the "Default Properties" tab
a. Enable Distributed COM on this computer - Option is checked
b. Default Authentication Level - Set to Connect
c. Default Impersonation Level - Set to Identify
6. Select the "COM Security" tab
7. Click on Access Permissions ' Edit Default
a. Add "Anonymous", "Everyone", "Interactive", "Network", "System" with Local and Remote access permissions set.
8. Click on Launch and Activation Permissions ' Edit Default
a. Add "Anonymous", "Everyone", "Interactive", "Network", "System" with Local and Remote access permissions set.
9. Click on OK
10. Close the DCOMCNFG window

I hope this helps

Kind regards
========================
Thanks for your great information, your information will helpful for our other customers in the future.

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

This entry was posted in PDF to Image Converter and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!