Hi I'm hoping someone can help me figure out how to get a solution for redirecting my homepage to always login?ReturnUrl=%2f .and my homepage css is not loading.
I have this same issue. It runs just fine in Microsoft WebMatrix but when I deploy to the server it redirects to the login page when accessing the css file: /Themes/DarkOrange/Content/styles.css
I have having this exact error on a designers machine? I've double checked that IUSER has access but I still get redirects to the login page for items like .css or graphics.
Hi I've just encountered this error - thought I'd share the fix that I had to apply, just for reference.
I got nopCommerce running under the ASP.NER v4.0 application pool, and configured the root folder that nop is running from to grant permissions to this user.
However, I was still unable to view the homepage. I could view other pages fine, however my custom theme was not being rendered. If I "view source"'d my page, and clicked on one of the CSS links then I'd be shown the HTML for the login page.
If I logged into an account then the stylings would come through and I could access the homepage. If I then logged out, it would also still work.
Very weird!
Anyway, the fix was simple: under the Authorisation tab in IIS for your website, right click on "anonymous authentication" and choose "edit" - then select the 'application pool identity' radio button. This sorted it for me, now all users can access the homepage & can view the stylesheet files.
Hi I've just encountered this error - thought I'd share the fix that I had to apply, just for reference.
I got nopCommerce running under the ASP.NER v4.0 application pool, and configured the root folder that nop is running from to grant permissions to this user.
However, I was still unable to view the homepage. I could view other pages fine, however my custom theme was not being rendered. If I "view source"'d my page, and clicked on one of the CSS links then I'd be shown the HTML for the login page.
If I logged into an account then the stylings would come through and I could access the homepage. If I then logged out, it would also still work.
Very weird!
Anyway, the fix was simple: under the Authorisation tab in IIS for your website, right click on "anonymous authentication" and choose "edit" - then select the 'application pool identity' radio button. This sorted it for me, now all users can access the homepage & can view the stylesheet files.
Thanx! You've saved my life! ;)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.