This may sound silly, but has ADO2.5 been installed on your test production
machine?
We have installed DLL's/COM stuff onto win2K but have not installed them
into COM+ using component services.
They are just registered using regsvr32.
Myles.
> -----Original Message-----
> From: CAPinto [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, August 14, 2000 4:00 PM
> To: Multiple recipients of list delphi
> Subject: [DUG]: COM+, ADO and Delphi 5 -- URGENT
>
> Hello all,
>
> I am working on a COM component which queries a database via ADO.
>
> All works fine on my local machine, but when I try to register the
> component
> under COM+, it fails to register with the following message:
>
> "The DLL could not be loaded. Check to make sure all required application
> runtime files and other dependant DLLs are available in the component
> DLL's
> directory or the system path."
>
> I have downloaded a couple of 'show active DLLs' type programs and checked
> that the used DLLs exist on the Win2000 machine, which they do.
>
> I am pretty sure it is something to do with the ADO access (I tried
> removing
> all references to the ADODB and DB units and COM+ didn't complain and I
> could then access my COM methods).
>
> Has anyone out there successfully written a component in Delphi, which
> uses
> ADO and is registered under COM+??
>
> Does anyone have any ideas I can try?
>
>
> Development environment:
> Delphi 5.0 with Update Pack 1
> Windows NT 4 (SP4)
> ADO 2.5
>
> Test Production environment:
> Win2K server
>
>
>
> Any help appreciated,
>
> Thanks
>
> Cleon.
>
>
>
>
>
>
>
>
>
>
>
> CONFIDENTIALITY NOTICE
> This email is confidential and may also be privileged. If you are not the
> intended recipient please notify the sender immediately. You must not copy
> or use it for any purpose or disclose its contents to any other person.
> The
> sender accepts no responsibility for viruses received with or changes made
> to this email after it was sent. Any opinion expressed in this email may
> be
> personal to the sender.
>
> --------------------------------------------------------------------------
> -
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz