Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: 65280 returned on system ( )

by rhymejerky (Beadle)
on Jun 07, 2006 at 18:45 UTC ( #554116=note: print w/ replies, xml ) Need Help??


in reply to Re: 65280 returned on system ( )
in thread 65280 returned on system ( )

I put the statement if (-e "file.vbs") in the script to check for the file existence and the script didn't complain about not finding it. I even tried to call the vbs directly from a web browser (http://localhost/file.vbs) and the browser prompt me to open or save that file, so I think it is finding the vbs file.


Comment on Re^2: 65280 returned on system ( )
Re^3: 65280 returned on system ( )
by BrowserUk (Pope) on Jun 07, 2006 at 18:56 UTC

    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.
Re^3: 65280 returned on system ( )
by girarde (Friar) on Jun 07, 2006 at 18:56 UTC
    That doesn't mean that IWAM_YOUR-COMPUTER-GOES-HERE can execute the vbs. Check 'script' permission in IIS manager.
      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.
      If that files is opened remotely or being executed by any other program is also leads to get this error....

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://554116]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2014-07-26 12:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (176 votes), past polls