首页 新闻 会员 周边

IIS7中部署MVC2开发的程序, 需要有一个虚拟目录,是内网中其他服务器上的共享文件。

0
悬赏园豆:30 [已关闭问题] 关闭于 2016-01-28 12:15

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的权限也加了。  可就是不能访问。

寧愿為你 的主页 寧愿為你 | 初学一级 | 园豆:69
提问于:2013-07-02 16:00
< >
分享
所有回答(1)
0

有时候是路由的原因, 去找Controller了

寧愿為你 | 园豆:69 (初学一级) | 2016-01-28 12:15
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册