Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/20.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
WebORB for.NET-webconfig.xml中无法识别的配置节system.serviceModel_.net_Windows_Iis_Weborb - Fatal编程技术网

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

WebORB for.NET-webconfig.xml中无法识别的配置节system.serviceModel,.net,windows,iis,weborb,.net,Windows,Iis,Weborb,我在尝试安装WebORB 4.5并运行其管理控制台时遇到问题 由于使用exe安装根本不起作用,所以我执行以下操作。 当我想访问控制台(第3步)时,我会看到很多错误弹出窗口“发送失败…” 运行Diagnostics告诉我存在配置错误: Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. P

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

由于使用exe安装根本不起作用,所以我执行以下操作。 当我想访问控制台(第3步)时,我会看到很多错误弹出窗口“发送失败…”

运行Diagnostics告诉我存在配置错误:

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 
配置错误
描述:处理服务此请求所需的配置文件时出错。请查看下面的特定错误详细信息,并适当修改配置文件。
分析器错误消息:无法识别的配置节system.serviceModel。
源错误:
第121行:
第122行:
第123行:
第124行:
第125行:
源文件:C:\Program Files\WebORB for.NET\4.5.0.31\web.config行:123
我当前的配置:

  • 操作系统:Windows 2000服务器
  • .Net:2.0.50727 SP2
  • WebORB:4.5.0.31
我还没能在其他论坛上找到准确的答案,但我认为这不仅仅是一个WebORB问题。我见过system.serviceModel,但由于WebORB 4.5提供了在安装期间使用.Net 2.0版本的机会,我不知道该怎么办。。。如果我删除system.serviceModel,它也不会工作


需要帮助!谢谢。

我在别处找到了答案,所以我把它放在这里,它可能会帮助某人:)我不得不感谢这个技巧

据我所知,当无法使用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控制台,没有任何错误