This project is read-only.

My Orchard Page is causing a Login Request

Topics: Customizing Orchard, General, Troubleshooting, Writing themes
Oct 4, 2016 at 4:52 PM
I am using a custom Template in Orchard. When calling my page I am hitting a Projection that returns some query content and then displays the page base on a custom CSHTML file.

Everything worked fine with the page when I was running it locally using Visual Studio and IIS Express. However, when I deployed it to my Dev Web Server Orchard is requesting a Login when I hit the page. I am not sure if this is a setting in Orchard or something to do with my Template or CSHTML file?

Please help!
Oct 19, 2016 at 2:17 PM
That seems odd. I would try and see if this is the case for other pages as wel, or just the one with the custom template. Then remove the custom template to see if the issue persists. If that works, then there must be something weird about the template or the way it is applied. In which case you will have to provide more details. Also, are you sure that on your local you were not already signed in?