Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0246: The type or namespace name 'MemberCustomMenu' could not be found (are you missing a using directive or an assembly reference?)

Source Error:


Line 150:                                strPath = OnlyBusiness.OBAppSettings.Settings["HostURL"].ToString() + "Member/" + Session["SDMCurrentSubDomainName"].ToString() + "/";
Line 151:                            }
Line 152:                            MemberCustomMenu MenuCtl = (MemberCustomMenu)LoadControl(strPath + "UserControls/MemberCustomMenu.ascx");
Line 153:                            MenuCtl.ID = menu.ToString();
Line 154:                            MenuCtl.MenuPosition = MemberCustomMenu.MenuPosEnum.HorMenu;

Source File: c:\inetpub\wwwroot\OnlyBusinessII\TemplatesV2\AllCodeFiles\UserControls\CustomHTMLHeader.ascx.cs    Line: 152






Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3429.0