报错信息:.net 报错access to the path c:\tempimagefiles\msc_cntr_0.txt is denied

 

 解决方法:

在 Web.Config 的 <System.Web> 里加 <identity impersonate="true"/> 节点即可 .
解释 : 对你要操作的文件目录增加用户,也就是 ASP.net 的用户,一般都是 “IUSER_computerName”

右击使用的文件夹,属性->安全->user的权限都打开。

相关文章:

  • 2021-08-04
  • 2022-12-23
  • 2021-08-20
  • 2022-12-23
猜你喜欢
  • 2021-11-20
  • 2022-12-23
  • 2021-12-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案