IIS7中部署MVC2开发的程序,  需要有一个虚拟目录读取图片信息,是内网中其他服务器上的共享文件。 总是访问不了这个虚拟目录中的文件。
发现去掉modules 这个节点就能访问图片路径了, 但是程序会出错。
<system.webServer>
  <modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
 
错误消息:
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: An error occurred loading a configuration file: Failed to start monitoring changes to '\\10.10.10.20\imgs' because access is denied.everyone的权限也加了。  可就是不能访问。IIS7MVC2modules system.webServer