【发布时间】:2014-01-17 16:09:28
【问题描述】:
我有使用集成应用程序池的 MVC 应用程序。
在这个 MVC 应用程序下,我创建了一个指向我们的文件服务器位置的虚拟目录。此文件服务器有一些 pdf 和自定义图像。
当我们尝试通过虚拟目录访问资源时,出现以下错误:
Server Error in '/' Application.
Configuration Error
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 '\\nas2\CardDeck\web.config'.
Source Error:
[No relevant source lines]
Source File: \\nas2\CardDeck\web.config Line: 0
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929
当我将应用程序池更改为经典时,我可以正常访问这些资源。我在这里错过了什么?
谢谢
【问题讨论】:
标签: asp.net-mvc-4 iis-7 virtual-directory