web报错Could not load file or assembly or one of its dependencies. Access is denied.

Could not load file or assembly  or one of its dependencies. Access is denied.

<httpModules>
<!--ajax异步调用组件-->
<add name="NonstaticPageMethodModule" type="NonstaticPageMethod.PageMethodModule, NonstaticPageMethod"/>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="SecurityModule" type="mycom.Web.Modules.HttpSecurityModule"/>
</httpModules>

dll无权限访问,  解决方法: 把当前web目录改名称, 新建通名称目录,再吧内容拷过去,就可以了。。

比较神奇,感觉是清除了临时文件,重新去编译。

posted on 2011-05-12 12:24  myuser  阅读(562)  评论(0编辑  收藏  举报