1

我们目前在不是 LocalSystem 的帐户上运行 NServiceBus (3.3.7) 服务时遇到一些问题。联系 RavenDB 以获取 saga 访问似乎有问题。我们目前收到这样的错误:

2013-06-14 11:21:39,551 - WARN - NServiceBus.Unicast.Transport.Transactional.TransactionalTransport - Failed raising 'transport message received' event for message with ID=94ff04d1-e05a-414b-8a14-f243e7cc2e9e\387208
System.InvalidOperationException ---> System.Net.WebException: The remote server returned an error: (403) Forbidden.
   at System.Net.HttpWebRequest.GetResponse()
   at Raven.Client.Connection.HttpJsonRequest.ReadStringInternal(Func`1 getResponse)
   --- End of inner exception stack trace ---
   at NServiceBus.Unicast.UnicastBus.HandleTransportMessage(IBuilder childBuilder, TransportMessage msg)
   at NServiceBus.Unicast.UnicastBus.TransportMessageReceived(Object sender, TransportMessageReceivedEventArgs e)
   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   at NServiceBus.Unicast.Transport.Transactional.TransactionalTransport.OnTransportMessageReceived(TransportMessage msg)

我们还通过将 Raven/AnonymousUserAccessMode 设置为 All 将访问权限更改为 raven,但没有成功。有任何想法吗?

4

1 回答 1

1

我想当访问数据的用户帐户没有访问服务器数据目录的必要权限时,我遇到了这个异常。

尝试为您运行服务的帐户授予对/Server/Database.

于 2013-06-14T22:46:53.877 回答