我在Windows 7上托管了一个web应用程序,现在我希望它托管在Windows Server 2003上。
我得到了这个错误。
我将应用程序复制到服务器,并添加了一个指向它的新虚拟目录。
当我想要从IIS浏览应用程序时,出现以下错误:
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 attribute 'type'.
Source Error:
<configuration>
<configSections>
<sectionGroup name="system.web.extensions"
type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions,
Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">是否有任何解决方案来解决这个错误,或者是否有任何其他方法来从Windows 7过渡到Windows Server 2003
发布于 2012-11-13 23:53:44
安装.NET Framework4.0后,请确保在IIS服务扩展中将其状态设置为“允许”。

发布于 2012-11-13 17:35:59
我不确定,但这是因为您的服务器没有安装.net框架,因为您在自己的计算机上有目标。
2天前我也遇到了同样的问题。在我的例子中,我在服务器没有新版本.net的情况下更新了web.config。
在您的情况下,您需要在Server2003上安装新版本的.net。
https://stackoverflow.com/questions/13357598
复制相似问题