On second thought, never mind. If I change the directory in the IIS
settings so that my application's content directory is the virtual
directory, I get an error going to the site, "Serive Unavailable," so
I guess that's not the solution.

On May 28, 3:50 am, "Keidrick Pettaway" <[email protected]> wrote:
> Check for a codebehind page, or check the inline html on your default aspx 
> page. The javascript is probably on the aspx page
> Keidrick Pettaway
> Web:http://www.kpettaway.com
> Linkedin:http://www.linkedin.com/pub/keidrick-pettaway/8/705/b58
>
> -----Original Message-----
> From: OccasionalFlyer <[email protected]>
> Date: Thu, 27 May 2010 13:18:23
> To: DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web 
> Services,.NET Remoting<[email protected]>
> Subject: [DotNetDevelopment] web.config vs. masterpage for relative URLS
>
>    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