Closed DejanMilicic closed 7 years ago
Try "~\Errors", with a backslash instead of a forward slash.
The JSONErrorStore
constructor calls the ResolvePath
extension method defined in ExtensionMethods.cs, which replaces "~\" with AppDomain.CurrentDomain.GetData("APPBASE")
, which I'm assuming is the path to the directory containing your website.
Covered above - closing out to cleanup.
I decided to go with JSON Error store. Configuration via web.config. Exceptional kept translating path="~/Errors" as being relative not to application but relative to web server. I am using IIS Express 8.5 on my project. I solved this by switching to code-based configuration. Same path "~/Errors" was correctly mapped this time.