class not registered : error

  • Follow


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...
0
Reply muminabi2 (1) 6/3/2010 1:29:54 PM

On Jun 3, 9:29=A0am, AabidBhat <mumina...@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,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0NULL,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0CLSCTX_SERVER,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ISALIB::IID_IFPC,
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (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.
0
Reply ScottMcP 6/3/2010 6:03:50 PM


On Jun 3, 11:03=A0am, "ScottMcP [MVP]" <scott...@mvps.org> wrote:
> On Jun 3, 9:29=A0am, AabidBhat <mumina...@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,
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0NULL,
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0CLSCTX_SERVER,
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ISALIB::IID_IFP=
C,
> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (void**)&pIISA)=
;
>
> > Any Suggestion is highly Appreciated...
>
> In Vista and newer you must be running as administrator to register a
> COM object. =A0This 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)
0
Reply AabidBhat 6/4/2010 6:42:16 AM

2 Replies
377 Views

(page loaded in 0.038 seconds)

Similiar Articles:













7/25/2012 3:16:18 PM


Reply: