Click here to Skip to main content
13,089,207 members (99,471 online)
Rate this:
Please Sign up or sign in to vote.
hello all,

i have developed an exe that do some function on some of the user's event.
i need to run that exe from the web page on web server.
when i am going to do this from my PC. its working, but while i do it on web sarver ,
it stops.
i placed exe in bin folder which is to be run.

is there any extra rights need to run exe from the bin folder of published web site.

main thing is that exe can run all the web user.

Please help me...
Thanks in advance..

Thanks for replay,

i think there is some mistakes in my writing.
i have executable file in my bin folder of published site.
and i want to execute it when web user click on button on webpage.
Posted 10-Aug-12 2:52am
Updated 10-Aug-12 18:35pm
Sandeep Mewara 10-Aug-12 9:04am
You need to check the error logs, Event logs on if/what is happening in case it is hosted. Without that only thing can be suggested is 'security' issue.
AlluvialDeposit 10-Aug-12 9:05am
You need rights to do this. You cant execute files on a webserver without special rights. Kudos to your ISP! :)
aspnet_regiis 10-Aug-12 9:38am
How in the world were you able to upload a 'exe' file to hosting server ? The hosting servers strictly prohibit these types of files from being uploaded... Now, if have uploaded it, then the ISP must have set up the rules not to allow to execute them. Talk to the support team of your ISP..
Marcus Kramer 10-Aug-12 17:29pm
This screams of bad architecture. Why would you need to run the exe from the web server and not simply incorporate the functionality into the server side code of the site itself?

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Your best bet is to make the app a service that you can call from your event code. I assume there's a good reason for you to do this, I can think of some, in the admin portion of a site. If it's a service, it will always be available.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.170813.1 | Last Updated 13 Aug 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100