I don't believe you can start GUI exe's from a web backend. Just make a simple textbox in your web app with an Activate button. Then use the CheckAndSavePKey() and Activate() functions.
Hi,
I am not able to activate my product as the activation popup is not appearing, but the process is being executed during debug mode.The same is not working when I run it in my web application project.Please let know what am I doing wrong.My code in activate button is shown below:
Process TAProcess = new Process { StartInfo = { FileName = Path.Combine(HttpContext.Current.Server.MapPath("~/bin"), "TurboActivate.exe") }, EnableRaisingEvents = true }; TAProcess.Exited += p_Exited; TAProcess.Start();
Help appreciated.. 🤔 Thanks in advance..
I don't believe you can start GUI exe's from a web backend. Just make a simple textbox in your web app with an Activate button. Then use the CheckAndSavePKey() and Activate() functions.
The Turboactivate.exe screen has opened one time in my PC through the web application and I have activated the product using this. Now, it is not appearing as I uninstalled my setup and installed again. But the same is opening through debug mode of program.
Debug mode is not the same as real-life mode. Especially not in web apps. There's no place for the UI to show. Why? Because the ASP.NET process is not run as a user-level process. And not necessarily in the same session as the logged in user.
Does that make sense?
Hence, do what I suggested instead of using the TurboActivate wizard.