Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RavenUserInstaller exception (NSB 4.0.0, RavenDB 2.5.2700) #1518

Closed
ivern opened this issue Sep 9, 2013 · 4 comments · Fixed by #1551
Closed

RavenUserInstaller exception (NSB 4.0.0, RavenDB 2.5.2700) #1518

ivern opened this issue Sep 9, 2013 · 4 comments · Fixed by #1551
Milestone

Comments

@ivern
Copy link

ivern commented Sep 9, 2013

RavenUserInstaller.Install throws the following exception when configuring the bus:

Method not found: 'Raven.Abstractions.Data.PutResult Raven.Client.Connection.IDatabaseCommands.Put(System.String, System.Nullable`1<System.Guid>, Raven.Json.Linq.RavenJObject, Raven.Json.Linq.RavenJObject)'.

The Put method now takes an Etag, not a Guid?. Since you appear to be passing in a null value anyway, this may be as simple as recompiling against the latest version of RavenDB.

Interestingly, this worked just fine with RavenDB 2.5.2666, which already features the switch to Etag.

Stack Trace:

System.MissingMethodException occurred
  HResult=-2146233069
  Message=Method not found: 'Raven.Abstractions.Data.PutResult Raven.Client.Connection.IDatabaseCommands.Put(System.String, System.Nullable`1<System.Guid>, Raven.Json.Linq.RavenJObject, Raven.Json.Linq.RavenJObject)'.
  Source=NServiceBus.Core
  StackTrace:
       at NServiceBus.Persistence.Raven.RavenUserInstaller.AddUserToDatabase(String identity, DocumentStore documentStore)
       at NServiceBus.Persistence.Raven.RavenUserInstaller.Install(String identity) in c:\Code\Particular\NServiceBus\src\NServiceBus.Core\Persistence\Raven\RavenUserInstaller.cs:line 40
  InnerException: 
@johnsimons
Copy link
Member

Yes, not the first time public API changes in RavenDB!

@mattjohnsonpint
Copy link
Contributor

I am also experiencing this, and need to use the latest release of RavenDB in the same app as the latest NSB. Thanks.

@SimonCropp
Copy link
Contributor

@mj1856 @ivern out of curiosity are you guys using a commercial copy of RavenDB 2.5? or just testing with the open source version?

@mattjohnsonpint
Copy link
Contributor

@SimonCropp - We have a commercial license, but are still in development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants