一般都是web.comfig 文件配置錯誤導致的
解決:
將你自己的web.config文件中的
<customErrors mode="On" defaultRedirect="SiteError.aspx"/>
替換成<customErrors mode="Off"/>
然後就可以運行起來看到具體的錯誤了。
一般都是web.comfig 文件配置錯誤導致的
解決:
將你自己的web.config文件中的
<customErrors mode="On" defaultRedirect="SiteError.aspx"/>
替換成<customErrors mode="Off"/>
然後就可以運行起來看到具體的錯誤了。
在沒有引入log4j.dll 的情況下,簡單輸出日誌: public static void ErrorLog(string mssg) { string FilePath = "F:/Err
在沒有引入log4j.dll 的情況下,簡單輸出日誌: public static void ErrorLog(string mssg) { string FilePath = "F:/Err