本文介绍了没有写权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好!当我运行应用程序时,
在浏览器中错误是

当前身份(IIS APPPOOL \ n)没有对''C:\ Windows \ Microsoft.NET \ Framework \ v2.0.50727 \ Temporary ASP.NET文件的写访问权限."


源错误:

当前Web请求的执行期间生成了未处理的异常.可以使用下面的异常堆栈跟踪来标识有关异常的来源和位置的信息.

堆栈跟踪:


[HttpException(0x80004005):当前标识(IIS APPPOOL \ n)没有对"C:\ Windows \ Microsoft.NET \ Framework \ v2.0.50727 \ Temporary ASP.NET文件"的写访问权限.]
System.Web.HttpRuntime.SetUpCodegenDirectory(CompilationSection CompilationSection)+8926638
System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlagshostingFlags)+152

[HttpException(0x80004005):当前标识(IIS APPPOOL \ n)没有对"C:\ Windows \ Microsoft.NET \ Framework \ v2.0.50727 \ Temporary ASP.NET文件"的写访问权限.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext上下文)+8897659
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext上下文)+85
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr,HttpContext上下文)+333


:((<

Hi there ! when I run the application ,
in browser Error is

"The current identity (IIS APPPOOL\n) does not have write access to ''C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files''.


Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[HttpException (0x80004005): The current identity (IIS APPPOOL\n) does not have write access to ''C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files''.]
System.Web.HttpRuntime.SetUpCodegenDirectory(CompilationSection compilationSection) +8926638
System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags) +152

[HttpException (0x80004005): The current identity (IIS APPPOOL\n) does not have write access to ''C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files''.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8897659
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +333


:((

推荐答案



这篇关于没有写权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 00:58