Re: Cannot run exe from asp.net Programming Web Development by Dani Marking this question as solved. Thanks all! Re: Cannot run exe from asp.net Programming Web Development by lennyli …gt; > It needs special permissions to run, and the IIS app is very restricted by default. > > Programs… it could be due to caching or differences in how IIS reads settings versus Visual Studio. > > Why… does not include any security measures. In a real application, you would need to implement authentication, encryption, and … Re: Cannot run exe from asp.net Programming Web Development by Neil_brown001 … the desktop. It needs special permissions to run, and the IIS app is very restricted by default. Programs with a visual… the overall app, the other can apply to subfolders. If IIS doesn’t seem to match what’s in web.config…, it could be due to caching or differences in how IIS reads settings versus Visual Studio. Why the port number is… Cannot run exe from asp.net Programming Web Development by lennyli …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…confused why there were 2 web.config files, and the IIS interface didnt seem to match the web.config settings, … 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: 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 … aspnet_compiler / IIS metabase path error Programming Web Development by itrickski … the aspnet_compiler command This generates an error regarding the IIS application. >aspnet_compiler -m /lm/w3svc/2/ROOT/univmain/search_app d:\…: '/lm/w3svc/2/ROOT/univmain/search_app' is not a valid IIS application. QUESTION: can someone help me run the correct metabase command… MSSQL "A network-related or instance-specific error" and IIS application pool Programming Databases by johnyjj2 Hello! I've got web application created for MSSQL and IIS. There are two directories in this application - Scripts and WebSite. In Script there… run? How to run IIS properly?[/u] It is written in pdf documentation of this web application that I need to "… Re: MSSQL "A network-related or instance-specific error" and IIS application pool Programming Databases by johnyjj2 …expand the local computer, right-click Application Pools, point to New, and then click Application Pool" I don't see… any "Application Pools". There are only:…Virtual Server (Domains, Current Sessions). [u]How to add application pool properly?[/u] [b]How to get rid of that… Starting New IIS application Programming Software Development by Kegtapper … Anyway when I start VB new IIS project - [IMG]http://www.kegtapper.net/test/…/DaniWeb-Dsr.jpg[/IMG] I have PWS 5/IIS server installed on this Win2000 system. (At least… guess the questions are: [B]Is PWS or IIS the server I am using?[/B] [B]Is …Personal Web Server same as IIS on Win2000?[/B] if not where do I start… Re: IIS .NET2 virtual directory not working Programming Web Development by dbreise …as possible. Each web site has its own application is the IIS (IIS 6.0 on Win2K3) with the following things…I create a new virtual directory directly below the application top level. The virtual directory is automatically configured …as an application and shows the contents of the to-be shared folder in IIS alright, but when… IIS .NET2 virtual directory not working Programming Web Development by madmital …as possible. Each web site has its own application is the IIS (IIS 6.0 on Win2K3) with the following things…I create a new virtual directory directly below the application top level. The virtual directory is automatically configured …as an application and shows the contents of the to-be shared folder in IIS alright, but when… IIS got stuck after certain amount of request Programming Web Development by anish.anick Hi All, I am developing a web application which contains rich set of ajax request from … fine. But when we moved our application to a remote web server the application(IIS) got stuck after handling some amount …of request from web page. Manually resetting the web server IIS solves … IIS Log Programming Web Development by Balaji Yerukola …a project which is based upon IIS Log file. My Client has one Intranet Application and is usefull for many users… in thir organisation. This intranet application is running on IIS web server. The requirement is that we need… to generate a reports by analysing and parsing the IIS log. It means that we need to generate a… Iis odbc error Programming Web Development by kabanga I have an asp.net application done in visual studio 2005. When I run the application from code, it rums properly but when I compile the site and run it from IIS there is an ODBCerror. The same is the case when I run the code from IIS instead of running the code from the file system. I figure this is an issue with the IIS, how do i resolve this. Re: IIS Log Programming Web Development by kvprajapati …;http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/b344f84e-bc77-4019-859c-9d483bc85c77.mspx?mfr=true…"]Configuring IIS Logs (IIS 6.0)[/URL] 2. [URL="http…://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/823670b2-d7a6-4cbc-88e5-64c59dcb9105.mspx?mfr=true…