Troubleshooting
"BinaryFormatter serialization and deserialization are disabled"
If you are using ASP.NET 5.0 and above you'll encounter this exception. This is mainly due to the fact that Binary Formatter is disabled by default in ASP.NET 5.0 and above. This issue can be solved by any of the following workarounds.
Workaround
- Enable Binary Formatter using a tag as explained here.
- RECOMMENDED Use JSON Serialization instead of Binary Serialization as the serialization format at the time of cache creation.
"No sigar-amd64-winnt.dll in java.library.path"
If you haven't included the sigar-amd64-winnt.dll
or the sigar-amd64-winnt.so
(incase of Linux) file in your classpath, you will encounter this warning and when this happens you won't be able to monitor you counters (in Java).
Workaround
- Include the
sigar-amd64-winnt.dll
or thesigar-amd64-winnt.so
(incase of Linux) file in your classpath.
See Also
How to Connect to Cache
Error Handling in Cache
Error Logging