I am using wcf Service, and When I called it like below,
try
{
//var of1 = CrmStartUp.GetOfferDetailsById(5070, 666, 1, 2016, 18);
LostReasonsByOffer lostReasonsByOffer145 = CrmStartUp.GetLostReasonsByOffer(5070);
}
catch (Exception ex)
{
}
then I got
nullreference Exception
and it is not caught by the SystemException Class. Can anyone tell me where I am going wrong or How to fix this issue.
the error is shown below