Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

getobject fails

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  web based upload manager  
Author Message
LouDawg

External


Since: Oct 10, 2006
Posts: 2



(Msg. 1) Posted: Tue Oct 10, 2006 9:02 am
Post subject: getobject fails
Archived from groups: microsoft>public>inetserver>iis (more info?)

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 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]