The issue can arise if the server is in Shared Hosting environment. Please make sure that the application you have hosted is a Full Trust application. I believe interacting with the services is like a Admin task. Most, if not all hosting providers keep the application in the medium trust levels.
If you have a dedicated server, you need to configure an account which can enable and disable services and then provide its credentials in the
identity
tag like this:
<identity impersonate="true" userName="accountname" password="password" />
On your local machine it works fine because most probably you are running Visual Studio with Administrator rights.