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)

Missing assembly?!?!?

(0) ShareShare
ReportReport
Posted on by 535

I've dove into modifying an existing SSRS report(Inventory Aging in Inventory and Warehouse management). I basically copied all the files(classes, queries, menuitems) and gave them a new name. I also created a new SSRS project to create the new SSRS report. I compiled and it opened up fine before I made any changes to the actual report.

 

Now I went ahead and added the field(name from reqgroup, which is the coverage group name) to the temp table, created a relation. Added the field in VS to the report. Saved built, then went back to the AOT and made sure to compile the project will all the classes, tables, queries, etc. and I get, "CS0234: The type or namespace name 'Application' does not exist in the namespace 'Microsoft.Dynamics.AX' (are you missing an assembly reference?)"   I thought it was an easy add since I linked it up.

*This post is locked for comments

I have the same question (0)
  • Iulian Cordobin Profile Picture
    8,201 on at

    What exactly is raising the error? Compiling what AOT node: the SSRS report; the Dynamics AX VS Model?

  • KeithM Profile Picture
    535 on at

    It's pointing to the path \SMCInventAging_CN.cs which is the copy of the SSRS report.  I was compiling my whole shared project.  It builds fine when I open the Model project in VS.

    Err:178

  • Suggested answer
    Peter Zaher Profile Picture
    40 on at

    this issue because the path of assembly 

    when you edit SRSDrillThroughCommon to your solution it will keep the path of project "SOME_WHERE_IN_TEMP" so you have to reference it as project

    Solution:

    in AOT right-click on your_ProjectName_BusinessLogic -> click edit

    it will show 2 projects (or more if you reference any thing else SRSDrillThroughCommon)

    remove SRSDRillThroughCommon and add reference as project

    Build -> Add to AOT -> Deploy

  • _MGP Profile Picture
    506 on at

    Peter Zaher - I've tried this approach. You cannot add as project but you can add the reference as a DLL file.

    Note that after build / add / deploy, I go to AOT and compile my project.

    I get the same error as OP

    CS0234: The type or namespace name 'Application' does not exist in the namespace 'Microsoft.Dynamics.AX' (are you missing an assembly reference?)

    This error occurs in the .cs file for the Business logic class.

    The referenced DLL is not being correctly resolved by AX. For info, we are not using any source control.

    I've tried deleting the VS Projects in the AOT before re-adding them but no difference.

    I'm now at the point of copying the DrillThrough classes into the Business logic project!

    Hope someone can help!

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