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

I have the same question (0)
  • Community Member Profile Picture
    on at

    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.

  • Tim Wappat Profile Picture
    5,711 on at

    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

     

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 GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans