It looks like you're new here. Sign in or register to get started.
using System.Web.Services.Protocols; try{ //do something } catch (SoapException ex) { string errorMessage = ex.Detail.InnerText; if (string.IsNullOrEmpty(errorMessage)) errorMessage = ex.Message; respond.redirect = "Error.apsx?_err=" + errorMessage; }
sbilly wrote: thanks for ur answer but what's ""Error.apsx?_err=" + errorMessage"
Comments
I can't get what you means. But if you want to catch error of NAV message, you can use
Best Regards,
Yukon
It means, if you use customer error page, it will be show at your customer error page. It depend on your development.
Best Regards,
Yukon