Mombu the Computer Design Forum

Go Back   Mombu the Computer Design Forum > Computer_Design > Cannot Create Activex Component ASP.net
User Name
Password
REGISTER NOW! Mark Forums Read




Reply Bookmark and Share
1 3rd September 09:48
tripti_chaudhary
External User
 
Posts: 1
Default Cannot Create Activex Component ASP.net



Hi,

I am running the following code in an ASP.NET web application using VB.NET

Gapp= createobject(AcroExch.app)

I get the following error at runtime

System.exception Cannot create ActiveX object

I have acrobat professional installed on my machine. And the code also works fine in a windows application. I am sure this is a permissions issue. I am currently working from my local machine which runs on windows XP.

Any help would be appreciated

Thanks,
Tripti
  Reply With Quote


 


2 3rd September 18:42
pugz
External User
 
Posts: 1
Default Cannot Create Activex Component ASP.net



Hi Tripi,

I am having the same problem. I always get the error "ActiveX cannot create object" when I try to instantiate an "AcroExch.PDDoc" object. I have Adobe Acrobat Professional 7.0 installed on an NT Server. Though I am developing the site in classic ASP, I am bothered by the question - can I use its objects in an intranet ASP application? Because some say that the license forbids its use in web aplplications. Is this true? I cannot stand reading every excuciating detail of the license agreement, and would just like to clarify if *this* is a fact.

Any light shed on this matter is greatly appreciated. And, Tripi, please reply on any success acheived on this matter..

Thanks a lot,
-pugz
  Reply With Quote
3 3rd September 18:43
aandi_inston@adobeforums.com
External User
 
Posts: 1
Default Cannot Create Activex Component ASP.net


Yes, it's true. See also the Acrobat Developer FAQ.

Aandi Inston
  Reply With Quote
4 4th September 03:07
peter_hanzel@adobeforums.com
External User
 
Posts: 1
Default Cannot Create Activex Component ASP.net


Hi.

I have similar problem with Adobe Acrobat 7.0 in FrameMaker DLL application. I cannot create instace of CAcroPDDoc. It works with ADobre Acrobat 4.0, 5.0, 5.0.5 but not in 7.0. Is this a security problem too?
  Reply With Quote
5 4th September 03:07
aandi_inston@adobeforums.com
External User
 
Posts: 1
Default Cannot Create Activex Component ASP.net


That depends. Are you too trying to run Acrobat on a server? Not sure
what environments a FrameMaker DLL would be used.

Aandi Inston
  Reply With Quote
6 4th September 03:07
peter_hanzel@adobeforums.com
External User
 
Posts: 1
Default Cannot Create Activex Component ASP.net


No. It runs as normal DLL on client worstation. On workstation there is Adobre FrameMaker 7.1 + Adobe Acrobat 7.0 professional installed. And FrameMaker DLL is just plugin to FrameMaker. (Normal DLL that uses FDK).

So i maybe that case.
  Reply With Quote
7 4th September 07:49
bragosso
External User
 
Posts: 1
Default Cannot Create Activex Component ASP.net


Hi i have a similar problem
in an service (developed with VB.NET), i have a :
AcroApp = CreateObject("AcroExch.App")
It works fine when i run the service with different user, but when i
try to run it with the same user of the logged on user, if there is an
Acrobat opened previously i got the error
Cannot create ActiveX component
Any suggestion

Thanks Bragosso
  Reply With Quote


 


Reply


Thread Tools
Display Modes


Some other forums that might be of your interest : Adobe, Adobe after effects, Acrobat, Elements, Golive, Illustrator, Indesign, Premier, Adobe mac, General mac, Acrobat, Golive, Illustrator, Indesign


Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666