Enterprise portal "Error executing code: No system global variables"

Former Member

Enterprise portal Error

Microsoft Dynamics AX 2009: Error executing code: No system global variables (C)\Classes\WebLink\menufunction

I am getting this error on Enterprise portal as No global variables though I didn't change any code in AOT.
The enterprise portal stopped working after server restart.
 

The complete error is as below,



An unexpected error has occurred.

Microsoft.SharePoint.WebPartPages.WebPartException: Dynamics Object Adapter Call failed. ---> Microsoft.Dynamics.Framework.BusinessConnector.Session.Exceptions.XppSessionException: Dynamics Object Adapter Call failed. ---> Microsoft.Dynamics.BusinessConnectorNet.XppException: Error executing code: No system global variables.

(C)\Classes\WebLink\menufunction

Error executing code: No system global variables.

(C)\Classes\WebLink\menufunction

at Microsoft.Dynamics.BusinessConnectorNet.AxaptaObject.Call(String methodName, Object[] paramList) 
at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsObjectAdapter.Call(String methodName, Object param1) 
--- End of inner exception stack trace --- 
at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsSession.HandleException(String message, Exception exception, HandleExceptionCallback callback) 
at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsObjectAdapter.Call(String methodName, Object param1) 
at Microsoft.Dynamics.Framework.BusinessConnector.Proxy.WebLink.menufunction(WebMenuFunction mf) 
at Microsoft.Dynamics.Framework.Portal.UI.AxWeblink.GetWebLinkUrl() 
at Microsoft.Dynamics.Framework.Portal.UI.AxWeblink.CreateActionLink() 
at Microsoft.Dynamics.Framework.Portal.UI.AxWeblink.get_Link() 
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxWebMenuItem.get_Url() 
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.ActionMenuItemControl.Render(HtmlTextWriter output) 
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
at Microsoft.SharePoint.WebControls.MenuTemplate.Render(HtmlTextWriter output) 
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
at System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) 
at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) 
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxToolBar.Render(HtmlTextWriter writer) 
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
at System.Web.UI.UpdatePanel.RenderChildren(HtmlTextWriter writer) 
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxContentPanel.RenderChildren(HtmlTextWriter writer) 
at System.Web.UI.UpdatePanel.Render(HtmlTextWriter writer) 
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
at System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) 
at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) 
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.WebParts.AxBaseWebPart.Render(HtmlTextWriter writer) 
at Microsoft.SharePoint.WebPartPages.SPChrome.RenderPartContents(HtmlTextWriter output, WebPart part) 
--- End of inner exception stack trace --- 
at Microsoft.SharePoint.WebPartPages.SPChrome.RenderPartContents(HtmlTextWriter output, WebPart part) 
at Microsoft.SharePoint.WebPartPages.SPChrome.RenderWebPart(HtmlTextWriter output, WebPart part) 
at Microsoft.SharePoint.WebPartPages.WebPartZone.RenderZoneCell(HtmlTextWriter output, Boolean bMoreParts, WebPart part) 
at Microsoft.SharePoint.WebPartPages.WebPartZone.RenderWebParts(HtmlTextWriter output, ArrayList webParts) 
at Microsoft.SharePoint.WebPartPages.WebPartZone.Render(HtmlTextWriter output) 
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) 
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) 
at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) 
at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) 
at ASP.DEFAULTAX_MASTER_1993109385.__Renderhtml(HtmlTextWriter __w, Control parameterContainer) in server/.../defaultax.master:line 115 
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) 
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) 
at System.Web.UI.Page.Render(HtmlTextWriter writer) 
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Please check the event log or contact your administrator.

Troubleshoot issues with Windows SharePoint Services.

Please help to resolve this issue

Thanks

Parents
No Data
Reply Children
No Data
Related
Recommended