Okay, now that I've read through some articles that were suggested
to me and looked at the web.config files on my site (I didn't create
them), I'm puzzled.  The web.config file in "/" for my application,
created by the ISP, had this entry:

 <!-- -->
   <authentication>
........
      <!-- Login screen -->
      <authentication mode="Forms">
        <forms loginUrl="LoginPage.aspx" requireSSL="false"
defaultUrl="Default.aspx"/>
      </authentication>

There is also a web.config in the actual directory where my site is, /
ASP.NET/abc, and the web.config there also says
 <!-- -->
     <authentication>
....
      <!-- Login screen -->
      <authentication mode="Forms">
        <forms loginUrl="LoginPage.aspx" requireSSL="false"
defaultUrl="Default.aspx"/>
      </authentication>


I changed the loginUrl in the web.config file in the "/" directory on
the server to
"/ASP.NET/abc/LoginPage.aspx".  Since the web.config is cached, it
seems that my changes are not taking effect.   Or, if as I have read,
the child web.config file in the directory where my content is, /
ASP.NET/abc, overrides the one in "/", and LoginPage.aspx is in the
same directory as default.aspx, why is it that when I click on the
link on my default.apsx home page to login,  I get a server error in
"/":  Resource not found?  The 404 page lists LoginPage. aspx as the
resource, so I know it knows the page name.

   In trying to diagnose this, I noticed that when I hold the mouse
over the Login link on the home page, at the bottom I see this text:
"javascript__doPostBack...LoginStatus..."  The only place I've found
LoginStatus is in the master page but I don't see a link in the master
page to go anywhere.    All I see in the master page is
<tr>
                            <td style="padding-right: 2px; padding-
left: 5px">
                                <asp:LoginName ID="LoginName1"
runat="server" />
                                <asp:LoginStatus ID="LoginStatus1"
runat="server" />
                            </td>
                        </tr>

That doesn't look like a URL to me.

  So where is the server getting its information from as to where to
go when I click "Login"?  Thanks.


Ken

Reply via email to