Under Windows 2000, the default setting of IIS is to communicate with the executable program on the web. However, in 2003, IIS services in this regard are prohibited.
The problem I'm having now is to use the web and a parameter-executable program to connect. And run this executable program with participation.
There was no error when running using Server.CreateObject("WScript.Shell") in asp under Windows 2003, but it was not executed.
But it can be executed under Windows 2000.
Hoho, realize that it was IIS's joke.
If Server.CreateObject("WScript.Shell" is supported under windows2003)
You have to set up the content
1: In "Web Service Extension", ActiveServerPages, Internet Data Connector, RPC Agent Service Extension, and included files on the server side must be set to allowable status.
2: "Website" - "Properties - "Main Directory - "Configuration - "Options - "Start the Parent Path
3: "Website" - "Properties - "Services - "Select "Running WWW Services in IIS5.0 Isolation Mode" in the isolation mode
4: Start - 》Program - 》Management Tools - 》Services. Find RPC service, double-click - 》Login - 》 Allow the service to interact with the desktop
In this way, you can run asp's Server.CreateObject("WScript.Shell") in Windows 2003.
Originally, I wanted to use asp.net to make this program, and this problem has always existed in asp.netzh. So use asp
Functions can be implemented in asp. I didn't do it under asp.net. If you are interested, you can give it a try!