zoukankan      html  css  js  c++  java
  • 访问ASP.NET临时文件夹的权限问题

    今天要将REPORTING SERVICE的服务器进行改动,当我在VS2005中设置好服务器时,发现一个问题:

    connection could not be made the report server.

    刚开始首先想到的时一些连接的问题,可是我之前一直好好的。。。,所以就排除了这种可能

    接下来我在想,连接没错的话,那肯定是服务器的配置问题了

    然后我进入REPORTING SERVICE服务器的IIS的配置中进行浏览,出现一个错误,信息大致如下:

    The current identity (xxx\ASPNET) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'. 

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    到这一步,问题出现的范围就缩小了很多。(用户权限)

    然后我进入C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'这个文件夹,发现这个文件夹没有添加network service或IIS_WPG的权限。

    呵呵,到这一步,我基本上可以断定是这个问题了,然后我就将networkservice添加到IIS_WPG组用户中,并且为这个文件夹赋予可访问的权限~~~

    再进行调试,DEPLOY,一切都没问题了~~~~~~~~~
  • 相关阅读:
    Thinkphp3.2 PHPMailer 发送邮件
    13 代理模式
    12 状态模式
    11 组合模式
    10 迭代器模式
    9 模板方法模式
    8 外观模式
    MySQL Network--Localhost与127.0.0.1的差异
    MySQL Memory--内存分配相关参数
    mysqldump命令之single-transaction
  • 原文地址:https://www.cnblogs.com/zzh/p/1625918.html
Copyright © 2011-2022 走看看