win2003 iis6.0 NET2.0的Server Application Unavailable的问题!

所属分类: 实用技巧 / 应用技巧 阅读数: 1752
收藏 0 赞 0 分享
所属分类:.NET技术 .NET Framework
----------------------------------------------------------------------

打开网页是这样的: 
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.  
在应用程序日志里有2个,一个红错误的是: 
Failed to execute request because the App-Domain could not be created. Error: 0x80070005 拒绝访问。   

有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。 
一个黄警告的是: 
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) 

有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持 
怎么办,怎么才可以运行这个网页(这个网页在我有VS2005的机器上运行调试是都可以的!) 

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

看看IIS是不是关了,如果开着就重新配置一下虚拟目录 

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

怎么看有没有关,怎么配置虚拟目录,我以前没弄过! 

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

服务器是2003,IIS是V6.0 

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

我也遇到这样的问题,那位高人指点一下啊! 

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

up 

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

搞定 虚拟目录指向的文件夹要加User组 

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

我是菜鸟,不知道我的回答是否多余!? 
如果装过IIS,默认应该是打开的,除非改过服务。 
去控制面板-〉性能和维护-〉管理工具-〉Internet信息服务 
就可以看到了,还可以设置虚拟目录 
解决办法:在该web sites的virtual directory下,将Permissions设置一下,里面应包含
ASP.NET
IWAM_MachineName
Local_Service
Network_Service
System
而且权限要设置为write & read.
更多精彩内容其他人还在看

DEDECMS插入表时的出错

修改服务器mysql的sql-mode配置以解决DEDECMS插入表时的出错的BUG
收藏 0 赞 0 分享

Firefox浏览器狂占CPU解决办法

这两天 Firefox 突然变态,时不时的占用接近 50% CPU 资源,带来的现象是系统应用程序响应极慢。开始还以为是个别页面带来的问题,后来发现原来是普遍现象。这类问题开始不好求助于 Google ,说实话,不知道用啥作关键字搜索。
收藏 0 赞 0 分享

TMP、TEMP和TMP文件区别解析

总是发现很多tmp和temp等缓存文件,不懂为什么要那么多区别,看了下文,感觉不错
收藏 0 赞 0 分享

保存网页图片的八种方法小结

为了增加互动性和美观,现在的网页中都有许多精美的图片,这些都是网页制作者精心制作出来的,如果你想拿来为自己所用就必须把它们保存下来。另外,在一些电子书中也有精美的图片,为了防止有人复制,作者禁用了鼠标右键无法直接下载,针对以上情况,我们可以想办法来突破限制,从易到难可以顺次采用以
收藏 0 赞 0 分享

高手总结的电脑应用技巧第1/3页

声明:以下技巧都是一些电脑常用技巧,但也并不是每个人都很清楚,请只选择你感兴趣的内容选择性的观看。
收藏 0 赞 0 分享

不用任何软件修改mac地址的图文方法

一直都用的软件修改mac地址,没想到可以直接修改,学到一招
收藏 0 赞 0 分享

安装ppstream后出现的ppsap.exe进程解决办法

程文件:ppsap.exe 进程名称:ppsap.exe 描述: ppstream每次启动都会另开一个进程“网络加速器”(ppsap.exe), (1)每次开机都会自动运行, (2)退出ppstream之后会继续存在, (3)可手动在taskmanager
收藏 0 赞 0 分享

SIM卡的基本知识

一直用SIM卡不知道是怎么回事呢
收藏 0 赞 0 分享

删除XP中“自定义通知”的历史项目

XP中自定义通知很反感,告诉大家它的删除方法
收藏 0 赞 0 分享

更改IE浏览器的图标

注册表更改IE图标
收藏 0 赞 0 分享
查看更多