Spent 4 hours trying to figure out spot where my app fails.
- It works when I access website via localhost/tms
- It fails at specific place when I access website via machine-name/tms
Specifically it starts initializing one of the modules and I subscribe for PRISM event:
I get exception "Microsoft.Practices.Prism.Events.DelegateReference.TryGetDelegate() to access method MyModule.UserAuthenticated(boolean)' failed.
As I say it works when I'm debugging and when I run with different name in browser. Very strange. I assume some kind of permissions? But why and what should I do?