ActiveX server-side issue
Results 1 to 8 of 8

Thread: ActiveX server-side issue

  1. #1
    Registered User techleet's Avatar
    Join Date
    Oct 2000
    Location
    San Jose, CA, USA
    Posts
    459

    ActiveX server-side issue

    Hi!

    Just throwing this out there, but does anyone know (or know where to find) what is needed server-side to get ActiveX/Vbscript to run? I'm trying to install a network printer via vbscript in a webpage and it works great locally (when the webpage is running from my machine) but when I try to run it from the test server I get a "Error: ActiveX component can't create object: 'Wscript.Network'". I assume some type of server extension(s) is needed...?

    This happens on both Apache (solaris) and IIS 5 (win2kpro).

    Thanks for any input!!
    DON'T PANIC

  2. #2
    Registered User silencio's Avatar
    Join Date
    Sep 2000
    Location
    Savannah
    Posts
    3,960
    You probably already checked this but, in the IIS MMC console, right click server, properties, server extensions and is your client scripting setup for VB?
    Deliver me from Swedish furniture!

  3. #3
    Registered User techleet's Avatar
    Join Date
    Oct 2000
    Location
    San Jose, CA, USA
    Posts
    459
    Originally posted by silencio
    You probably already checked this but, in the IIS MMC console, right click server, properties, server extensions and is your client scripting setup for VB?
    Yes, it's setup. Any other ideas?

    Thanks!
    DON'T PANIC

  4. #4
    Registered User silencio's Avatar
    Join Date
    Sep 2000
    Location
    Savannah
    Posts
    3,960
    is the windows scripting host installed? or the right version installed? That's what wscript is.
    Deliver me from Swedish furniture!

  5. #5
    Registered User techleet's Avatar
    Join Date
    Oct 2000
    Location
    San Jose, CA, USA
    Posts
    459
    Originally posted by silencio
    is the windows scripting host installed? or the right version installed? That's what wscript is.
    I'm pretty sure it is. See, when I run it locally, (C:\inetpub\wwwroot\script.html) it works fine. If I run it through the browser (ie, through IIS: http://localhost/script.html) it doesn't work. Weird, eh?? IIS is running on my same machine that it works on locally!
    DON'T PANIC

  6. #6
    Registered User silencio's Avatar
    Join Date
    Sep 2000
    Location
    Savannah
    Posts
    3,960
    How about IIS lockdown or another security patch? Maybe one of those has changed permissions on what you can run. There appears to be a debugging option under the site level/home directory/advanced/app debugging. In there is an option for "send detailed asp error messages to client." This might give you some more insight.
    Deliver me from Swedish furniture!

  7. #7
    Registered User techleet's Avatar
    Join Date
    Oct 2000
    Location
    San Jose, CA, USA
    Posts
    459
    Originally posted by silencio
    How about IIS lockdown or another security patch? Maybe one of those has changed permissions on what you can run. There appears to be a debugging option under the site level/home directory/advanced/app debugging. In there is an option for "send detailed asp error messages to client." This might give you some more insight.
    Good call. Unfortunately that setting is set by default. All this thinking is makin my head hurt.
    DON'T PANIC

  8. #8
    Registered User techleet's Avatar
    Join Date
    Oct 2000
    Location
    San Jose, CA, USA
    Posts
    459
    Anyone have any ideas?
    DON'T PANIC

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •