Re: Cannot run exe from asp.net Programming Web Development by lennyli > Pritaeas answered the question: normal WEB security settings forbids launching executables on a client machine. The only legal workaround is to create windows service (daemon in Linux environment), install it on client machine and listen for some commands coming from server over WEB sockets. Sure, I understand, but for my above new … Re: Cannot run exe from asp.net Programming Web Development by Salem > When I run the command "python server.py" on the server pc, it held for a second, then released back to the command prompt. So did it even give you `print("Waiting for a connection...")` ? Consider making your server main like this. if __name__ == "__main__": print('Server Begin') … Re: Cannot run exe from asp.net Programming Web Development by lennyli > > When I run the command "python server.py" on the server pc, it held for a second, then released back to the command prompt. > > So did it even give you `print("Waiting for a connection...")` ? > > Consider making your server main like this. > > if __name__ == "__main__": >… Re: Cannot run exe from asp.net Programming Web Development by lennyli I fixed the problem by ensuring the path is including python. Also on the server I must run pip install Thank you all All working now Re: Cannot run exe from asp.net Programming Web Development by Salem Congrats on getting going. > Even if i run the setup and ticked the option "add to path", the echo %PATH% command didnt seem to show what i expected. Yeah, this won't transform the PATH of any existing process. In increasing annoyance order, you may have to: 1. Start a new cmd window 2. Log out and log in again 3. Reboot … Re: Cannot run exe from asp.net Programming Web Development by lennyli …or IIS Express), which picks a random port. In production, IIS will usually use port 80 or 443. > > Best …0.0', 9999)) # Listen on all interfaces on port 9999 server_socket.listen(1) print("Waiting for a … SSL/TLS). - Ensure the firewall settings allow the specified port (9999 in this case). (LENNY:) OK NOW, I … Re: Cannot run exe from asp.net Programming Web Development by Neil_brown001 … in how IIS reads settings versus Visual Studio. Why the port number is different When you run your site in Visual… or IIS Express), which picks a random port. In production, IIS will usually use port 80 or 443. Best approach If you want… Re: Cannot run exe from asp.net Programming Web Development by gediminas.bukauskas.7 Pritaeas answered the question: normal WEB security settings forbids launching executables on a client machine. The only legal workaround is to create windows service (daemon in Linux environment), install it on client machine and listen for some commands coming from server over WEB sockets. Cannot run exe from asp.net Programming Web Development by lennyli … visual studio code will launch the site with a certain port number, while your previous discussion 13 years ago suggested to… use the session state to run at a different port. Thank you for reading! Re: Cannot run exe from asp.net Programming Web Development by pritaeas > while at the same time run the same exe on the local client pc. Not possible. Re: Cannot run exe from asp.net Programming Web Development by pritaeas No, Javascript cannot run/start executables on the client machine. Re: Cannot run exe from asp.net Programming Web Development by rproffitt I see pritaeas has answered so I'll move to the next stage of the discussion which is to ask what you need in your web site. For example there is an "online notepad" which does some basic notepad work. And there are many screensavers that run from a webpage with an example at whitescreen.online . You can get there. Re: Cannot run exe from asp.net Programming Web Development by lennyli Why does the following code dont run and launch the exe I specify (eg, notepad.exe, or ribbons.scr)? <%@ Language="VBScript" %> <!DOCTYPE html> <html> <Body> <% Dim objShell Dim command Dim result ' Path to the executable command = "C:\… Re: Cannot run exe from asp.net Programming Web Development by pritaeas Are you sure IIS is configured to allow running external scripts? Re: Cannot run exe from asp.net Programming Web Development by lennyli > Are you sure IIS is configured to allow running external scripts? The document folder and asp file has security permission set to ALL rights for 'everyone'. In IIS, under handler mappings for .asp files, under request restriction/access, script was chosen (not execute) for feature permissions, all 'read' 'script' 'execute' are chosen Re: Cannot run exe from asp.net Programming Web Development by lennyli > I see pritaeas has answered so I'll move to the next stage of the discussion which is to ask what you need in your web site. > > For example there is an "online notepad" which does some basic notepad work. And there are many screensavers that run from a webpage with an example at whitescreen.online . > > You can … Re: Cannot run exe from asp.net Programming Web Development by john_111 Let me expand on what rproffitt said, by explaining why. If a webpage could run a program installed on another computer, the entire world wide web would be hacked into tiny pieces and cease to exist. No one would ever use the web, it would be so totally insecure. So web pages are prohibited from running programs on your computer. They can … Re: Cannot run exe from asp.net Programming Web Development by Salem https://xyproblem.info/ * User wants to do X. Sometime later... > My boss just asked me to create a prototype as proof of concept. There is no specific language/tool I must use * User asks for help with Y. Initially asked... > Have a webpage with a button, when pressed, it will launch a webpage that runs a server side exe (eg, … Re: Cannot run exe from asp.net Programming Web Development by Reverend Jim >No, Javascript cannot run/start executables on the client machine. Technically correct but there are ways around it. For example, save a file in a special folder on the target computer, which has a folder watch on that folder. The watching task could then trigger a local task. Re: Contact form does not working Programming Web Development by Biiim … $mail->Password = 'your password'; //SMTP password $mail->Port = 587; //TCP port to connect to; use 587 if you have set… Re: How do I establish an open connection to an open web browser in C#? Programming Software Development by pathofbuilding … Chrome manually with debugging enabled using chrome.exe --remote-debugging-port=9222 --user-data-dir="C:\SeleniumChromeProfile", then use… Re: How To Send MYSQL Data To An Email Programming Web Development by Biiim Here's the code I've been using for about 15 years now - but a bit more simplified: function dbConnect($type = ''){ $conn = mysqli_connect( DBHOST, DBUSER, DBPASS, DBDB); if (!$conn) { echo "Error: Unable to connect to MySQL." . PHP_EOL; echo "Debugging errno: " . mysqli_connect_errno() . … Re: Port number, ip address, computer name Hardware and Software Microsoft Windows by Naveen port nos. vary depeding on the protocol using them. in command prompt u can run "netstat -a" to see what protocols are running,their port nos. their conn. status etc. port scanner???? Programming Software Development by willygstyle … to " + address + " on port " + str(port)) try: s.connect((address, port)) print("Connected to server " + address…#print("Connecting to " + address + " on port " + str(port) + " failed") return False def scan_server2(self, address… Re: port scanner???? Programming Software Development by willygstyle … __init__(self, host, port): Thread.__init__(self) # host and port self.host = host self.port = port # build up the …while threading.activeCount() < MAX_THREADS: Scanner(host, self.port).start() self.port += 1 if __name__ == "__main__": blah =… Re: port scanner???? Programming Software Development by The_Kernel …: item = self.port_queue.get() if item is False: break address, port = item s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) try: s… port forwarding through a dsl modem Hardware and Software Networking by qavo … protocol: TCP (also offered UDP and BOTH) port start: 80 port end: 80 port map: 5050 When an external web web user … the router is received at port 80 by convention. I am assuming that router port 80 traffic is simply diverted to …the local IP address and to port 5050 where tomcat… Port Scanner in C++ Programming Software Development by HLA91 …cin>>IP; cout << "Starting Port: "; cin>>start; cout <<…line above if(nret != SOCKET_ERROR) { cout << "Port " << temp << " - OPEN…] undefined reference to `__cpu_features_init' C:\Dev-Cpp\port.cpp ld returned 1 exit status Can someone please… Re: Port scanning Hardware and Software Networking by Iamthedude …a monitored network what should be done? 2)Definition of port scanning 3)Who's responsible for overall security of a… email spam, are the most common use of this. Port scanning isn't typically effective on the outside since any… etc. There are a wide variety of types of port scanning, google port scanning for a more in depth explanation about the… port conflict with Glassfish v2 using netbeans 6.5 beta Programming Web Development by valuba …if it's running now. - Port conflicts. (use netstat -a to detect possible port numbers already used by the operating… it's running now. - Port conflicts. (use netstat -a to detect possible port numbers already used by the operating… it's running now. - Port conflicts. (use netstat -a to detect possible port numbers already used by the operating…