Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Render Std Report Get Error

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Render Std Report Get Error

    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.

  • Verified answer
    Jonathan  Halland Profile Picture
    Jonathan Halland 11,304 on at
    RE: Render Std Report Get Error

    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.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Render Std Report Get Error

    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

  • Suggested answer
    Jonathan  Halland Profile Picture
    Jonathan Halland 11,304 on at
    RE: Render Std Report Get Error

    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.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans