Chris Hammond wrote:
Unfortunately I have no clue what the deal with your site is. You'll likely need to start looking into permissions within the database on the folders/files table.
What version of DNN are you on?
I found the solution to the problem. This issue occurs when one of two things happen. First, the Forms Authentication module portion of IIS7 gets corrupted. Second, if the permissions of the site somehow get overwritten while Form Authentication is taking place.
Steps required to fix this problem.
1) Make sure Static Content is installed in the Features portion of IIS7. Also make sure it's on and enabled.
2) Make sure the settings for Form Authentication is properly setup to your liking.
3) Using Windows Explorer, navigate to your sites root directory. Remove IIS Users permission from the directory and reapply it. Also make sure the Application Pool has access to the root directory with permissions as well.
If the Application Pool user is not there. You can add it with the following command:
icacls C:\inetpub\wwwroot\YOURROOTDIRECTORY /grant "IIS AppPool\YOURAPPLICATIONPOOLNAME":(CI)(OI)(M)
4) In IIS7, click on your site and then go to Authentication. Set Anonymous Authentication to use the Application Pool identity, instead of Windows.
5) Restart IIS
That should solve the problem for anyone else who gets this issue.