我在Windows 7
上託管了一個Web應用程序,現在我希望託管在Windows Server 2003
上。Web應用程序託管Asp.net
我收到此錯誤。
我將應用程序複製到服務器並添加了一個指向它的新虛擬目錄。
當我想從這個錯誤上升到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
過渡?
本網站使用的是什麼.NET框架? –
.net 4.0 @AmiramKorach我也在服務器上安裝了.net 4.0,但它也無法正常工作 –
請確保您在IIS中將網站設置爲在.NET 4中工作。打開網站配置。在asp.net選項卡中確保選擇了版本4。 –