Is the cache on the server accessible.
Object.defineProperty(ServiceStatus.prototype, 'isCacheAccessible',
get: function()
)
readonly isCacheAccessible: boolean;
true if the cache on the service is accessible; otherwise, false.
IsCacheAccessible can be used to determine from the client application if the cache setting on the server is working. The service will try create a dummy item in the cache and read its value. If the operation is successful, then the value of IsCacheAccessible will be true. If an error occurs, the value of IsCacheAccessible will be false.
Here are some of the common errors that may occur while checking the cache:
The value set in the lt.Cache.Directory
setting in appsettings.json
is empty or does
not point to a valid local or network path.
If the cache is not accessible, then the DocumentViewer will almost certainly fail to perform any of its operations. The LEADTOOLS Document Viewer Demo application checks for this value at start up time and will show a warning message if any errors occur.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document