Since so many of us have had these problems in the past, I thought I'd post a helpfule .aspx file that you can run *in the root folder* of your website, to see what the 'identity' of the user needed to run in that folder (and the subfolders).
Copy the code below, and save it into a 'permissions.aspx' file, in the root folder of your website.
So, if your website is at
http://localhost/dotnetnuke_2/, and the physical directory for this root folder is C:\websites\dotnetnuke_2\website\, then copy the permissions.aspx file to the C:\...yada folder abvoe, open your browser, and type:
http://localhost/dotnetnuke_2/permissions.aspxIt should display the identity permission needed that is missing to run a webpage in that folder. You may have to run it more than once. I can improve this script as I get feedback from it...so let me know how it works out...
Here's the script to copy and save in the permissions.aspx file:
<%@ Page Language="VB" %>
<%@ Import NameSpace = System.Security.Principal %>
<script runat="server">
Sub Page_Load()
Dim stmp As String = WindowsIdentity.GetCurrent.Name()
LabelPermissions.Text = stmp
End Sub
</script>
WindowsIdentity.GetCurrent.Name() <form> id="form1" runat="server">
<asp:Label ID="LabelPermissions" runat="server" Text="Label">
</form>