
customerrors remoteonly
IhaveanAspNetCorewebapplication,inwhichIwanttoshowcustomerrorsonlywhensomeoneisaccessingtheapplicationremotely.,Ihavecustomerrorssetinthewebconfigfileasfollows:Fineanddandy.,web>頁簽中加入來顯示自訂的錯誤畫面,如下...RemoteOnly從外面連進來看顯示...
【重要提醒】請全面檢視並修改web.config customErrors!
建議你修改網站根目錄下的web.config,加上或修改成,應可看出錯誤發生原因,排除後記得再改回On或RemoteOnly以策安全。#2013- ...
** 本站引用參考文章部分資訊,基於少量部分引用原則,為了避免造成過多外部連結,保留參考來源資訊而不直接連結,也請見諒 **