Sami Hussain
Sami Hussain

Reputation: 179

I am unable to view sitefinity front end web pages without logged in?

I recently upgraded my sitefinity solution from 8.0.5774 to 13.3.7600. After upgrading, when I loaded my solution it always takes me to the sitefiniy backend login page insted of showing home page. After getting logged in, that is as a authenticated user I am able browse/view the pages but as a public user or without logged in I am unable to browse/view pages. Without logged in, whenever I load page on browser It always takes me to the sitefinity log in page.

To resolve the issue, I have also followed the article but it was not worked.

Upvotes: 1

Views: 275

Answers (1)

Sami Hussain
Sami Hussain

Reputation: 179

I observed the following lines in the web.config file:

<location>
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>

The question mark (?) is a wildcard character that matches any user name. The code above denies access to all users. So when I comment out lines in the web config file then I am able to access my front end page without logging in.

Upvotes: 1

Related Questions