I have an Exceutable file means(.Exe) is there.I want to use in Asp.net.How is it possible .can anybody helpme,
thanks in advance
kartik
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Midhun TpRank #388 · 6.5K reputationPosted Sep 29, 2016, 7:25 AM EDT
Please go through below links-
http://dotnetslackers.com/Community/blogs/haissam/archive/2007/02/02/Run-Executable-file-in-ASP.NET.aspx
http://www.c-sharpcorner.com/blogs/how-to-run-exe-on-button-click-in-asp-netc-sharp1
kartik k95 reputationPosted Sep 29, 2016, 9:56 PM EDT
Bikesh SrivastavaRank #108 · 20.3K reputationPosted Sep 29, 2016, 6:20 AM EDT
You may need to set the
proc.StartInfo.LoadUserProfileproperty totrueso the administrator's user profile stuff is loaded into the registry (AFAIK this does not happen by default).Also, it might be educational to run a 'hello world' program to see if the problem is with actaully creating the process or if the process itself is having problems running in the context it's given.
Finally, as a step in trying to narrow down where the problem might be, you might want to run the ASP.NET process itself with admin or system credentials to see if something in the permissions of the account the ASP.NET instance is running under is part of the problem (but please do this only for troubleshooting).
kartik k95 reputationPosted Sep 29, 2016, 6:33 AM EDT