Asp.net menu not rendering

Last post 11-11-2009 4:42 AM by Dave Sussman. 3 replies.

Sort Posts:

  • Asp.net menu not rendering

    11-06-2009, 11:51 AM
    • Contributor
      2,035 point Contributor
    • drdexter33
    • Member since 06-18-2003, 9:05 AM
    • Wilmington, North Carolina
    • Posts 595

    Ok.

    Here's a weird one.

    I've been having a problem getting an asp.net menu navigation to render.

    Here's the scenario:

    -It renders fine on my dev box which is running vs2005 and ie6

    -The problem seems to occur when I am accessing the page from another computer running IE7

    - The page ONLY has a navigation menu.  No other controls.

    Now, to clarify configurations in IIS:

    -Security: Windows Authentication only

    -Virtual Directory from root C:\


    Thanks in advance!

    Doug.


  • Re: Asp.net menu not rendering

    11-06-2009, 3:16 PM
    • Contributor
      2,035 point Contributor
    • drdexter33
    • Member since 06-18-2003, 9:05 AM
    • Wilmington, North Carolina
    • Posts 595

    One more thing to mention:

    There is ASP.Net Runtime Security settings on this application and I think that might have something to do with my problem.


    Thanks.


    Doug


  • Re: Asp.net menu not rendering

    11-11-2009, 12:19 AM

    Hi Doug,

    So far, I do not find out the problem with your description.

    So could you post some code here for us checking?

    PS:

    Check this link and refer the demos,

    http://quickstarts.asp.net/QuickStartv20/aspnet/doc/ctrlref/navigation/menu.aspx

     

    Hong-Gang Chen
    Microsoft Online Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • Re: Asp.net menu not rendering

    11-11-2009, 4:42 AM
    Answer
    • All-Star
      17,103 point All-Star
    • Dave Sussman
    • Member since 06-17-2002, 11:53 AM
    • UK
    • Posts 2,365
    • TrustedFriends-MVPs

    Two questions:

    1. Are you using security trimming?
    2. Are you an admin on your own machine?

    To explain why, the security checks involved in security trimming check both the authorization in web.config and the physical file permissions. If either check fails, the node isn't returned from the provider. So on your own machine, you might have permissions, while on the server, the user might not have permissions. Depending upon the server you might need to add read permissions to all physical files in the web site to either the ASPNET user or the [NT AUTHORITY\NETWORK SERVICE] account; both are local machine accounts.

Page 1 of 1 (4 items)