2016-02-11 92 views
0

我们试图从2008年盒子将我们的Web应用程序服务器至2012年作为其中的一部分,我们也升级IIS主机为7-8.5。升级ASP.NET从IIS 7到8.5

当我尝试用相同的web.config中我们当前访问的新盒子,我们有最简单的应用,工作生产环境中,我得到以下错误(使用IE本地主机上)。

HTTP Error 500.19 - Internal Server Error 

The requested page cannot be accessed because the related configuration data for the page is invalid. 
Module 
    WebSocketModule 

Notification 
    BeginRequest 

Handler 
    ExtensionlessUrlHandler-ISAPI-4.0_64bit 

Error Code 
    0x80070490 

Config Error 
    The configuration section 'system.webServer/webSocket' cannot be read because it is missing a section declaration 

Config File 
    \\?\C:\XXX\XXX\XXX\web.config 

Config Source: 
    -1: 
    0: 

我们的网络服务器部分看起来像这样。

<system.webServer> 
    <modules> 
     <add type="DevExpress.Web.ASPxHttpHandlerModule, DevExpress.Web.v15.1, Version=15.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" name="ASPxHttpHandlerModule" /> 
    </modules> 
    <validation validateIntegratedModeConfiguration="false" /> 
    <handlers> 
     <add type="DevExpress.Web.ASPxHttpHandlerModule, DevExpress.Web.v15.1, Version=15.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" verb="GET,POST" path="DX.ashx" name="ASPxHttpHandlerModule" preCondition="integratedMode" /> 
     <add name="ASPxUploadProgressHandler" preCondition="integratedMode" verb="GET,POST" path="ASPxUploadProgressHandlerPage.ashx" type="DevExpress.Web.ASPxUploadProgressHttpHandler, DevExpress.Web.v15.1, Version=15.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" /> 
    </handlers> 
</system.webServer> 

使用我的基本模式查找技巧,我尝试添加webSocket部分。

<system.webServer> 
    <webSocket enabled="false"/> 
    <modules> 
     <add type="DevExpress.Web.ASPxHttpHandlerModule, DevExpress.Web.v15.1, Version=15.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" name="ASPxHttpHandlerModule" /> 
    </modules> 
    <validation validateIntegratedModeConfiguration="false" /> 
    <handlers> 
     <add type="DevExpress.Web.ASPxHttpHandlerModule, DevExpress.Web.v15.1, Version=15.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" verb="GET,POST" path="DX.ashx" name="ASPxHttpHandlerModule" preCondition="integratedMode" /> 
     <add name="ASPxUploadProgressHandler" preCondition="integratedMode" verb="GET,POST" path="ASPxUploadProgressHandlerPage.ashx" type="DevExpress.Web.ASPxUploadProgressHttpHandler, DevExpress.Web.v15.1, Version=15.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" /> 
    </handlers> 
</system.webServer> 

该错误消息然后更改为以下内容。

HTTP Error 500.19 - Internal Server Error 

The requested page cannot be accessed because the related configuration data for the page is invalid. 
Module 
    IIS Web Core 

Notification 
    BeginRequest 

Handler 
    Not yet determined 

Error Code 
    0x8007000d 

Config Error 


Config File 
    \\?\C:\MDM\Webs\Symcom\web.config 

什么在圣洁的赫克我在这里失踪?我们工作的IIS 7部署和新的IIS 8.5部署之间配置的唯一区别是我尝试提供配置的webSocket部分。

+0

你在新机器上安装ASP.NET? –

+0

@PatrickHofman,是的,我查了注册表,我们有一个人口稠密DllFullPath变量。我还为应用程序池选择了ASP.NET 4.0,与我们现有的生产池相同。 – Marisa

回答

0

所以事实证明,我们已经安装了.NET,并在注册表中为它的配置价值,但不能作为服务器管理器的一部分。我们还必须重新启动服务器才能完成某些更新。

一旦我们通过服务器管理器安装了它,回收的应用程序池一切都虎背熊腰,脚蹬dory的。