/Ӧóеķ

ʱ

˵: ϳӦó󡣴ӦóĵǰԶýֹԶ̲鿴ӦóϸϢ(ڰȫԭ)ͨڱطе鿴

ϸϢ: ҪʹܹԶ̼ϲ鿴ضϢϸϢλڵǰ Web ӦóĿ¼µġweb.configļдһ <customErrors> ǡȻӦ <customErrors> ǵġmodeΪOff


<!-- Web.Config ļ -->

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

ע: ͨ޸Ӧó <customErrors> ñǵġdefaultRedirectԣʹָ֮Զҳ URLԶҳ滻ĵǰҳ


<!-- Web.Config ļ -->

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

ʱ

/Ӧóеķ

ʱ

˵: ϳӦó󡣴ӦóĵǰԶýֹԶ̲鿴ӦóϸϢ(ڰȫԭ)ͨڱطе鿴

ϸϢ: ҪʹܹԶ̼ϲ鿴ضϢϸϢλڵǰ Web ӦóĿ¼µġweb.configļдһ <customErrors> ǡȻӦ <customErrors> ǵġmodeΪOff


<!-- Web.Config ļ -->

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

ע: ͨ޸Ӧó <customErrors> ñǵġdefaultRedirectԣʹָ֮Զҳ URLԶҳ滻ĵǰҳ


<!-- Web.Config ļ -->

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

ʱ

/Ӧóеķ

ʱ

˵: ϳӦó󡣴ӦóĵǰԶýֹԶ̲鿴ӦóϸϢ(ڰȫԭ)ͨڱطе鿴

ϸϢ: ҪʹܹԶ̼ϲ鿴ضϢϸϢλڵǰ Web ӦóĿ¼µġweb.configļдһ <customErrors> ǡȻӦ <customErrors> ǵġmodeΪOff


<!-- Web.Config ļ -->

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

ע: ͨ޸Ӧó <customErrors> ñǵġdefaultRedirectԣʹָ֮Զҳ URLԶҳ滻ĵǰҳ


<!-- Web.Config ļ -->

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

ҵ_ƱѺ䵱 - ɽװ䵱޹˾
 
: 0757-27789028
Ӫҵʱ䣺9:00~18:00ճӪҵ