win2003 iis6.0 NET2.0的Server Application Unavailable的問題!
更新時(shí)間:2007年06月26日 00:00:00 作者:
所屬分類:.NET技術(shù) .NET Framework
----------------------------------------------------------------------
打開網(wǎng)頁是這樣的:
Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.
在應(yīng)用程序日志里有2個(gè),一個(gè)紅錯(cuò)誤的是:
Failed to execute request because the App-Domain could not be created. Error: 0x80070005 拒絕訪問。
有關(guān)更多信息,請(qǐng)參閱在 http://go.microsoft.com/fwlink/events.asp 的幫助和支持中心。
一個(gè)黃警告的是:
Failed to initialize the AppDomain:/LM/W3SVC/547852252/Root
Exception: System.IO.FileLoadException
Message: Could not load file or assembly 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. 拒絕訪問。
StackTrace: at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Activator.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(String assemblyName, String typeName)
at System.AppDomain.CreateInstance(String assemblyName, String typeName)
at System.AppDomain.CreateInstance(String assemblyName, String typeName)
at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
有關(guān)更多信息,請(qǐng)參閱在 http://go.microsoft.com/fwlink/events.asp 的幫助和支持
怎么辦,怎么才可以運(yùn)行這個(gè)網(wǎng)頁(這個(gè)網(wǎng)頁在我有VS2005的機(jī)器上運(yùn)行調(diào)試是都可以的!)
----------------------------------------------------------------------
看看IIS是不是關(guān)了,如果開著就重新配置一下虛擬目錄
--------------------------------------------------------
怎么看有沒有關(guān),怎么配置虛擬目錄,我以前沒弄過!
--------------------------------------------------------
服務(wù)器是2003,IIS是V6.0
--------------------------------------------------------
我也遇到這樣的問題,那位高人指點(diǎn)一下啊!
--------------------------------------------------------
up
--------------------------------------------------------
搞定 虛擬目錄指向的文件夾要加User組
--------------------------------------------------------
我是菜鳥,不知道我的回答是否多余?。?nbsp;
如果裝過IIS,默認(rèn)應(yīng)該是打開的,除非改過服務(wù)。
去控制面板-〉性能和維護(hù)-〉管理工具-〉Internet信息服務(wù)
就可以看到了,還可以設(shè)置虛擬目錄
解決辦法:在該web sites的virtual directory下,將Permissions設(shè)置一下,里面應(yīng)包含
ASP.NET
IWAM_MachineName
Local_Service
Network_Service
System
而且權(quán)限要設(shè)置為write & read.
----------------------------------------------------------------------
打開網(wǎng)頁是這樣的:
Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.
在應(yīng)用程序日志里有2個(gè),一個(gè)紅錯(cuò)誤的是:
Failed to execute request because the App-Domain could not be created. Error: 0x80070005 拒絕訪問。
有關(guān)更多信息,請(qǐng)參閱在 http://go.microsoft.com/fwlink/events.asp 的幫助和支持中心。
一個(gè)黃警告的是:
Failed to initialize the AppDomain:/LM/W3SVC/547852252/Root
Exception: System.IO.FileLoadException
Message: Could not load file or assembly 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. 拒絕訪問。
StackTrace: at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Activator.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(String assemblyName, String typeName)
at System.AppDomain.CreateInstance(String assemblyName, String typeName)
at System.AppDomain.CreateInstance(String assemblyName, String typeName)
at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
有關(guān)更多信息,請(qǐng)參閱在 http://go.microsoft.com/fwlink/events.asp 的幫助和支持
怎么辦,怎么才可以運(yùn)行這個(gè)網(wǎng)頁(這個(gè)網(wǎng)頁在我有VS2005的機(jī)器上運(yùn)行調(diào)試是都可以的!)
----------------------------------------------------------------------
看看IIS是不是關(guān)了,如果開著就重新配置一下虛擬目錄
--------------------------------------------------------
怎么看有沒有關(guān),怎么配置虛擬目錄,我以前沒弄過!
--------------------------------------------------------
服務(wù)器是2003,IIS是V6.0
--------------------------------------------------------
我也遇到這樣的問題,那位高人指點(diǎn)一下啊!
--------------------------------------------------------
up
--------------------------------------------------------
搞定 虛擬目錄指向的文件夾要加User組
--------------------------------------------------------
我是菜鳥,不知道我的回答是否多余?。?nbsp;
如果裝過IIS,默認(rèn)應(yīng)該是打開的,除非改過服務(wù)。
去控制面板-〉性能和維護(hù)-〉管理工具-〉Internet信息服務(wù)
就可以看到了,還可以設(shè)置虛擬目錄
解決辦法:在該web sites的virtual directory下,將Permissions設(shè)置一下,里面應(yīng)包含
ASP.NET
IWAM_MachineName
Local_Service
Network_Service
System
而且權(quán)限要設(shè)置為write & read.
您可能感興趣的文章:
- Windows Server 2012 Iis8 php環(huán)境配置方法
- win2008下安裝SQL SERVER 2005出現(xiàn)IIS功能要求 警告解決方案
- windows server 2008R2系統(tǒng) IIS7.5配置偽靜態(tài)的方法(urlrewrite)
- Windows server 2008 iis7/iis7.5啟用父路徑的方法
- Win2008 server + IIS7 設(shè)置身份模擬(ASP.NET impersonation)
- Tomcat6.0與windows 2003 server 的IIS服務(wù)器集成
- windows server 2008/2012安裝php iis7 mysql環(huán)境搭建教程
- Windws Server 2008 R2 WEB環(huán)境配置之安裝IIS方法
- Microsoft Windows 2008 Server R2 iis7.5上傳文件限制200K更改
- Win2008 Server下IIS配置安裝教程
相關(guān)文章
安裝jmail 出現(xiàn)The message was undeliverable. All servers failed
安裝jmail 出現(xiàn)The message was undeliverable. All servers failed to receive the message的解決方法...2007-06-06談?wù)劶夹g(shù)原則,技術(shù)學(xué)習(xí)方法個(gè)人總結(jié)
談?wù)劶夹g(shù)原則,技術(shù)學(xué)習(xí)方法,代碼閱讀及其它個(gè)人總結(jié)這篇文章是前一陣在水木BBS上和別人討論中偶自己發(fā)言的摘編,是偶這幾年開發(fā)過程完全經(jīng)驗(yàn)式的總結(jié)。完全個(gè)人經(jīng)驗(yàn),供批判。2008-06-06資料:數(shù)據(jù)恢復(fù)知識(shí)基礎(chǔ)
資料:數(shù)據(jù)恢復(fù)知識(shí)基礎(chǔ)...2007-01-01xp與2000,2003系統(tǒng)優(yōu)化和設(shè)置教程
xp與2000,2003系統(tǒng)優(yōu)化和設(shè)置教程...2007-03-03服務(wù)器中TIME_WAIT狀態(tài)過多時(shí)的排查分析
這篇文章主要為大家介紹了服務(wù)器中TIME_WAIT狀態(tài)過多時(shí)的排查分析,有需要的朋友可以借鑒參考下,希望能夠有所幫助,祝大家多多進(jìn)步早日升職加薪2022-04-04