• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

Troubleshooting

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.

Workaround

  • 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.
Note

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).

Workaround

  • Include the sigar-amd64-winnt.dll file for Windows or the sigar-amd64-winnt.so file for Linux in your classpath.

See Also

How to Connect to Cache
Error Handling in Cache
Error Logging

Back to top Copyright © 2017 Alachisoft