鈥�/鈥濆簲鐢ㄧ▼搴忎腑鐨勬湇鍔″櫒閿欒銆�

杩愯鏃堕敊璇�

璇存槑: 鏈嶅姟鍣ㄤ笂鍑虹幇搴旂敤绋嬪簭閿欒銆傛搴旂敤绋嬪簭鐨勫綋鍓嶈嚜瀹氫箟閿欒璁剧疆绂佹杩滅▼鏌ョ湅搴旂敤绋嬪簭閿欒鐨勮缁嗕俊鎭�(鍑轰簬瀹夊叏鍘熷洜)銆備絾鍙互閫氳繃鍦ㄦ湰鍦版湇鍔″櫒璁$畻鏈轰笂杩愯鐨勬祻瑙堝櫒鏌ョ湅銆�

璇︾粏淇℃伅: 鑻ヨ浣夸粬浜鸿兘澶熷湪杩滅▼璁$畻鏈轰笂鏌ョ湅姝ょ壒瀹氶敊璇秷鎭殑璇︾粏淇℃伅锛岃鍦ㄤ綅浜庡綋鍓� Web 搴旂敤绋嬪簭鏍圭洰褰曚笅鐨勨€渨eb.config鈥濋厤缃枃浠朵腑鍒涘缓涓€涓� <customErrors> 鏍囪銆傜劧鍚庡簲灏嗘 <customErrors> 鏍囪鐨勨€渕ode鈥濈壒鎬ц缃负鈥淥ff鈥濄€�

<!-- Web.Config 閰嶇疆鏂囦欢 -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>

娉ㄩ噴: 閫氳繃淇敼搴旂敤绋嬪簭鐨� <customErrors> 閰嶇疆鏍囪鐨勨€渄efaultRedirect鈥濈壒鎬э紝浣夸箣鎸囧悜鑷畾涔夐敊璇〉鐨� URL锛屽彲浠ョ敤鑷畾涔夐敊璇〉鏇挎崲鎵€鐪嬪埌鐨勫綋鍓嶉敊璇〉銆�

<!-- Web.Config 閰嶇疆鏂囦欢 -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>

400错误(可在服务器上查看具体错误信息)

请求出现语法错误

站长请点击 返回上一级>>