Tuesday, February 10, 2015

Configure Visual Studio to connect/open with correct AOS

Visual Studio is essential to create/edit SSRS reports with MS Dynamics AX 2012 and later releases. Here are steps to configure visual studio with correct AOS (in my case it is development AOS).

  1. Connect with computer where visual studio is installed
  2. Go to location where visual studio file is installed and placed. In my case it is placed at C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE
  3. Right click and sent to create shortcut to desktop (one can create shortcut anywhere)
  4. Right click Visual Studio shortcut (will name something "devenv - shortcut") and take properties
  5. Set target = "C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" /AxConfig C:\FaisalFareedWorkfolder\DynamicsAXTestSystem.axc

Path of the original visual studio installation file as mentioned in step 2
"C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe"

Path of the configuration file where MS Dynamics AX 2012 configuration is stored. This can be UNC file path or local path, depends on your requirements.
/AxConfig C:\FaisalFareedWorkfolder\DynamicsAXTestSystem.axc

Double click on

Make sure visual studio is connected with correct AOS. This "DynamicsAX_Test" is the configuration name in configuration file used as target in visual studio shortcut's properties.


  1. Only one comment: (is not verified, should only be some kind of hint)

    I think the specified configuration is used to connect the application explorer within VS to the right AOS. If nor config is given, the default configuration from registry HKCU hive ist used.

    but if you're going to develop run reports I think you additionally have to copy the axc file with the name Microsoft.Dynamics.AX.ReportConfiguration.axc (exactly this) to the private assemblies folder of the VS bin folder

    otherwise you're working against the correct AOS to get/write your project, but during excution you're going to run against the wrong one.

    see https://msdn.microsoft.com/en-us/library/gg889291.aspx

    I've always used a cmd file which
    1st) copies the axc to private assemblies folder under the dedicated name
    2nd) launch devenv with axconfig switch

    maybe this is not neccessary any more, but I don't know exactly



    1. IEEE Final Year Project centers make amazing deep learning final year projects ideas for final year students Final Year Projects for CSE to training and develop their deep learning experience and talents.

      IEEE Final Year projects Project Centers in India are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes, while specialists like the enjoyment in interfering with innovation.

      corporate training in chennai corporate training in chennai

      corporate training companies in india corporate training companies in india

      corporate training companies in chennai corporate training companies in chennai

      I have read your blog its very attractive and impressive. I like it your blog. Digital Marketing Company in Chennai Project Centers in Chennai

  2. Hi Douglas,

    I appreciate your comment but I haven't came across to copy assemblies in private folder for reports development. I have not copied config files into private folder ever and have been developing reports. I will look into this requirement more in details then will update you.

  3. Hi : Thank you for your post, I try is work fine :)

  4. Hi Admin,
    Excellent blog and its totally loaded with valid posts on Java and .Net technology. Consider including RSS feed in your blog, so aspirants like me can follow your blog easily. Dot Net Training

    1. Thanks for your comment and RSS feed is on now.

  5. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging…
    Python Training in Chennai

  6. I would say while reading your article, i felt very proud. Because the information you written very useful, please keep posting this type of articles.
    Devops training in Chennai | Devops training Institute in Chennai

  7. Hey, would you mind if I share your blog with my twitter group? There’s a lot of folks that I think would enjoy your content. Please let me know. Thank you.
    Java Training in Chennai | J2EE Training in Chennai | Advanced Java Training in Chennai | Core Java Training in Chennai | Java Training institute in Chennai

  8. It’s great to come across a blog every once in a while that isn’t the same out of date rehashed material. Fantastic read.
    Data science Course Training in Chennai |Best Data Science Training Institute in Chennai

  9. Existing without the answers to the difficulties you’ve sorted out through this guide is a critical case, as well as the kind which could have badly affected my entire career if I had not discovered your website.
    Best PHP Training Institute in Chennai|PHP Course in chennai

    Best .Net Training Institute in Chennai
    Big Data Hadoop Training in Chennai
    Linux Training in Chennai
    Cloud Computing Training in Chennai

  10. Thank you for excellent article.Great information for new guy like antimalware service executable

  11. It's impressive to visit your site...Enjoying while Reading the Articles...This part of Information's are Helped a lot to me...Keep Going
    Java training in chennai | Java training in annanagar | Java training in omr | Java training in porur | Java training in tambaram | Java training in velachery

  12. This is the first & best article to make me satisfied by presenting good content. I feel so happy and delighted. Thank you so much for this article

    Dot Net Training in Chennai | Dot Net Training in anna nagar | Dot Net Training in omr | Dot Net Training in porur | Dot Net Training in tambaram | Dot Net Training in velachery

  13. Nice information, valuable and excellent design, as share good stuff with good ideas and concepts, lots of great information and inspiration, both of which I need, thanks to offer such a helpful information
    Java Training in Chennai

    Java Training in Velachery

    Java Training in Tambaram

    Java Training in Porur

    Java Training in Omr

    Java Training in Annanagar

  14. Great post! I am actually getting ready to across this information, It’s very helpful for this blog.Also great with all of the valuable information you have Keep up the good work you are doing well.
    Software Testing Training in Chennai

    Software Testing Training in Velachery

    Software Testing Training in Tambaram

    Software Testing Training in Porur

    Software Testing Training in Omr

    Software Testing Training in Annanagar

  15. My spouse and I love your blog and find almost all of your posts to be just what I’m looking for. Appreciating the persistence you put into your blog and the detailed information you provide. I found another one blog like you Data Analytics .Actually I was looking for the same information on internet for Data Analytics Service and came across your blog. I am impressed by the information that you have on this blog. Thanks once more for all the details.

  16. I'm giving gratitude to Mr Pedro for all of his help in securing our loan for our new home here in Fruitland. You were organized & thorough & professional, as well as kind which made all of the difference in our interactions with you. We put our trust in you and you most definitely came through for us. Thank you for your patience as well as treating us as people rather than just home loan customers. You stand above the rest, I want to recommend anyone here looking for loan or investors to contact Mr Pedro and his staff because they are good people with gentle heart,Mr Pedro Email Contact : pedroloanss@gmail.com

    John Burley! Our hats off to you!!"

  17. Thanks for sharing this blog. The content is beneficial and useful. Very informative post. Visit here to learn more about Data Mining companies and Data analytics Companies. I am impressed by the information that you have on this blog. Thanks once more for all the details.Visit here for Top Data Migration Companies.

  18. Finish the Python Training in Chennai from Infycle Technologies, the best software training institute in Chennai which is providing professional software courses such as Hadoop, Big Data, Android, and iOS Development, Data Science, Artificial Intelligence, Java, Oracle, etc with 100% hands-on practical training. Call 7504633633 to get more info and a free demo and to grab the certification for having a peak rise in your career.


I will appreciate your comments !

Download large bacpac (sandbox database) to DEV environment much faster

As the LCS website gets slower and slower and the database backups get bigger and bigger.  Use AZCopy to download objects out of LCS asset l...