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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Midhun TpPosted Sep 29, 2016, 11:25 AM
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 kPosted Sep 30, 2016, 1:56 AM
kartik kPosted Sep 29, 2016, 10:33 AM
Bikesh SrivastavaPosted Sep 29, 2016, 10:20 AM
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).