我使用Visual studio打开atomesite,我将MVC 1修改为MVC 2,
构建成功,但网页给我这个错误,
我尝试了 aspnet_regiis –iru 但不起作用?
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: Unrecognized element 'folderLevelBuildProviders'.
Source Error:
Line 348: <codeSubDirectories />
Line 349: <expressionBuilders />
Line 350: <folderLevelBuildProviders />
Line 351: </compilation>
Line 352: <pages>
Source File: C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\web.config Line: 350
不确定这是否适用于 MVC,但这修复了我在 Web 表单中遇到的相同错误:
http://forums.asp.net/t/1620379.aspx/1
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)