Hello,
I try to explain:
I have an exeption in Global.asax (see "GlobalAsax.png")
When I publish with IIS, then I always see this eception, when I start the application. The application don't run to the "Account" Conroller
The next exception is thrown in Account Controller (see AccountController.png)
With IIS, this exeption is not coming, because of the error in Global.Asax.
But when I publish with UltiDev, then I get the error in AccountController.
This means "stop". With IIS, the AccountController is not executed, because of the previous error.
With UltiDev the AccountController is executed, although there was a previous error.
In WebConfig I set authentication mode with loginUrl to the AccountController! (see WebConfig.png)
Best regards
Thomas
ThomasSch attached the following image(s):