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)

Enterprise portal error (The User Control CustCashInflowvsCashOutflow.ascx has caused a compilation error.)

(0) ShareShare
ReportReport
Posted on by 1,155

I receive an error when using the CFO role center in AX 2012 R2. I invested some time to troubleshoot (IISRESET, full IL, deploy WebComponent, deploy Service Groups) but nothing fixed the error.

Had anyone fixed a similar error or have anyone an approach for troubleshooting?

The Error from the event log is the following:

The User Control CustCashInflowvsCashOutflow.ascx has caused a compilation error. To view details about this error, enable debugging in the web.config file or view the Windows event logs.

c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\ep\CustCashInflowvsCashOutflow.ascx.cs(14): error CS0234: The type or namespace name 'Portal' does not exist in the namespace 'Microsoft.Dynamics' (are you missing an assembly reference?)

System.Web

   at System.Web.Compilation.AssemblyBuilder.Compile()

   at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()

   at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)

   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.AxUserControlUpdatePanel.LoadControl()

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Paul Heisterkamp Profile Picture
    1,155 on at

    I have got it!

    A rebuild of the of the proxys fixed the error --> "Publish-AXWebComponent -Proxy –WebSiteUrl {URI}"

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
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Sukrut Parab Profile Picture

Sukrut Parab 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans