欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

“/”應用程序中的服務器錯誤和Server Error in ''/'' Application.的終極解決方法

 更新時間:2011年06月29日 00:25:26   投稿:mdxy-dxy  
“/”應用程序中的服務器錯誤。 運行時錯誤 說明: 服務器上出現(xiàn)應用程序錯誤。

“/”應用程序中的服務器錯誤。 運行時錯誤 說明: 服務器上出現(xiàn)應用程序錯誤。此應用程序的當前自定義錯誤設置禁止遠程查看應用程序錯誤的詳細信息(出于安全原因)。但可以通過在本地服務器計算機上運行的瀏覽器查看。 詳細信息: 若要使他人能夠在遠程計算機上查看此特定錯誤信息的詳細信息,請在位于當前 Web 應用程序根目錄下的“web.config”配置文件中創(chuàng)建一個 <customErrors> 標記。然后應將此 <customErrors> 標記的“mode”屬性設置為“Off”。

<!-- Web.Config 配置文件 --><configuration>    <system.web>        <customErrors mode="Off"/>    </system.web></configuration>


原因1: 這是由于配置中 Asp.Net 程序 沒有顯示詳細的錯誤信息. 解決:  您必須按照要求,修改 web.config 文件 將 <customErrors mode="Off"/> 設置mode ="Off", 上傳到網站根目錄.然后刷新就可以看到詳細錯誤.然后根據錯誤修改程序就可以了. 原因2: web.config 文件不是放在www根目錄下.而是放在www的子目錄下等.這樣用戶訪問這個目錄時就會出現(xiàn)提示錯誤. 解決:  將子目錄下的 Asp.net應用程序移到 www根目錄下. 這樣就可以看到詳細錯誤了.您可以根據錯誤調整程序.

3. Asp.Net 程序顯示錯誤如下:
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".
原因1: web.config 文件不完整.不是合格的asp.net 配置文件. 解決:  您要檢查web.config 是否合格,有時候是粗心,xml文件不完整.導致的問題 原因2: asp.net版本問題.asp.net有asp.net 1.1和 asp.net2.0 兩個版本.

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: /aspx/2/board.aspx
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42遇到這樣的問題是不是沒有部署bin文件,如果有的話,你把bin文件里面的那個DreamweaverCtrls.dll復制一下,然后把bin文件刪除,再在之前的目錄下面新建一個bin文件,把DreamweaverCtrls.dll粘貼進去。
如果還是不行那就是iis的問題。
你需要,開始-運行-cmd-輸入cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727-回車-aspnet_regiis.exe 回車。他會提示asp.net正在安裝。之后安裝完成
然后你再去重新啟動一下iis就可以了,啟動方法為:右擊我的電腦-管理-服務和應用程序-右擊Internet信息服務-所有任務-重新啟動iis,這樣應該就行了

ASPX程序 Server Error in '/' Application 錯誤的最簡單解決辦法

給web目錄加上 Users 權限即可:
右鍵網站文件夾,屬性,安全,添加 Users ,確定,不用重啟IIS。

相關文章

最新評論