こんにちは私はNServiceBusを使用して開発を開始しようとしていますが、最初のステップで失敗しています。
コマンドラインからRunMeFirst.bat/iを実行しましたが、すべての依存関係が正しいです。
c:\Users\xxxxx\Desktop\NServiceBus.3.0.0>.\binaries\NServiceBus.Host.exe /installInfrastructure
Running infrastructure installers and exiting (ignoring other command line parameters if exist).
Starting installation of PerformanceCounters
Category NServiceBus already exist, going to delete first
Installation of PerformanceCounters successful.
Checking if MSMQ is installed.
MSMQ is installed.
Checking that only needed components are active.
Installation is good.
Checking that DTC is configured correctly.
DTC is configured correctly.
DTC is good.
しかし、単純なプログラムを作成し、そこからNServiceBus.exeを呼び出そうとすると、次のエラーで失敗します。
2012-08-02 10:19:48,922 [1] WARN MessageForwardingInCaseOfFault [(null)] <(null)> - Could not find configuration sectio
n 'MessageForwardingInCaseOfFaultConfig'. Going to try to find the error queue defined in 'MsmqTransportConfig'.
2012-08-02 10:19:48,951 [1] FATAL NServiceBus.Hosting.GenericHost [(null)] <(null)> - System.Configuration.Configuration
ErrorsException: 'MessageForwardingInCaseOfFaultConfig' configuration section is missing and could not find backup confi
guration section 'MsmqTransportConfig' in order to locate the error queue.
at NServiceBus.ConfigureFaultsForwarder.MessageForwardingInCaseOfFault(Configure config) in d:\BuildAgent-03\work\nsb
.masterbuild0\src\impl\faults\NServiceBus.Faults.Forwarder.Config\ConfigureFaultsForwarder.cs:line 44
at NServiceBus.Hosting.Windows.Profiles.Handlers.ProductionProfileHandler.NServiceBus.Hosting.Profiles.IHandleProfile
.ProfileActivated() in d:\BuildAgent-03\work\nsb.masterbuild0\src\hosting\NServiceBus.Hosting.Windows\Profiles\Handlers\
ProductionProfileHandler.cs:line 19
これを解決するための助けは大歓迎です!
ありがとう