Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

DAG Tool Error "invalid launch file"

(0) ShareShare
ReportReport
Posted on by

I am trying to use the DAG Tool for GP 2013 . I have my third party application dictionary and want to generate an assembly for this dictionary.

When I go to the command prompt and from the path of the GP2013 VS Tools SDK, I issue a command

dag 6498 "<path to dynamics.set" /M

I get the error "Invalid launch file dynamics.set."

I tried copying the dyanmics.set file to the GP2013 VS Tools SDK folder

I tried giving the complete path of the dynamics.set file in the GP2013 folder

Still I get this error

What can I do?

My dynamics.set file has only 2 entries , one for the main Dynamics dictionary and the other for my product

*This post is locked for comments

  • Tim Wappat Profile Picture
    Tim Wappat 5,703 on at
    RE: DAG Tool Error "invalid launch file"

    Here are a list of the DAG versions from one of my machines;

    GP2010 DAG version = 11.0.359.0

    GP2013 DAG version= 12.0.311.0

    GP2015 DAG version= 14.0.84.0


    Check you have the correct version as previously stated, also double check you have the correct SET file, and it can be used to launch GP ok.

    For others reading this, the help for DAG.exe is here: https://msdn.microsoft.com/en-us/library/cc543572.aspx

     

    Here is a snippet from my BAT file that I generate assemblies with, it may help? I set the path to the GP application folder and generate from there, change the paths to 2013 and it should work for you. You need to change the ID for the DIC of interest too.

    === BAT file starts below

    C:
    REM "GP 2015 has a dependency while generating assemblies for BusinessObects.dll, must be in SDK folder"
    REM " see: dynamicsgpland.blogspot.co.uk/.../gp-2015-dagexe-crashes-could-not-load.html"
    if not exist "C:\Program Files (x86)\Microsoft Dynamics\GP2015 VS Tools SDK\Microsoft.Dynamics.GP.BusinessObjects.dll" (
    COPY "C:\Program Files (x86)\Microsoft Dynamics\GP2015\Microsoft.Dynamics.GP.BusinessObjects.dll" "C:\Program Files (x86)\Microsoft Dynamics\GP2015 VS Tools SDK\Microsoft.Dynamics.GP.BusinessObjects.dll"
    )
     
    REM "GP 2015 Produce the required dictionary dll's for GP addins to reference"
    CD "C:\Program Files (x86)\Microsoft Dynamics\GP2015"
     
    REM "Main dic first then any custom forms in pairs"
    REM "Base GP"
    "C:\Program Files (x86)\Microsoft Dynamics\GP2015 VS Tools SDK\DAG.exe"  /M /O
    "C:\Program Files (x86)\Microsoft Dynamics\GP2015 VS Tools SDK\DAG.exe"  /F /O
     
    REM "collections Management"
    "C:\Program Files (x86)\Microsoft Dynamics\GP2015 VS Tools SDK\DAG.exe" 1157  /M /O
    "C:\Program Files (x86)\Microsoft Dynamics\GP2015 VS Tools SDK\DAG.exe" 1157 /F /O

     

  • RE: DAG Tool Error "invalid launch file"

    Ran into this myself yesterday.  Verify DAG.EXE is from the same major version of Dexterity.  I found it easier to copy DAG.EXE into the Dynamics folder (next to Dynamics.EXE) and run it there.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,430 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans