I have an executable cgi application that uses getobject to create and
then late bind to an automation server. For example:
Set oApp = CreateObject("This.Application")
Set oApp = GetObject(, "This.Application")
Keep in mind that this is vb6, which works well for this because I'm
copying code over from another program's vba.
When I run those program stand alone and not through CGI it works fine.
When I run it through IIS over the web it generates an "ActiveX
component can't create object" failure on GetObject. CreateObject,
though, works fine. I have the user accounts for the server to run
under the interactive user account. The IIS server has "interact with
desktop" checked and it's running processes through a user account I
created (which is usually the same one as the interactive one). Anyway,
I didn't think that any of that should have mattered since I created
the object through the same program I tried to get it with.
Does anyone have any suggestions? This all worked fine when using a 3rd
party server that didn't run as a service (it just ran as a win32 exe),
but I'd really like to get this running correctly under IIS.
>> Stay informed about: getobject fails