customerrors mode= on defaultredirect= mycustompage.htm / sharepoint
customerrors mode= on defaultredirect= mycustompage.htm
Error Message:Server Error in '/' Application.
-----------------------------
Runtime Error
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
To Find Solution:Open web.config file from
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS
Change the following in web.config and you will be able to see the detailed error.
<customErrors mode="Off"/>
Then it go to the error page.Refresh it.it will show detaild error.It will will be
helpfull to solve the error..
Comments
Post a Comment