小hu 發問時間: 社會與文化語言 · 1 0 年前

網頁開不起來 一些訊息文字看不懂(幫解)

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>

已更新項目:

該怎麼解決呢?

4 個解答

評分
  • 呆子
    Lv 7
    1 0 年前
    最佳解答

    Server Error in &#39;/&#39; 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 tag within a &quot;web.config&quot; configuration file located in the root directory of the current web application. This tag should then have its &quot;mode&quot; attribute set to &quot;Off&quot;.

    細節說明:為了啟動使用者從遠端登入,可使用 標籤,在根目錄下建立&quot;web.config&quot; 組態檔,但在 &quot;mode&quot;模式屬性設定為&quot;Off&quot;關閉

    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the &quot;defaultRedirect&quot; of the application&#39;s configuration tag to point to a custom error page URL.

    注意:目前所見錯誤網頁可以被使用者錯誤網頁所取代,以初始頁屬性將 組態標籤利用URL網路連線直接指向使用者錯誤網頁

  • 5 年前

    Server Error in '/' Application.

    The resource cannot be found.

    Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

    Requested URL: /member/Page/Index/Login/CommonLogin/Login.aspx

    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

  • 庫特
    Lv 6
    1 0 年前

    這其實沒有意使

    這只是一種開玩笑的晨室

    P.S.我還會補充.因很晚了

  • 1 0 年前

    中:

    服務器錯誤在&#39; / &#39;應用。

    -------------------------------------------------- ------------------------------

    運行時錯誤

    描述:一個應用程序錯誤發生在服務器上。當前自定義錯誤設置此應用程序,防止詳情應用程序錯誤,從被遠程(出於安全原因) 。它可以,但是,檢視瀏覽器上運行的本地服務器的機器。

    詳細信息:讓細節這個特定的錯誤訊息,以檢視在遠程機器,請創建一個 標記“的Web.config ”配置文件,位於根目錄目前的Web應用程序。這 標記應該有其“模式”屬性設置為“關閉” 。

    &lt; ! -W eb.config的配置文件- &gt;“

    &lt; / system.web &gt;

    &lt; /配置&gt;

    注:當前錯誤頁您所看到的,可以取而代之的是一個自訂錯誤網頁通過修改“的defaultRedirect ”屬性的應用程序的 配置標記以指向一個自定義的錯誤網頁的網址。

    &lt; ! -W eb.config的配置文件- &gt;“

    &lt; / system.web &gt;

    &lt; /配置&gt;

    參考資料: 自己
還有問題?馬上發問,尋求解答。