Create ActiveX Object in IIS6

Create ActiveX Object in IIS6

am 15.03.2007 08:58:05 von kenneth

Hello,

Recently, I am working on a web server migration from W2K with IIS5 to
Window 2003 SP1 with IIS6. There is an ASP page in my web site that use
VBScript to create object from DLL. I have enable ASP in IIS6 and when I run
the ASP page, an error "Microsoft VBScript runtime error '800a01ad' ActiveX
component can't create object: 'iPGClientCOM.iPGClient' shown in the browser.
I want to know if there is any setting that I have missed.

Kenneth

P.S. iPGClientCOM.iPGClient is a thrid-party client software install in the
server. It works fine in W2K IIS5.

Re: Create ActiveX Object in IIS6

am 15.03.2007 11:36:41 von David Wang

It sounds like the 3rd party client software is not installed or
functioning properly on Windows Server 2003. Please verify with the
vendor that the software version you are using is supported on Windows
Server 2003 SP1. The fact that it ran on IIS5/W2K is not relevant for
discussion because the code could be written to not run on Windows
Server 2003 -- so it would work on IIS5/W2K but fail on IIS6/WS03 --
and who has the responsibility to make the application work? The
application vendor.

Failure to create the object indicates it is not registered properly.
Are you running Windows Server 2003 SP1 on a 64bit machine? If so,
then the 3rd party component is 32bit only and registered for 32bit
processes only -- and IIS runs in native 64bit on 64bit Windows by
default, so it will not be able to create that object.

In any case, the issue has to be resolved with the 3rd party client
software support. You need to determine if your specific version
supports Windows Server 2003 SP1 of the right processor architecture,
and if it is supported, you need to obtain further support from them
on how to make the application work.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//




On Mar 15, 12:58 am, Kenneth
wrote:
> Hello,
>
> Recently, I am working on a web server migration from W2K with IIS5 to
> Window 2003 SP1 with IIS6. There is an ASP page in my web site that use
> VBScript to create object from DLL. I have enable ASP in IIS6 and when I run
> the ASP page, an error "Microsoft VBScript runtime error '800a01ad' ActiveX
> component can't create object: 'iPGClientCOM.iPGClient' shown in the browser.
> I want to know if there is any setting that I have missed.
>
> Kenneth
>
> P.S. iPGClientCOM.iPGClient is a thrid-party client software install in the
> server. It works fine in W2K IIS5.

Re: Create ActiveX Object in IIS6

am 07.04.2007 19:24:03 von BoudewijnLutgerink

I actually had the same problem and I know for sure that the DLL is registered.
The OS is a 32 bit system and the DLL is 32-bit as well.
I have one line in my asp page saying: loServer =
server.createObject("DLLName.classname")
The next line calls a methos in that class and THAT line gives the error
saying that the object is not available.
I created the DLL myself ON the server AND registered it on the server.

--
There's light at the end of the tunnel... Let's hope it is not the headlight
of a freight train

"David Wang" wrote:

> It sounds like the 3rd party client software is not installed or
> functioning properly on Windows Server 2003. Please verify with the
> vendor that the software version you are using is supported on Windows
> Server 2003 SP1. The fact that it ran on IIS5/W2K is not relevant for
> discussion because the code could be written to not run on Windows
> Server 2003 -- so it would work on IIS5/W2K but fail on IIS6/WS03 --
> and who has the responsibility to make the application work? The
> application vendor.
>
> Failure to create the object indicates it is not registered properly.
> Are you running Windows Server 2003 SP1 on a 64bit machine? If so,
> then the 3rd party component is 32bit only and registered for 32bit
> processes only -- and IIS runs in native 64bit on 64bit Windows by
> default, so it will not be able to create that object.
>
> In any case, the issue has to be resolved with the 3rd party client
> software support. You need to determine if your specific version
> supports Windows Server 2003 SP1 of the right processor architecture,
> and if it is supported, you need to obtain further support from them
> on how to make the application work.
>
>
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //
>
>
>
>
> On Mar 15, 12:58 am, Kenneth
> wrote:
> > Hello,
> >
> > Recently, I am working on a web server migration from W2K with IIS5 to
> > Window 2003 SP1 with IIS6. There is an ASP page in my web site that use
> > VBScript to create object from DLL. I have enable ASP in IIS6 and when I run
> > the ASP page, an error "Microsoft VBScript runtime error '800a01ad' ActiveX
> > component can't create object: 'iPGClientCOM.iPGClient' shown in the browser.
> > I want to know if there is any setting that I have missed.
> >
> > Kenneth
> >
> > P.S. iPGClientCOM.iPGClient is a thrid-party client software install in the
> > server. It works fine in W2K IIS5.
>
>

Re: Create ActiveX Object in IIS6

am 10.04.2007 10:53:34 von David Wang

Please provide the actual error message because paraphrasing can be
misleading.

Your issue does not sound like the same problem as the earlier one
because that one had to do with the class not being registered so the
component could not be created -- your class appears registered and
instantiated but failed to invoke methods, which would be a completely
different problem. However, if you had "on error resume" or such
statement, then you may not be looking at the actual error, either.

I guess the bottom line is that one can definitely create ActiveX
objects on default IIS6 settings -- there is no prohibition by IIS. If
you encounter problems, the issue is most likely within some
requirement/dependency within the ActiveX object itself -- which you
will have to resolve with that product's support personel. You may
have to end up changing IIS configuration, but once again, that is not
an IIS issue -- it is a requirement of the component.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//





On Apr 7, 10:24 am, Boudewijn Lutgerink
wrote:
> I actually had the same problem and I know for sure that the DLL is registered.
> The OS is a 32 bit system and the DLL is 32-bit as well.
> I have one line in my asp page saying: loServer =
> server.createObject("DLLName.classname")
> The next line calls a methos in that class and THAT line gives the error
> saying that the object is not available.
> I created the DLL myself ON the server AND registered it on the server.
>
> --
> There's light at the end of the tunnel... Let's hope it is not the headlight
> of a freight train
>
>
>
> "David Wang" wrote:
> > It sounds like the 3rd party client software is not installed or
> > functioning properly on Windows Server 2003. Please verify with the
> > vendor that the software version you are using is supported on Windows
> > Server 2003 SP1. The fact that it ran on IIS5/W2K is not relevant for
> > discussion because the code could be written to not run on Windows
> > Server 2003 -- so it would work on IIS5/W2K but fail on IIS6/WS03 --
> > and who has the responsibility to make the application work? The
> > application vendor.
>
> > Failure to create the object indicates it is not registered properly.
> > Are you running Windows Server 2003 SP1 on a 64bit machine? If so,
> > then the 3rd party component is 32bit only and registered for 32bit
> > processes only -- and IIS runs in native 64bit on 64bit Windows by
> > default, so it will not be able to create that object.
>
> > In any case, the issue has to be resolved with the 3rd party client
> > software support. You need to determine if your specific version
> > supports Windows Server 2003 SP1 of the right processor architecture,
> > and if it is supported, you need to obtain further support from them
> > on how to make the application work.
>
> > //David
> >http://w3-4u.blogspot.com
> >http://blogs.msdn.com/David.Wang
> > //
>
> > On Mar 15, 12:58 am, Kenneth
> > wrote:
> > > Hello,
>
> > > Recently, I am working on a web server migration from W2K with IIS5 to
> > > Window 2003 SP1 with IIS6. There is an ASP page in my web site that use
> > > VBScript to create object from DLL. I have enable ASP in IIS6 and when I run
> > > the ASP page, an error "Microsoft VBScript runtime error '800a01ad' ActiveX
> > > component can't create object: 'iPGClientCOM.iPGClient' shown in the browser.
> > > I want to know if there is any setting that I have missed.
>
> > > Kenneth
>
> > > P.S. iPGClientCOM.iPGClient is a thrid-party client software install in the
> > > server. It works fine in W2K IIS5.- Hide quoted text -
>
> - Show quoted text -