Through WebLink we are getting a standard error that I do not have permissions to view this entry. The error is a nasty looking. Is there a way to display a more friendly messages for this type of error.
Event Viewer Message:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 10/2/2017 3:05:28 PM
Event time (UTC): 10/2/2017 10:05:28 PM
Event ID: 8240dde3feb949bf9bf08e41a5e34aee
Event sequence: 136
Event occurrence: 4
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT/LFPortal-2-131514495883017126
Trust level: Full
Application Virtual Path: /LFPortal
Application Path: D:\Program Files\Laserfiche\WebLink\Web Files - EmployeePortal\
Machine name: DCAPLFI185
Process information:
Process ID: 3016
Process name: w3wp.exe
Account name: IIS APPPOOL\WebLinkAppPool
Exception information:
Exception type: Exception
Exception message: You do not have the necessary permissions to view the entry '2352'. User (Edward) does not have the read permissions on the entry.
at WebLink.DocView2.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Request information:
Request URL: https://dcaplfi185.glendaleaz.com:443/lfportal/DocView.aspx?dbid=2&id=2352
Request path: /lfportal/DocView.aspx
User host address: ::1
User:
Is authenticated: False
Authentication Type:
Thread account name: IIS APPPOOL\WebLinkAppPool
Thread information:
Thread ID: 28
Thread account name: IIS APPPOOL\WebLinkAppPool
Is impersonating: False
Stack trace: at WebLink.DocView2.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details: