Quantcast
Channel: Developing Apps for SharePoint 2013 forum
Viewing all articles
Browse latest Browse all 8089

Custom error Page when Run time Occurs

$
0
0

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


Viewing all articles
Browse latest Browse all 8089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>