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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Render Std Report Get Error

(0) ShareShare
ReportReport
Posted on by

Hi All,

We move the data from Production environment to QA environment.  After that, we cant render the report.  It always prompt 

 The DefaultValue expression for the report parameter ‘AX_CompanyName’ contains an error: Unable to find appropriate service endpoint information in the configuration object.

Any one can provide hints how to solve this?

Thanks
Matt

*This post is locked for comments

  • Suggested answer
    Jonathan  Halland Profile Picture
    11,310 on at

    Hi matt.

    Ensure the following

    1. You have reset your Reporting server paramerers to point correctly to your QA reporting server

    2. Redeploy all your reports

    3. Ensure a Full CIL is completed on QA.

  • Community Member Profile Picture
    on at

    Hi Jonathan,

    1 - We have issue on Full CIL.  We got a very generic CIL error.  Any hints?

    2 - We have issue on AIF services.  Most of the Services's status contain schemeError.

    3 - WCFConfig - We check from registry that wcfConfig from CurrentUser's node and localMachine node is pointing to another Webservices path.

    Does all three issues above causing the errors of failure?

    Thanks

    Matt

    Error from CIL.

    Finished pass 1 at 25/11/2014 4:15:37 PM

    Finished pass 2 at 25/11/2014 4:15:50 PM

    System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.

    Parameter name: index

      at System.Collections.Generic.List`1.get_Item(Int32 index)

      at Microsoft.Dynamics.Ax.Xpp.ILGenerator.loadFieldsIL(TypeBuilder typeBuilder)

      at Microsoft.Dynamics.Ax.Xpp.ILGenerator.declareFields()

      at Microsoft.Dynamics.Ax.Xpp.ILGenerator.GenerateXppModule()

    The CIL generator found errors and could not save the new assembly.

    Errors: 1

  • Verified answer
    Jonathan  Halland Profile Picture
    11,310 on at

    Hi Matt.

    These would definitely cause your issues. Your first step is to resolve the CIL. Possible run a full AX compile after the restore then run a full CIL.

  • Verified answer
    Community Member Profile Picture
    on at

    Issue solved.  What we did:

    1 - Use AXBuild to compile AOT

    2 - Import the error log into AX

    3 - Fix the issue one by one.

    4 - Gen CIL

    5 - Then report able to print.

    Basically notthing related to wcfconfig.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Prashant Singh Profile Picture

Prashant Singh 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans