cengel
May 4th, 2004, 11:29 AM
When trying to execute the following code in ASP Net it throws the "Cannot create ActiveX Component" message. When run in a regular VB.NET app it works fine.
oPDFCopy = CreateObject("AcroExch.PDDoc")
I believe it's a permissions issue but I'm at a loss on how to make it work. I've tried a couple things such as using impersonation to my local account, setting the web app execute permissions and allowing everyone access to what I believed to be the correct dll.
If anyone has any info on how to get this to work in a web app please respond asap.
Also, I'm not using any components of this dll which require a full version of acrobat...reader will be just fine for what i need to do.
regards
Chad
oPDFCopy = CreateObject("AcroExch.PDDoc")
I believe it's a permissions issue but I'm at a loss on how to make it work. I've tried a couple things such as using impersonation to my local account, setting the web app execute permissions and allowing everyone access to what I believed to be the correct dll.
If anyone has any info on how to get this to work in a web app please respond asap.
Also, I'm not using any components of this dll which require a full version of acrobat...reader will be just fine for what i need to do.
regards
Chad