亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

“/”應(yīng)用程序中的服務(wù)器錯(cuò)誤和Server Error in ''/'' Application.的終極解決方法

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

“/”應(yīng)用程序中的服務(wù)器錯(cuò)誤。 運(yùn)行時(shí)錯(cuò)誤 說(shuō)明: 服務(wù)器上出現(xiàn)應(yīng)用程序錯(cuò)誤。此應(yīng)用程序的當(dāng)前自定義錯(cuò)誤設(shè)置禁止遠(yuǎn)程查看應(yīng)用程序錯(cuò)誤的詳細(xì)信息(出于安全原因)。但可以通過(guò)在本地服務(wù)器計(jì)算機(jī)上運(yùn)行的瀏覽器查看。 詳細(xì)信息: 若要使他人能夠在遠(yuǎn)程計(jì)算機(jī)上查看此特定錯(cuò)誤信息的詳細(xì)信息,請(qǐng)?jiān)谖挥诋?dāng)前 Web 應(yīng)用程序根目錄下的“web.config”配置文件中創(chuàng)建一個(gè) <customErrors> 標(biāo)記。然后應(yīng)將此 <customErrors> 標(biāo)記的“mode”屬性設(shè)置為“Off”。

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


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

3. Asp.Net 程序顯示錯(cuò)誤如下:
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 是否合格,有時(shí)候是粗心,xml文件不完整.導(dǎo)致的問題 原因2: asp.net版本問題.asp.net有asp.net 1.1和 asp.net2.0 兩個(gè)版本.

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文件里面的那個(gè)DreamweaverCtrls.dll復(fù)制一下,然后把bin文件刪除,再在之前的目錄下面新建一個(gè)bin文件,把DreamweaverCtrls.dll粘貼進(jìn)去。
如果還是不行那就是iis的問題。
你需要,開始-運(yùn)行-cmd-輸入cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727-回車-aspnet_regiis.exe 回車。他會(huì)提示asp.net正在安裝。之后安裝完成
然后你再去重新啟動(dòng)一下iis就可以了,啟動(dòng)方法為:右擊我的電腦-管理-服務(wù)和應(yīng)用程序-右擊Internet信息服務(wù)-所有任務(wù)-重新啟動(dòng)iis,這樣應(yīng)該就行了

ASPX程序 Server Error in '/' Application 錯(cuò)誤的最簡(jiǎn)單解決辦法

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

相關(guān)文章

最新評(píng)論