Being able to see the file is not the same as having permission to be able to execute it, or to call all the system APIs that it calls.
To verify if this is a permissions problem, log onto the machine as the IIS user id (usually IUSR_<servername>), and then try running the vbs script from the command line.
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
| [reply] [Watch: Dir/Any] [d/l] |
That doesn't mean that IWAM_YOUR-COMPUTER-GOES-HERE can execute the vbs. Check 'script' permission in IIS manager. | [reply] [Watch: Dir/Any] |
Thanks!! You guy pointed me to the right direction. I checked the IIS config and the web pages were under the IUSR_<host> context. Apparently, this user's has all kinds of limitation. I tried to configure those web pages to run under my context and all worked.
| [reply] [Watch: Dir/Any] |
If that files is opened remotely or being executed by any other program is also leads to get this error....
| [reply] [Watch: Dir/Any] |