Raven.Client.Exceptions.RavenException: System.TypeInitializationException: The type initializer for 'Windows' threw an exception. ---> Sparrow.Platform.IncorrectDllException: libsodium.x64.dll version might be invalid or not usable on current platform. Initialization error could also be caused by missing 'Microsoft Visual C++ 2015 Redistributable Package' (or newer). It can be downloaded from
https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads ---> System.DllNotFoundException: Unable to load DLL 'libsodium.x64.dll' or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at Sparrow.Sodium.Windows.X64.sodium_init()
at Sparrow.Sodium.Windows.X64.Initialize() in C:\Builds\RavenDB-Stable-4.1\41010\src\Sparrow\Sodium.cs:line 3649
--- End of inner exception stack trace ---
at Sparrow.Sodium.Windows.X64.Initialize() in C:\Builds\RavenDB-Stable-4.1\41010\src\Sparrow\Sodium.cs:line 3663
at Sparrow.Sodium.Windows..cctor() in C:\Builds\RavenDB-Stable-4.1\41010\src\Sparrow\Sodium.cs:line 2818
--- End of inner exception stack trace ---
at Sparrow.Sodium.Windows.crypto_generichash_bytes() in C:\Builds\RavenDB-Stable-4.1\41010\src\Sparrow\Sodium.cs:line 2846
at Raven.Server.Documents.ComputeHttpEtags.ComputeEtagForDocuments(List`1 documents, List`1 includes) in C:\Builds\RavenDB-Stable-4.1\41010\src\Raven.Server\Documents\ComputeHttpEtags.cs:line 46
at Raven.Server.Documents.Handlers.DocumentHandler.GetDocumentsByIdAsync(DocumentsOperationContext context, StringValues ids, Boolean metadataOnly) in C:\Builds\RavenDB-Stable-4.1\41010\src\Raven.Server\Documents\Handlers\DocumentHandler.cs:line 231
at Raven.Server.Documents.Handlers.DocumentHandler.Get() in C:\Builds\RavenDB-Stable-4.1\41010\src\Raven.Server\Documents\Handlers\DocumentHandler.cs:line 111
at Raven.Server.Routing.RequestRouter.HandlePath(RequestHandlerContext reqCtx) in C:\Builds\RavenDB-Stable-4.1\41010\src\Raven.Server\Routing\RequestRouter.cs:line 124
at Raven.Server.RavenServerStartup.RequestHandler(HttpContext context) in C:\Builds\RavenDB-Stable-4.1\41010\src\Raven.Server\RavenServerStartup.cs:line 173 ---> System.TypeInitializationException: System.TypeInitializationException: The type initializer for 'Windows' threw an exception. ---> Sparrow.Platform.IncorrectDllException: libsodium.x64.dll version might be invalid or not usable on current platform. Initialization error could also be caused by missing 'Microsoft Visual C++ 2015 Redistributable Package' (or newer). It can be downloaded from
https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads ---> System.DllNotFoundException: Unable to load DLL 'libsodium.x64.dll' or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at Sparrow.Sodium.Windows.X64.sodium_init()
at Sparrow.Sodium.Windows.X64.Initialize() in C:\Builds\RavenDB-Stable-4.1\41010\src\Sparrow\Sodium.cs:line 3649
--- End of inner exception stack trace ---
at Sparrow.Sodium.Windows.X64.Initialize() in C:\Builds\RavenDB-Stable-4.1\41010\src\Sparrow\Sodium.cs:line 3663
at Sparrow.Sodium.Windows..cctor() in C:\Builds\RavenDB-Stable-4.1\41010\src\Sparrow\Sodium.cs:line 2818
--- End of inner exception stack trace ---
at Sparrow.Sodium.Windows.crypto_generichash_bytes() in C:\Builds\RavenDB-Stable-4.1\41010\src\Sparrow\Sodium.cs:line 2846
at Raven.Server.Documents.ComputeHttpEtags.ComputeEtagForDocuments(List`1 documents, List`1 includes) in C:\Builds\RavenDB-Stable-4.1\41010\src\Raven.Server\Documents\ComputeHttpEtags.cs:line 46
at Raven.Server.Documents.Handlers.DocumentHandler.GetDocumentsByIdAsync(DocumentsOperationContext context, StringValues ids, Boolean metadataOnly) in C:\Builds\RavenDB-Stable-4.1\41010\src\Raven.Server\Documents\Handlers\DocumentHandler.cs:line 231
at Raven.Server.Documents.Handlers.DocumentHandler.Get() in C:\Builds\RavenDB-Stable-4.1\41010\src\Raven.Server\Documents\Handlers\DocumentHandler.cs:line 111
at Raven.Server.Routing.RequestRouter.HandlePath(RequestHandlerContext reqCtx) in C:\Builds\RavenDB-Stable-4.1\41010\src\Raven.Server\Routing\RequestRouter.cs:line 124
at Raven.Server.RavenServerStartup.RequestHandler(HttpContext context) in C:\Builds\RavenDB-Stable-4.1\41010\src\Raven.Server\RavenServerStartup.cs:line 173
--- End of inner exception stack trace ---
at Raven.Client.Exceptions.ExceptionDispatcher.<Throw>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Raven.Client.Http.RequestExecutor.<HandleUnsuccessfulResponse>d__91`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Raven.Client.Http.RequestExecutor.<ExecuteAsync>d__76`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Raven.Client.Http.RequestExecutor.<ExecuteAsync>d__76`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Raven.Client.Util.AsyncHelpers.<>c__DisplayClass2_0.<<RunSync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Raven.Client.Util.AsyncHelpers.RunSync(Func`1 task)
at Raven.Client.Documents.Session.DocumentSession.LoadInternal(String[] ids, LoadOperation operation, Stream stream)
at Raven.Client.Documents.Session.DocumentSession.Load[T](IEnumerable`1 ids)
at RenRestService.Controllers.RecommendationsController.GetAudienceCodeExcludeList(IEnumerable`1 eans, Int64 unacceptableLevel) in C:\BuildAgent\work\b979ba67f60419\RenRestService\Version 3\Controllers\RecommendationsController.cs:line 314
at RenRestService.Controllers.RecommendationsController.FilterResultsOnAudienceLevel(List`1 sortedRecs) in C:\BuildAgent\work\b979ba67f60419\RenRestService\Version 3\Controllers\RecommendationsController.cs:line 297
at RenRestService.Controllers.RecommendationsController.GetRecommendations(RequestDetails details, RecommendationRequest model) in C:\BuildAgent\work\b979ba67f60419\RenRestService\Version 3\Controllers\RecommendationsController.cs:line 229