From: AabidBhat on
Hi friends,

As i go to register my webFilter in ISA 2000, i call
RegisterWebFilter(true);
in this function i got the error as "REGDB_E_CLASSNOTREG " ie "class
not registered" , when i call

CoCreateInstance(ISALIB::CLSID_FPC,
NULL,
CLSCTX_SERVER,
ISALIB::IID_IFPC,
(void**)&pIISA);

Any Suggestion is highly Appreciated...
From: ScottMcP [MVP] on
On Jun 3, 9:29 am, AabidBhat <mumina...(a)gmail.com> wrote:
> Hi friends,
>
> As i go to register my webFilter in ISA 2000, i call
> RegisterWebFilter(true);
> in this function i got the error as "REGDB_E_CLASSNOTREG " ie "class
> not registered" , when i call
>
> CoCreateInstance(ISALIB::CLSID_FPC,
>                            NULL,
>                            CLSCTX_SERVER,
>                             ISALIB::IID_IFPC,
>                             (void**)&pIISA);
>
> Any Suggestion is highly Appreciated...

In Vista and newer you must be running as administrator to register a
COM object. This is normally done by an installer, which has many
reasons it needs to run as administrator.
From: AabidBhat on
On Jun 3, 11:03 am, "ScottMcP [MVP]" <scott...(a)mvps.org> wrote:
> On Jun 3, 9:29 am, AabidBhat <mumina...(a)gmail.com> wrote:
>
> > Hi friends,
>
> > As i go to register my webFilter in ISA 2000, i call
> > RegisterWebFilter(true);
> > in this function i got the error as "REGDB_E_CLASSNOTREG " ie "class
> > not registered" , when i call
>
> > CoCreateInstance(ISALIB::CLSID_FPC,
> >                            NULL,
> >                            CLSCTX_SERVER,
> >                             ISALIB::IID_IFPC,
> >                             (void**)&pIISA);
>
> > Any Suggestion is highly Appreciated...
>
> In Vista and newer you must be running as administrator to register a
> COM object.  This is normally done by an installer, which has many
> reasons it needs to run as administrator.

But I dont Use Vista at all
it is ISA 2000 installed on Windows 2003 server (Enterprise edition)