0

I have an asp menu which is working great in debug mode but when website is published it does not work in IIS. Below is working fine in Visual Studio 2010 Debug mode:

This menu is working fine in VS 2010 Debug mode

But child menu not appear when hover on this menu in IIS:

enter image description here Here is html code & css.

<div id="menu">
           <asp:Menu id="Menu1" Orientation="Horizontal" Runat="server" 
                OnMenuItemClick="Menu1_MenuItemClick">
           </asp:Menu>
</div>

#menu {  }
#menu a 
{
    display: block;
    float: left;
    margin: 0 10px 0 0;
    border-bottom: solid 1px #B79845 !important;
    padding: 8px 0px 0px 0px;
    text-decoration: none;
    text-align: center;
    font-family: David;
    font-size: 14px;
    color: #000000;
    height: 18px;
    width: 183px;
}

#menu a:hover {
    margin: 0 3px 0 0;
    background-color: #B79845;
    color: #303822;
    font-weight: 900;
    height: 18px;
    width: 183px;
}
Yahya Hussaini
  • 88
  • 1
  • 1
  • 13
  • Maybe a user permission issue, that is, use does not have the right permission to expand that menu? – Leniel Maccaferri Mar 20 '18 at 13:33
  • looks like some CSS is missing probably. Check that everything was deployed properly and also check the file permissions that the server can serve it. – ADyson Mar 20 '18 at 15:41
  • @LenielMacaferi User has all the rights ... it is wokring absolutely fine in Debug mode of Visual Studio but not working when published in IIS... – Yahya Hussaini Mar 21 '18 at 11:13

0 Answers0