Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: 65280 returned on system ( )

by rhymejerky (Beadle)
on Jun 07, 2006 at 18:45 UTC ( [id://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.

Replies are listed 'Best First'.
Re^3: 65280 returned on system ( )
by BrowserUk (Patriarch) 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 (Hermit) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://554116]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2024-03-28 13:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found