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)

AX7 Packages not visible in Visual Studio on Azure VM

(0) ShareShare
ReportReport
Posted on by

On a brand new install from LCS into a new Azure VM, the package metadata is not read by Visual Studio correctly.  For example, the Application Explorer has no elements under the root nodes (Base Enums, Tables, etc..), and when creating a new model via the Create Model Wizard, in the step to select referenced packages, there are no packages listed at all (blank).

I suspected it was a problem with the folders in which the metadata files were located.  Normally this is C:\Packages, but in the Azure VM, they are located at J:\AosService\PackagesLocalDirectory.

Indeed if I copy the contents of J:\AosService\PackagesLocalDirectory into C:\Packages, Visual studio can now see all of the packages and is working as it should.

So, a couple of questions:

  1. Is it safe to continue to use a copy of the files in C:\Packages?
  2. How do I configure Visual Studio to point to the correct folder in J:\AosService\PackagesLocalDirectory?

*This post is locked for comments

I have the same question (0)
  • Mea_ Profile Picture
    60,284 on at

    Hi DevinS,

    Please refer to https://ax.help.dynamics.com/en/wiki/access-microsoft-dynamics-ax-7-instances-2/

    there is a section that describes how to find  web.config with all settings.

  • DevinS Profile Picture
    on at

    Web.config Aos.MetadataDirectory key is pointing to J:\AosService\PackagesLocalDirectory correctly.  It does not however effect which folder Visual Studio is pointing to.  

  • Verified answer
    Community Member Profile Picture
    on at

    Hi DevinS,

    I think that simply you must run Visual Studio as administrator. (RUN AS ADMINISTRATOR)

  • DevinS Profile Picture
    on at

    This was exactly the issue.  Cheers!

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