Exception Handling

c g posted at 09-May-08 04:30

In my development environment when an error is raised in my Buiness Layer I rethrow the exception and the message of he Exception is displayed.

For example : Cannot Update where Record Status is Closed  is displayed. Record ID 369448

When I deploy my app to both the System Test and UAT environments the user gets below :

-- System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Error: Cannot Update where Record Status is Closed'. Record ID 369448 at FCS.FinesBL.CreateFine(XmlDocument FinesXML) --- End of inner exception stack trace ---

Anyone know why the extra exception details are displayed in System Test and UAT and not in or development environment?

I am baffled.


Click here to sign in and reply. You could earn money via our $500 contest just for being helpful.
  Exception Handling - c g  09-May-08 04:30 4:30:16 AM
      hmm..is this? - santhosh kapa  09-May-08 05:01 5:01:51 AM
          Exception Handling - c g  09-May-08 05:08 5:08:47 AM
              Re: - Aravind Kumar  09-May-08 05:15 5:15:20 AM
              cheers.. - santhosh kapa  09-May-08 05:55 5:55:53 AM
View Posts