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.




17 comments:

  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

    regards

    Douglas

    ReplyDelete
  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.

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

    ReplyDelete
  4. Thanks for your comment and RSS feed is on now.
    Cheers

    ReplyDelete
  5. 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

    ReplyDelete
  6. 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

    ReplyDelete
  7. 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

    ReplyDelete
  8. 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

    ReplyDelete
  9. 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




    ReplyDelete
  10. 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

    ReplyDelete
  11. 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

    ReplyDelete
  12. 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



    Regards,
    John Burley! Our hats off to you!!"

    ReplyDelete

I will appreciate your comments !

How to enable new Microsoft teams - Public Preview!

New Microsoft Teams is just AWESOME, quick but useful post below shows how you have this preview feature to make your life EASY!  Open Micr...