- DTO 模式(数据传输对象)
- 用jquery清除select中的所有option
- String.Remove 方法 (Int32)
- 微信小程序一个页面中两个scroll-view同时滚动的问题
- "因为选定的用户拥有对象,所以无法除去该用户"解决方法
- php tp框架中M方法和D方法
- 经典SQL语句大全之技巧篇
- php 判断设备是手机还是平板还是pc
- 你可以展示你与客户交流的邮件
- JavaScript中逻辑或运算符
邮箱:
手机:15383239821
Access to the temp directory is denied
j今天突然好几个网站不能访问,报如下错误,其中default为用用程序池。
Access to the temp directory is denied. Identity 'IIS APPPOOL\default' under which XmlSerializer is running does not have sufficient permission to access the temp directory. CodeDom will use the user account the process is using to do the compilation, so if the user doesn�t have access to system temp directory, you will not be able to compile. Use Path.GetTempPath() API to find out the temp directory location.
网上搜索解决办法时找到相同错误并解决办法:
创建 BlogConfigurationSettings 的配置节处理程序时出错: 拒绝访问临时目录。以其运行 XmlSerializer 的身份“IIS APPPOOL\www.cnblogs.com”没有足够的权限访问临时目录。CodeDom 将使用此进程用于进行编译的用户帐户,因此如果用户对系统临时目录没有访问权限,则将无法编译。使用 Path.GetTempPath() API 可找到临时目录位置。
Access to the temp directory is denied. Identity 'IIS APPPOOL\www.cnblogs.com' under which XmlSerializer is running does not have sufficient permission to access the temp directory. CodeDom will use the user account the process is using to do the compilation, so if the user doesnt have access to system temp directory, you will not be able to compile. Use Path.GetTempPath() API to find out the temp directory location.
CS0016: 未能写入输出文件“c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\946055b8\92eead15\App_global.asax.qakaesxx.dll”--“拒绝访问。 ”
开始以为是“C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files”文件夹权限的问题,但怎么设置这个权限也解决不了问题。
后来在应用程序池设置中将“加载用户配置文件”(Load User Profile)设置为true,问题就解决。
-
2010-10-27asp.net常用转义符
-
2010-10-23.net对时间操作的类
-
2023-08-11小程序名称和简称取名技巧
-
2012-12-25虚拟主机到底是什么
-
2014-03-24石家庄建设网站多少钱?石家庄建设网站哪里好?
-
2010-08-11C# 判断文件和文件夹是否存在 Substring及LastIndexOf的用法
