Disabling BinaryFormatter Serialization And Deserialization
If you are using ASP.NET 5.0 or above, you'll encounter this exception, because the Binary Formatter is disabled by default in ASP.NET 5.0 and above. This issue can be solved by any of the following workarounds.
- Enable the Binary Formatter using a tag as explained here.
- Alternatively, you can use JSON Serialization instead of Binary Serialization as the serialization format at the time of cache creation.
It is recommended that you use the JSON serialization.
No sigar-amd64-winnt.dll in java.library.path
If you haven't included the
sigar-amd64-winnt.dll file for Windows or the
sigar-amd64-winnt.so file for Linux in your classpath, you will encounter this warning, and when this happens, you won't be able to monitor your counters (in Java).
- Include the
sigar-amd64-winnt.dllfile for Windows or the
sigar-amd64-winnt.sofile for Linux in your classpath.
How to Connect to Cache
Error Handling in Cache