AI OnAI Off
Hi,
It looks like more than a MVC error :
[InvalidOperationException: An error occurred when trying to create a controller of type 'Unipension.SelfService.Web.Pages.Auth.AuthController'. Make sure that the controller has a parameterless public constructor.]
Try to add parameterless constructor to AuthController to see if it works for you.
Regards.
/Q
So I am trying to setup EPiServer 8 in a new project.
When i try to access mysite.local/episerver/cms the redirect fails
mysite.local/auth/login?ReturnUrl=%2Fepiserver%2Fcms
Server Error in '/' Application.
No parameterless constructor defined for this object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.MissingMethodException: No parameterless constructor defined for this object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
I can access mysite.local/util/login.aspx - but the login fails, with nothing written to the log :/
Can someone here help me shine some light on this? I am utterly lost :)