Re: Cannot run exe from asp.net Programming Web Development by Neil_brown001 Why your approach isn’t working What you're trying to do is mostly blocked by modern security rules — for good reasons. Here's the breakdown: Running a .exe on the server You can technically make the server launch an .exe file like Notepad, but: It will run in the background on the server, not visibly on the desktop. It needs special … Re: Cannot run exe from asp.net Programming Web Development by lennyli > Why your approach isn’t working > What you're trying to do is mostly blocked by modern security rules — for good reasons. Here's the breakdown: > > Running a .exe on the server > You can technically make the server launch an .exe file like Notepad, but: > > It will run in the background on the server, not visibly on… 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 I have tried to read https://www.daniweb.com/programming/web-development/threads/386380/cannot-run-exe-files-in-asp-net-application but still lost in trying to achieve something. I installed the latest .net framework, and IIS on the latest updated windows 11. I wish to achieve the following: Have a webpage with a button, when pressed, it will … 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 pritaeas Are you sure IIS is configured to allow running external scripts? 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 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: Running Apache Tomcat behind a IIS reverse proxy with SSL termination Programming Web Development by blud IIS should be able to do this just fine - "Bad Gateway" actually has a lot of different subcategories in IIS, so the first thing is to figure out which of those sub categories this falls into. This can sometimes be defined on the error pages if they are enabled. Connection Timeout - This is generally the most common and usually has to … Running Apache Tomcat behind a IIS reverse proxy with SSL termination Programming Web Development by riahc3 Hello Havent been here in a while but might as well give it a shot. I have several Apache Tomcat instances running on a Windows Server on different ports. They are all HTTP. The idea would be to (on the same server) install a IIS and use it a content switcher and also as a SSL terminator. This was depending on the URL, the IIS would … Re: Contact form does not working Programming Web Development by gediminas.bukauskas.7 WEB security now rejects mail sent from any computer. Select some mail provider and send mail using it. Using certificated WEB serve is an another solution. Obtain legal certificate, register it on WEB server (IIS, Apache, NGINX, ...) Re: Contact form does not working Programming Web Development by gediminas.bukauskas.7 It was a time when anybody could to send a mail from Apache (or IIS) installed on local computer but internet spammers have used that feature for evil purposes. Now you can send emails from an officially registered server only. Even if you manage to send a letter somehow it will not reach the recipient or will be automatically will be placed into … IIS 6.0 ODBC Logging Hardware and Software Microsoft Windows by Alex_808 IIS 6.0 Does not log every hit on are web site with ODBC Logging and we find a bunch of errors loged in the Evenet Viewer: [B]IIS ODBC Logging failed to log data to data source HTTPLog.[/B] Event ID: 6 Looked every where for some help have yet to solve the problem I have : 1. Looked at the SQL logs for any leads..nothing 2. Made … Re: Iis, apache, firefox Programming Web Development by Webhost4life IIS should be running on the Windows, Apache should be running on the Linux Seems I didn't encounter a hosting company can offer this 2 iis on one same server. I know the PHP, ASP, ASP.NET can be run on the Windows hosting, some of good ASP, ASP.NET web hosting service providers can be found on the page [URL removed] Good Luck! IIS Programming Web Development by Ninad16 I am a beginner.Please help me out... What is IIS?How do we run and install IIS?Why is IIS required? Re: IIS Programming Software Development by Luc001 Hi, For more information about IIS, look [URL="http://learn.iis.net/page.aspx/243/aspnet-integration-with-iis-7/"]here.[/URL] Re: IIS Programming Web Development by ajwei810192 [QUOTE=adobe71;1239335]My website contains database,which runs successfully in visual studio 2008,but when I put it in \wwwroot in IIS, database not working.PLS solve my problem.[/QUOTE] I have problems also with IIS. I am trying to learn ASP.NET, and I installed IIS and Microsoft .Net Framework 3.5. I then restarted my machine, and opened up … IIS Help Hardware and Software Microsoft Windows by Reliable Hello, I've been trying all day to fix a problem. I've installed and reinstalled XAMPP and WAMPP at separate times to achieve a web server to no avail. I did so thinking there was a problem with my installation. From the little progress I have made there seems to be a problem with my IIS. I'm using XP Pro SP3 and I have IIS 5.1. When … IIS Programming Software Development by Netcode Hello everyone! Please am developing a web application using vb.net with visual studio 2010 and .NET framework 4.0. its complete but i want it accessible over the network (LAN) so i have tried to host it on the local server (IIS) but i keep getting the following error message from IIS: HTTP Error 500.21 - Internal Server Error Handler "…