Can you describe more about the type of application it is? What it's doing, is it interactive or non-interactive?
The actual error is system.net.webexception
- which is some form of problem communicating with a web-page or web-service. This in itself suggests it might an intermittent error if it works fine when you try it.
Either that or something is misconfigured when it's running remotely - something different to your environment. For example, do you use an internal DNS entry that's not available when the application is run remotely?
You will want to catch all exceptions in your application (like an overall try { } catch { }
in your main
method) and log the exceptions to a file, or get it to e-mail them to yourself, so you can see in more detail what's occuring.