Wednesday, September 17, 2014

cscript is not a valid Win32 application Windows Server 2003



Trying to run cscript from commandline give the error 'cscript is not a valid Win32 application' on Windows Server 2003, with IIS 6 installed.


Answer



It needs to look to the 32-bit version of cscript, rather than the 64 bit version, which is used in PATH.




Call C:\WINDOWS\system32\cscript.exe with the full path.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...