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)

Unable to view any x++ codes, table methods, classes, etc.

(0) ShareShare
ReportReport
Posted on by 115

Hi all,

So I just got a new and fresh developer environment. I immediately checked the AOS to see if I can access the objects and if I can open the table browser. I also performed some basic functional tasks in the portal to see if everything is up and running.

Everything went fine, except that I cannot open any methods, codes, and classes. Actually, it's more like I can't view them. All table methods, classes and other codes gives me this error when I try to "Right-click then View code":

"Object reference not set to an instance of an object."

27271.Untitled.png

I've tried model build and full sync, still got the same error. The codes are actually running behind since I'm able to do tasks in the portal. It's just that I can't view them.

To give more info, I'm accessing the Visual Studio from the VM provided by LCS using the axlocaladmin account. I also run Visual Studio in Admin mode. The system version is: Update3 (7.0.4307.16141).

Did I miss any configurations? Any help would be greatly appreciated.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    iridescence Profile Picture
    115 on at

    Okay guys, I just got it working now. Looks like I just have to do "iisreset".

    In elevated cmd, type "iisreset" then enter.

    The codes are now viewable.

    Though that being said, this is a weird behavior.

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