Error 'This file is not encrypted'
See original GitHub issueUpgraded from 1.3.0 to 1.5.1 and now this error is being thrown - ‘This file is not encrypted’
Stacktrace -
at LiteDB.Engine.AesStream..ctor (System.String password, System.IO.Stream stream) [0x001f9] in <7b8c154640e6442cbc93e4644732d128>:0
at (wrapper remoting-invoke-with-check) LiteDB.Engine.AesStream..ctor(string,System.IO.Stream)
at LiteDB.Engine.FileStreamFactory.GetStream (System.Boolean canWrite, System.Boolean sequencial) [0x00077] in <7b8c154640e6442cbc93e4644732d128>:0
at LiteDB.Engine.StreamPool+<>c__DisplayClass3_0.<.ctor>b__0 () [0x00000] in <7b8c154640e6442cbc93e4644732d128>:0
at System.Lazy`1[T].ViaFactory (System.Threading.LazyThreadSafetyMode mode) [0x00043] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/Common/src/CoreLib/System/Lazy.cs:333
at System.Lazy`1[T].ExecutionAndPublication (System.LazyHelper executionAndPublication, System.Boolean useDefaultConstructor) [0x00022] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/Common/src/CoreLib/System/Lazy.cs:351
at System.Lazy`1[T].CreateValue () [0x00074] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/Common/src/CoreLib/System/Lazy.cs:431
at System.Lazy`1[T].get_Value () [0x00000] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/external/corefx/src/Common/src/CoreLib/System/Lazy.cs:509
at LiteDB.Engine.StreamPool.get_Writer () [0x00000] in <7b8c154640e6442cbc93e4644732d128>:0
at LiteDB.Engine.DiskService..ctor (LiteDB.Engine.EngineSettings settings, System.Int32[] memorySegmentSizes) [0x0009a] in <7b8c154640e6442cbc93e4644732d128>:0
at LiteDB.Engine.LiteEngine..ctor (LiteDB.Engine.EngineSettings settings) [0x00173] in <7b8c154640e6442cbc93e4644732d128>:0
at LiteDB.ConnectionString.CreateEngine () [0x0004a] in <7b8c154640e6442cbc93e4644732d128>:0
at LiteDB.LiteDatabase..ctor (LiteDB.ConnectionString connectionString, LiteDB.BsonMapper mapper) [0x0002e] in <7b8c154640e6442cbc93e4644732d128>:0
at LiteDB.LiteDatabase..ctor (System.String connectionString, LiteDB.BsonMapper mapper) [0x00007] in <7b8c154640e6442cbc93e4644732d128>:0
at MonkeyCache.LiteDB.Barrel..ctor (System.String cacheDirectory) [0x00059] in D:\a\1\s\src\MonkeyCache.LiteDB\Barrel.cs:68
at MonkeyCache.LiteDB.Barrel.get_Current () [0x00000] in D:\a\1\s\src\MonkeyCache.LiteDB\Barrel.cs:34
at CardiffMobileApp.Services.Cache.CacheService.IsExpired (System.String key) [0x00001] in D:\WS\Azure\App\CardiffMobileApp\CardiffMobileApp\Services\Cache\CacheService.cs:56
at CardiffMobileApp.Services.Cache.CacheService.Get[T] (System.String key, System.Boolean allowExpired) [0x00001] in D:\WS\Azure\App\CardiffMobileApp\CardiffMobileApp\Services\Cache\CacheService.cs:49
at CardiffMobileApp.Services.ReportIt.ReportItService.GetData () [0x0004a] in D:\WS\Azure\App\CardiffMobileApp\CardiffMobileApp\Services\ReportIt\ReportItService.cs:42
I’ve implemented MonkeyCache by creating an Interface and wrapped the methods we use. When the class is created it provided the encryption key -
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
How to fix error 0x80071771 "the specified file could not be
Try right-clicking and selecting the software that you used to encrypt the file and then put in your credentials.
Read more >The Specified File Could Not Be Decrypted: 3 Methods to ...
3. Use Command Prompt ... Right-click on the file/folder throwing the error, and select Copy as path. ... Now, press Windows + R...
Read more >How to fix 0x80071771 “The specified file could not be ...
The Error Code 0x80071771 that is reporting a problem that “The specified file could not be decrypted” points out to the Encrypting File...
Read more >Effective Approaches to Fix Encrypted Word File on Windows
Here, we've put together the best approaches to fix encrypted word files on Windows as well as effective tips to avoid this problem....
Read more >Solved - Weirdly encrypted files
If I use synctoy 2.0 to transfer the files it removes the encryption but then it will say "an unexpected error is keeping...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
yay! i will document it
@jamesmontemagno thanks that did the trick