Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

Compilation error in AX 2012 - Variable has not been declared.

(0) ShareShare
ReportReport
Posted on by 2,953
Hi Team,
 
I'm getting below compilation error in customized class, where it's calling reference /TransformAXIntegrator//
 
Error: /Variable TransformAXIntegrator has not been declared./
 
1. TransformAXIntegrator is a reference, I could see in References node. This error is coming only in UAT not in production.
2. I could see TransformAXIntegrator in both client and server bin folders
3. I tried a) adding this reference again from AOT client bin folder, restarting AX service. not worked b) deleted reference file in UAT, copied TransformAXIntegrator file Prod to UAT, adding this reference again, restarting AX service. not worked
 
Can someone here please guide on this issue..
 
Find below screenshot for reference of the error and reference.
 
//
  • d365solutiosn Profile Picture
    d365solutiosn 2 on at
    Compilation error in AX 2012 - Variable has not been declared.
    I have the same problem with this DLL from Bottomline Technologies for Precision Forms and cannot get around the problem either.  The DLL properly exists in all required directories.  The other DLL's from Bottomline work, but not this one.  It is most likely due to incompatibility with later versions of AX 2012 because the DLL's are from AX 2012 RTM days.  
  • Francesco Profile Picture
    Francesco 520 on at
    Compilation error in AX 2012 - Variable has not been declared.
    Hi Krishna,
     
    Did you get this resolved? I'm having the exact same issue with a new AX server using Transform.
  • Verified answer
    krishna.rao@dax Profile Picture
    krishna.rao@dax 2,953 on at
    Compilation error in AX 2012 - Variable has not been declared.
    This issues is due to missing installation of third party services. 
  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,371 Most Valuable Professional on at
    Compilation error in AX 2012 - Variable has not been declared.
    Compilation uses the file on client. If it's there, make sure it's the right version. Also, it's possible that this assembly is fine but what can't be loaded is one of its dependencies.
     
    If you can't see anything suspicious, Assembly Binding Log Viewer might tell you more.

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,371 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans