none
Automation server can't create object RRS feed

  • Question

  • Hi 

    I need to run the WScript.Shell from vps file (Dim ws : Set ws = CreateObject("WScript.Shell")) or javascript (var shell = new ActiveXObject("WScript.shell");) at the time i got error message like "Automation server can't create object". 

    and i tryed this 

    a)      Go to internet options.

    b)      Select security tab.

    c)      Under Custom level.

    d)       Ensure that "Initialize and script active x controls is not marked safe for scripting" select the radio button enabled  

    it's working.. how can i enable / disable at runtime from my page. Please help me on this issue.. 

    Thursday, February 6, 2014 6:58 AM