VB script failing

Posted on 2006-05-23
Last Modified: 2008-02-26
This script is a script that we have running on multiple web servers, but for some reason on this one webserver it seems to be failing.

The line that is throwing the error is:

"Set IISOBJ = GetObject(ServicePath)"

The script basically gathers information from the server as well as from our IIS configuration, and then zips and removes log files based on the IIS configuration.  IT works very well, however for some reason on this web server it is failing.  The error I'm seeing is:

"The system cannot find the path specified"

Any ideas?
Question by:jpipitone
    LVL 44

    Accepted Solution

    Hi jpipitone,

    the error says it can't find the path so is the object that is created in the call installed on the particular server
    this command says something like

    Set IISOBJ = GetObject("c:\myfiles\are here\islog.exe")

    if you can see what ServicePath is declared as earlier in the code you can check if the path is existing and the application installed

    share what you know, learn what you don't
    LVL 1

    Author Comment

    Thanks - I'll do some more debugging and test.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides architecture for building dynamic scripts that consist of a core object model, scripting hosts, and scripting engines. The key components of Window…
    This article will show, step by step, how to integrate R code into a R Sweave document
    The viewer will learn how to implement Singleton Design Pattern in Java.
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now