Permission problem of “PDF2Image.CPDF2Image” DCOM

... and a couple of months passed, while I'm working on other projects, and I'm back to this one:

I registered the COM object with the Administrator privileges per your note of March 16.

I have an ASP page in our development site with, among others things the line:

 Set oConvPDF = Server.CreateObject("PDF2Image.CPDF2Image")

The only elements before this line are a couple of variables being initialized with strings.

Executing on a Windows 2008 R2 64 bit machine running IIS 7 returns:
Server object error 'ASP 0178 : 80070005'
Server.CreateObject Access Error
/Vita40Test/TestPDF2Image.asp, line 12
The call to Server.CreateObject failed while checking permissions. Access is denied to this object. 
where line 12 is the line invoking the CreateObject.  The sample code you provided didn't include the "Server." call.  Without it I got:

Microsoft VBScript runtime error '800a0046'
Permission denied: 'CreateObject'
/Vita40Test/TestPDF2Image.asp, line 12
I have set read/execute permissions for IUSR and IIS_IUSRS on both PDF2ImageCOM.exe and pdf2image.dll.

The folders where the sample pdf resides and where I'm telling it to write has read/write permissions for IUSR and IIS_IUSRS and other utilities read and write in those spaces ... using tmp ... routinely.

Other clues?
You need give full control permission to Everyone user account to "PDF2Image.CPDF2Image" DCOM, please refer to following web page to more information,


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

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!