Sounds like you are deploying in IIS if you are getting a turn on custom
errors message. Check out the webconfig file and modify the customErrors
element. Here's the definition:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/g
ngrfCustomerrorsSection.asp
You can trap errors in your remote object and log them to a file, event log,
or whatever is convenient for you and then rethrow the exception. Make sure
you have a try..catch block around your exposed remote methods to do so.
Thanks,
Sam

Signature
_______________________________
Sam Santiago
ssantiago@n0spam-SoftiTechture.com
http://www.SoftiTechture.com
_______________________________
> Hello,
> I have an application that I communicate with via .NET remoting. I wrote a
[quoted text clipped - 15 lines]
>
> Steve
Steve Long - 16 Dec 2004 17:02 GMT
Sam,
thanks for the reply. It is not an IIS deployment so I added mode="On" in
the customErrors tag of machine.config. After trapping and error in the
body of the remote function, I'm getting:
"Input string was not in a correct format" Message but the parameters look
correct as I logged them as well. This error doesn't occur on my development
machine, only on a test box. ????
Confused..
Steve
> Sounds like you are deploying in IIS if you are getting a turn on custom
> errors message. Check out the webconfig file and modify the customErrors
> element. Here's the definition:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/g
ngrfCustomerrorsSection.asp
> You can trap errors in your remote object and log them to a file, event log,
> or whatever is convenient for you and then rethrow the exception. Make sure
[quoted text clipped - 23 lines]
> >
> > Steve