服務熱線
153 8323 9821
Server Error in / Application.
--------------------------------------------------------------------------------
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors > tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors > tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File -- >
<configuration >
<system.web >
<customErrors mode="Off"/ >
</system.web >
</configuration >
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application s <customErrors > configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -- >
<configuration >
<system.web >
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/ >
</system.web >
</configuration >
我在本地測試的很成功,但上傳到服務器后就沒老出現這樣的問題?
下面是我的方法,但我到現在還沒有解決這個實際問題,想請各位給說說這怎么辦呀?謝謝
1.先打開IE選項.然后刪除Cookeis.和文件.再然后點IE選項里的程序選項..點重置Web設置就可以了哦
2.如果本機IIS測試通過就是服務器權限問題
3.解決方法:
出現此類錯誤時,請您修改站點配置文件web.config,也就是在web.config文件里創建一個 <customErrors > 標記。然后應將此 <customErrors > 標記的“mode”屬性設置為“Off”(請您注意是“Off”,不是“off”,大寫的“O”,否則也不會出來錯誤信息),這樣就可以出來錯誤具體信息。(推薦您更改web.config文件, 因為這種問題往往是客戶端程序問題)
4.解決辦法:把C:Inetpubwwwroot中的aspnet_client文件夾傳到了站點根目錄。這個文件夾里面的.js文件是驗證函數,關鍵部分啊!
本文來自CSDN博客,轉載請標明出處:http://blog.csdn.net/feifeiyaqi3/archive/2007/10/25/1843544.aspx
另:
我這個問題解決了。
方法:我登陸服務器,打開IIS,選中IIS站點名---屬性----ASPNET-----ASPNET VERSION 中把1.0 改為2.0然后在遠程進入訪問網站就可以正常訪問了。
下一篇:回發或回調參數無效