Hi I found out that my application causes some errors which are logged in an Event log.
It states:
NET Runtime 2.0 Error
EventType clr20r3, P1 *****.exe, P2 1.0.0.0, P3 4b2a572f, P4 system.web.services, P5 2.0.0.0, P6 4889df18, P7 bc, P8 65, P9 system.net.webexception, P10 NIL.
How can I find out what’s going on? I’ve tried that app locally and everything works fine.
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 yourmainmethod) 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.