我使用簡單的配置來使用NServiceBus運行發佈/預訂場景。NServiceBus throws遠程服務器返回一個錯誤:(404)Not Found
我得到這個異常:
The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.GetResponse()
at Raven.Client.Connection.HttpJsonRequest.ReadJsonInternal(Func`1 getResponse) in
c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Connection\HttpJsonRequest.cs:line 332
這不是一個致命的錯誤,它處理的地方在NServiceBus/RavenDb代碼,但我不知道爲什麼它的發生。我只在「例外」窗口中選擇「公共語言運行時例外」的「Thrown」選項時才能看到它。
您好,請參閱John Simons在此主題中所做的評論 http://stackoverflow.com/questions/19966570/webexception-error-404-after-upgrading-nservicebus-to-version-3-3-8 進入這個線程http://stackoverflow.com/questions/5869700/how-to-disable-ravendb-replication。這個問題雖然是真正的annonying,但我們有4個web項目需要「繼續」。我也不想禁用System.Net.WebException,因爲我們也使用httpserver。我嘗試了一個[DebuggerNonUserCode],但沒有幫助。我也很好奇,如果這可以被修復/停止 –