WebORB for .NET - webconfig.xml中无法识别的配置部分system.serviceModel

时间:2012-04-19 10:25:37

标签: .net windows iis weborb

我在尝试安装WebORB 4.5并运行其管理控制台时遇到问题。

由于使用exe安装根本不起作用,我执行zip install process。 当我想访问控制台时(步骤3),我收到很多错误弹出窗口“发送失败...”

运行诊断程序告诉我存在配置错误:

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 configuration section system.serviceModel.

Source Error: 
Line 121:  </system.webServer>
Line 122:    
Line 123:  <system.serviceModel>                
Line 124:    
Line 125:    <services>        

Source File: C:\Program Files\WebORB for .NET\4.5.0.31\web.config    Line: 123 

我目前的配置:

  • 操作系统:Windows 2000服务器
  • .Net:2.0.50727 SP2
  • WebORB:4.5.0.31

我还没有在其他论坛上找到准确的答案,但我认为这不仅仅是一个WebORB问题。我已经看到了 system.serviceModel is not supported before .Net 3.0但是由于WebORB 4.5提供了在安装过程中使用.Net 2.0版本的机会,我想知道该怎么做...如果我删除 system.serviceModel ,它也不起作用。

需要帮助!感谢。

1 个答案:

答案 0 :(得分:0)

我在其他地方找到了答案所以我把它放在这里,它可能会帮助别人:)我要感谢Mark Miller (Weborb)这个伎俩。

我所理解的是,当无法使用EXE自动安装时,您必须处理ZIP安装。

这样做,Weborb安装文件夹[WEBORB DIR]将包含这两个重要文件 \ bin \ weborb.dll \ Web.config

如果默认情况下,它们未配置为适用于您的.NET版本(我认为默认情况下为3.5),您将不得不进行一些更改。

如果像我一样,您必须在运行.NET 2.0的服务器上安装它,在您的WebORB安装中,您将在以下位置找到2.0的程序集(dll):

[WEBORB DIR]\weborbassets\weborbbuilds\.NET2.0\bin

还有web.config位于:

[WEBORB DIR]\weborbassets\weborbbuilds\.NET2.0\

然后,您必须将正确的 weborb.dll 复制到[WEBORB DIR] \ bin中 并将 web.config 复制到[WEBORB DIR] \

这样做,我终于能够毫无错误地加载Weborb控制台了!