Hello,
I have updated my project to the new Raven build 2261 and after start the my application a NullReferenceException was thrown on Initialize the DocumentStore.
Code:
var raven = new Raven.Client.Document.DocumentStore { ConnectionStringName = "RavenDB", DefaultDatabase = env };
raven.Conventions.DisableProfiling = true;
raven.Conventions.ShouldCacheRequest = url => false;
raven.MaxNumberOfCachedRequests = 10;
raven.Initialize(); <- NullReferenceException Object reference not set to an instance of an object.
The problem is MaxNumberOfCachedRequests, if I set MaxNumberOfCachedRequests after Initialize() it works fine, should it be so?
regards
maxx