Hi,
Here I want to known one thing clearly, that is I was developed one application in C# with Acrobat SDK.
In my application I am using Acrobat AxAcroPDFLib.AxAcroPDF and also some other acrobat class.
In my development system i am using Acrobat 7.0.
When my application installed in my client system I am faced different types of problem.
System Configuration
OS : XP
Acrobat 7.0
Result : Success
System Configuration
OS : XP
Acrobat 5.0
Acrobat 7.0
Result : Fail
Error : Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)
System Configuration
OS : XP
Acrobat 7.0
Adobe Reader 9
Result : Success
Note:
But I having problem when I am use my application while Adobe Reader 9 is open.
What is problem?
Error is related to ActiveX COM fail like
- Error HRESULT E_FAIL has been returned from a call to a COM component.
- Retrieving the COM class factory for component with CLSID {FF76CB60-2E68-2E68-101B-B02E-04021C009402} failed due to the following error: 80080005
System Configuration
OS : XP
Acrobat 7.0
Result : Success
Problem:
At the time of tool installation the system configuration will be as mention above, after by mistake they installed Adobe Reader 5.0. I faced the problem to use my application ActiveX COM failed
So I was un installed Adobe Reader 5, and tried but I got the following error,
System.Runtime.InteropServices.COMException (0x80040154): Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)
at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
at System.Windows.Forms.AxHost.CreateInstance()
at System.Windows.Forms.AxHost.GetOcxCreate()
at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
at System.Windows.Forms.AxHost.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.AxHost.EndInit()
at Greenleaf_MetaData.ArticleMetaData_Jnl.InitializeComponent()
at Greenleaf_MetaData.ArticleMetaData_Jnl..ctor()
at Greenleaf_MetaData.MainForm.btn_Process_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
So, I am advised my System Admin team to Re-Install the Acrobat 7.0, after the Re-Installation of Acrobat 7.0, all the problem get solved.
But I want to known what is problem?
And also what is the Adobe COM connection between Acrobat ActiveX and my Application(C#, VB, etc…).
So Please give clear information and guidance...
Thanks & Regard
Thirusanguraja Venkatesan