This project is read-only.

In with forms authentication

Apr 22, 2011 at 10:12 PM


I've used RazorEngine in project with forms authentication and suddenly my forms authentication failed... It started to point to some Account\Login which is not configured anywhere. Actually after few hours of investigation I've found that to solve it we need to add:

<add key="loginUrl" value="~/LogOn" />

in appSettings. The source:

It might help somebody.



Apr 25, 2011 at 6:33 PM

Can you post your configuration settings? The razorEngine should have *no* effect on that what-so-ever, except possibly with the virtual path. But it's something that we should track down if it's really an issue.