web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

error CS0246: The type or namespace name 'ApplicationProxy' could not be found

(0) ShareShare
ReportReport
Posted on by 1,551

Hi All

I use customising PurchReqTableInfo user control to add new field from VS 2008 and once new field add and I did build i recievied bellow error :

An unexpected error has occurred.

System.Web.HttpCompileException: c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\ep\PurchReqTableInfo.ascx.cs(239): error CS0246: The type or namespace name 'ApplicationProxy' could not be found (are you missing a using directive or an assembly reference?)
   at System.Web.Compilation.BuildManager.PostProcessFoundBuildResult(BuildResult result, Boolean keyFromVPP, VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetBuildResultFromCacheInternal(String cacheKey, Boolean keyFromVPP, VirtualPath virtualPath, Int64 hashCode)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
   at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)
   at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxContentPanel.LoadHostedControl()
   at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxContentPanel.AddHostedControl()
   at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxContentPanel.OnInit(EventArgs e)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.AddedControl(Control control, Int32 index)
   at Microsoft.Dynamics.Framework.Portal.UI.WebControls.WebParts.AxBaseWebPart.AddContentPanel()
   at Microsoft.Dynamics.Framework.Portal.UI.WebControls.WebParts.AxUserControlWebPart.CreateChildControls()
   at System.Web.UI.Control.EnsureChildControls()
   at Microsoft.Dynamics.Framework.Portal.UI.WebControls.WebParts.AxBaseWebPart.OnInit(EventArgs e)
   at System.Web.UI.Control.InitRecursive(Control namingContainer)
   at System.Web.UI.Control.AddedControl(Control control, Int32 index)
   at System.Web.UI.WebControls.WebParts.WebPartManager.WebPartManagerControlCollection.AddWebPartHelper(WebPart webPart)
   at System.Web.UI.WebControls.WebParts.WebPartManager.WebPartManagerControlCollection.AddWebPart(WebPart webPart)
   at System.Web.UI.WebControls.WebParts.WebPartManagerInternals.AddWebPart(WebPart webPart)
   at Microsoft.SharePoint.WebPartPages.SPWebPartManager.AddWebPartWithRetry(WebPart webPart)
   at Microsoft.SharePoint.WebPartPages.SPWebPartManager.AddDynamicWebPart(WebPart webPart)
   at Microsoft.SharePoint.WebPartPages.SPWebPartManager.CreateWebPartsFromRowSetData(Boolean onlyInitializeClosedWebParts)
   at Microsoft.SharePoint.WebPartPages.SPWebPartManager.LoadWebParts()
   at Microsoft.SharePoint.WebPartPages.SPWebPartManager.OnPageInitComplete(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Web.UI.Page.OnInitComplete(EventArgs e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Please check the event log or contact your administrator

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Nabil Abdelrahman Profile Picture
    1,551 on at

    Problem is solved by Generate the proxies again and build the pages again.

  • Verified answer
    Nabil Abdelrahman Profile Picture
    1,551 on at

    Generate the proxies again and build the pages again.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans