Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / January 2007

Tip: Looking for answers? Try searching our database.

error 800401f9 when retrieving the com class factory

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gary - 23 Jan 2007 15:05 GMT
I am writing a program to interface with ACT (a crm database ((version
6)))

I had this done a year ago. I can't figure out what I did. I have found
my old code and it's no longer working. I dont know why. I have since
reinstalled the machine, so am not sure if the dll's are the same
anymore.

I keep getting the above error.

How do i rectify it?

Thankyou.
Gary - 23 Jan 2007 15:07 GMT
Just in case I wasn't clear enough in my previous post i provide some
extra detail here.
The exception text from clipboard is: -

System.Runtime.InteropServices.COMException was unhandled
 Message="Retrieving the COM class factory for component with CLSID
{99D296F7-11CF-11D0-8680-0020AFA095EE} failed due to the following
error: 800401f9."
 Source="Act Workbench"
 ErrorCode=-2147220999
 StackTrace:
      at Act_Workbench.Form1.button1_Click(Object sender, EventArgs e)
in C:\Documents and Settings\garym.CCLEASING\Local Settings\Application
Data\Temporary Projects\Act Workbench\Form1.cs:line 20
      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.DebuggableCallback(IntPtr
hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
      at
System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
      at
System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32
dwComponentID, Int32 reason, Int32 pvLoopData)
      at
System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32
reason, ApplicationContext context)
      at
System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32
reason, ApplicationContext context)
      at System.Windows.Forms.Application.Run(Form mainForm)
      at Act_Workbench.Program.Main() in C:\Documents and
Settings\garym.CCLEASING\Local Settings\Application Data\Temporary
Projects\Act Workbench\Program.cs:line 17
      at System.AppDomain.nExecuteAssembly(Assembly assembly, String[]
args)
      at System.AppDomain.ExecuteAssembly(String assemblyFile,
Evidence assemblySecurity, String[] args)
      at
Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
      at System.Threading.ThreadHelper.ThreadStart_Context(Object
state)
      at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
      at System.Threading.ThreadHelper.ThreadStart()

The executing code is:  ActOle.DATABASE database = new
ActOle.DATABASEClass();

Thankyou.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.