【问题标题】:WebORB for .NET - Unrecognized configuration section system.serviceModel in webconfig.xml.NET 的 WebORB - webconfig.xml 中无法识别的配置部分 system.serviceModel
【发布时间】:2012-04-19 10:25:37
【问题描述】:

我在尝试安装 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,它也不起作用。

需要帮助!谢谢。

【问题讨论】:

    标签: .net windows iis weborb


    【解决方案1】:

    我在别处找到了答案,所以我把它放在这里,它可能会对某人有所帮助:) 我必须感谢 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 控制台!

    【讨论】:

      猜你喜欢
      • 2011-01-07
      • 2015-10-27
      • 1970-01-01
      • 2016-12-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-05-13
      • 2015-05-28
      相关资源
      最近更新 更多