Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB .NET Application Web
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 3:52am
Edited 10-Aug-12 19:35pm
v2
Comments
Sandeep Mewara at 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 at 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 at 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 at 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
good
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.
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 490
1 Maciej Los 305
2 Richard MacCutchan 270
3 Mathew Soji 220
4 BillWoodruff 210
0 OriginalGriff 8,834
1 Sergey Alexandrovich Kryukov 7,477
2 DamithSL 5,689
3 Maciej Los 5,329
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web02 | 2.8.1411028.1 | Last Updated 13 Aug 2012
Copyright © CodeProject, 1999-2014
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