Re: Cannot run exe from asp.net Programming Web Development by Neil_brown001 … confusion Having two web.config files is normal in ASP.NET apps. One controls the overall app, the other can apply… Re: Cannot run exe from asp.net Programming Web Development by lennyli … > Having two web.config files is normal in ASP.NET apps. One controls the overall app, the other can apply… 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. 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 … Cannot run exe from asp.net Programming Web Development by lennyli … lost in trying to achieve something. I installed the latest .net framework, and IIS on the latest updated windows 11. I wish… 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. Editor crashes browser Community Center Meta DaniWeb by Dani … implementation of the editor, or if it is the editor framework we are using. **Can you pretty please go [here](https…://codemirror.net/try/) and, in the dropdown that says Select example, choose… Re: ‘Advanced AI should be treated similar to Weapons of Mass Destruction’ Community Center by rproffitt UPDATE: Feb 4, 2025 — Google on Tuesday updated its ethical guidelines around artificial intelligence, removing commitments not to apply the technology to weapons or surveillance. Re: Editor crashes browser Community Center Meta DaniWeb by Mr.M Hi Dani, I'm trying to reply with Chrome to test what I've noticed regarding the crash. I've attached relevant screenshots for 3 questions. I'm not using any plug-in ![Screenshot_20250313_051351_com.android.settings.jpg](https://static.daniweb.com/attachments/4/34cf3590e688c7994630462272a9cc21.jpg) ![Screenshot_20250313_051213_com.… Re: Editor crashes browser Community Center Meta DaniWeb by Mr.M What I've noticed is that it seems to be clutching with keyboard auto-correct/auto-complete. If I type a full word without pressing it from my keyboard suggestion options that shows while typing it doesn't seem to crash, but once I choose or select one auto-complete and proceed typing it freezes and crash. Re: Editor crashes browser Community Center Meta DaniWeb by Mr.M NB: I've typed all these reply messages successfully using the same Chrome browser that is crashing. Re: Editor crashes browser Community Center Meta DaniWeb by pritaeas Since Android was mentioned, I tested on my Samsung Galaxy S20 and could nog get it to crash. Re: Editor crashes browser Community Center Meta DaniWeb by Salem Your chrome is 9+ months out of date. https://chromereleases.googleblog.com/2024/07/ Re: Editor crashes browser Community Center Meta DaniWeb by Dani Well don’t upgrade chrome just yet! If the problem goes away, we won’t have any way of testing if the bug is fixed. Re: Editor crashes browser Community Center Meta DaniWeb by Dani It would be very helpful if you could not upgrade Chrome for now, while we debug this, since you're currently the only known person who is experiencing the bug. Re: Editor crashes browser Community Center Meta DaniWeb by Salem @Mr.M, @Dani - you might want to delete/censor the IMEI shown in the screenshots at some point. Re: Editor crashes browser Community Center Meta DaniWeb by Dani Can you try upgrading Chrome now and see if the problem goes away? Much thanks!