Error saving message to isolated storage
bgx
Posted on
Jan 24 2018
I am implementing Crash Reproting for an ASP.NET MVC application.
To test offline behaviour I routed api.raygun.io to an invalid IP address via a Host File entry.
As expected reporting the error failed, but it looks like storing data in isolated storage failed too. Having added a trace listener I get two messages:
Error saving message to isolated storage Unable to create the store directory. (Exception from HRESULT: 0x80131468)
Error Logging Exception to Raygun.io The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
What needs to be enabled to create the store directory?
Jason Fauchelle
Raygun
Posted on
Jan 24 2018
Hi bgx,
The Raygun4Net assembly that is used for ASP.NET applications is also used for WPF and console applications, which is what the offline storage was written for. We would need to investigate what it would take to get offline storage working for ASP.NET applications too. This may be as simple as some configuration or options in the application to allow it, or it may require ASP.NET specific code updates to the Raygun4Net provider to make it work. I would recommend posting this as an issue on the Raygun4Net repository for consideration in a future release: https://github.com/MindscapeHQ/raygun4net/issues
-Jason Fauchelle
bgx
Posted on
Jan 24 2018
Thanks Jason, I added an issue entry at https://github.com/MindscapeHQ/raygun4net/issues/374