[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


VB script failing

Posted on 2006-05-23
Medium Priority
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

bruintje earned 2000 total points
ID: 16744864
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

Author Comment

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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Article by: evilrix
Looking for a way to avoid searching through large data sets for data that doesn't exist? A Bloom Filter might be what you need. This data structure is a probabilistic filter that allows you to avoid unnecessary searches when you know the data defin…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
Suggested Courses
Course of the Month18 days, 19 hours left to enroll

834 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