Security Exception Request Failed When Launching An EXE From Web
Posted on 2006-04-26
Hi, I have an ActiveX control written in C# that will have a button. I have this ActiveX control loaded in a HTML. When user clicked on the button, it is supposed to launch his calculator.exe from his computer.
This is part of the code in my ActiveX Control. I have this compiled into a DDL.
private void button1_Click(object sender, System.EventArgs e)
System.Diagnostics.Process proc = new System.Diagnostics.Process();
I hosted this code on my PC(My own IIS), it gave me the security exception error first. Then I went to configure my .NET Framework 1.1 Configuration and set the Local Intranet Zone to FULL TRUST. I am finally able to open the calculator.exe by just clicking on the button. However, my colleague, on a same LAN, couldn't launch the calculator when i gave him my URL as he keeps getting the SeucrityExeption Request Failed when the button is pressed. He already set the .NET Framework Configuration to have the Local Intranet Zone set to FULL TRUST. He still couldn't open the Calculator.exe. Please help!