Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MissingFieldException error

Status
Not open for further replies.

stupy1

Programmer
Feb 22, 2002
10
US
Hi everyone,

I use a third party control (ASPNetMenu) in a User control for all my pages. I'm getting a MissingFieldException error..sometimes. After recompiling I'm unable to reproduce. Then a day or two later without recompiling it reappears. The error lists a line of code in my aspx and not a codebehind. This leads me to believe the bug is in the menu dll and not my code. Here is the error:

Exception Details: System.MissingFieldException: Field not found:
SSA.SSA_CA.Web.Controls.User.Header.SSA_Menu.

Source Error:


Line 22: <asp:label id="lbl_status" Runat="server"
ForeColor="red"></asp:label>&nbsp;&nbsp;</td>
Line 23: </tr>
Line 24: <tr id="tr_menubar" runat="server" bgColor="white">
Line 25: <td><cyberakt:ASPnetMenu id="SSA_Menu"
ClientScriptLocation="/SSACSTS/Scripts/"
Menudata="\SSACSTS\Menu\MenuData.xml"
Line 26: OverlayWindowedElements="True"
runat="server"></cyberakt:ASPnetMenu>

Source File: e:\WEBAPPS\ssacsts\ Line: 24

Stack Trace:


[MissingFieldException: Field not found:
SSA.SSA_CA.Web.Controls.User.Header.SSA_Menu.]
ASP.Header_ascx.__BuildControl__control10() +0
ASP.Header_ascx.__BuildControl__control9(HtmlTableCellCollection __ctrl)
in e:\WEBAPPS\ssacsts\ ASP.Header_ascx.__BuildControltr_menubar() in
e:\WEBAPPS\ssacsts\ ASP.Header_ascx.__BuildControlTree(Control __ctrl) in
e:\WEBAPPS\ssacsts\ ASP.Header_ascx.FrameworkInitialize() in
c:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\ssacsts\e7e20c41\ab399172\ltwds_if.0.cs:0
System.Web.UI.UserControl.InitializeAsUserControlInternal() +31
System.Web.UI.UserControl.InitializeAsUserControl(Page page) +15
ASP.browsestudies_aspx.__BuildControlctlHeader() in
e:\WEBAPPS\ssacsts\ ASP.browsestudies_aspx.__BuildControlbrowse_studies() in
e:\WEBAPPS\ssacsts\ ASP.browsestudies_aspx.__BuildControlTree(Control __ctrl) in
e:\WEBAPPS\ssacsts\ ASP.browsestudies_aspx.FrameworkInitialize() in
c:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\ssacsts\e7e20c41\ab399172\_zvnqhkg.0.cs:0
System.Web.UI.Page.ProcessRequest() +85
System.Web.UI.Page.ProcessRequest(HttpContext context) +18

System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionSte
p.Execute() +179
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) +87


Could someone give me examples of what can cause this exception? I think this is where I need to begin. Any other further assistance would be greatly appreciated. I have the source code available. It sucks being the only .net programmer in my company.

thanks,

Justin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top