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
发现去掉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
解决方案 »
- 新手求助!!在Button 事件下 返回查询结果 绑定到GridView中 在线等!!
- TextBox 的一些问题
- 如何实现不确定选项的CheckBox,目前在System.Web.UI.WebControl.CheckBox常规属性中没有CheckState属性
- asp.net中下载的代码怎么写呢?
- C#中为什么文本框的TextChanged事件只有焦点离开的时候才起作用,有没有办法让他直接在文本改变的时候触发
- 跪求:提取数据库中第一行记录的代码.
- ..与~的区别???
- 中文名的字数为偶数时附件无法打开问题??
- RadioButtonList问题
- 运行了这段代码后.在客户端找不到COOKIE文件...
- ASP.NET 通过网页打印PDF文件,可选择打印机
- 点击文件路径打开服务器中的文件,例如WORD,EXl,等等,但本地没有装Office
试试web.config中加上 <identity impersonate="true" userName="administrator" password="xxx" />