Hi Guys In my SharePoint application in case if any Run time error occurs in my code, It should not come Server error \ ..instead it needs to redirect to Custom error Page But its not working Can you plz help out? I made changes in web.Config file but its not working..Can you guys plz help me out how to redirect to custom error Page if any run time error occurs in Sharepoint??
<customErrors mode="RemoteOnly" defaultRedirect="~/GeneralError.htm" redirectMode="ResponseRedirect"></customErrors>
[[ Web.config file in Virtual Directory C:/inetpub/wwwroot/vd/port/web.config
Is there any changes in addition to this web.config file??
Reddy