When Trace Parser is started up, it will login to AX through business connector. If you have different version of AX, it won't prompt to ask about which version of AX it should use. If you need to switch between the version the Trace Parser logon to, you'll need to edit the Trace Parser config file.
Open the file 'Microsoft.Dynamics.AX.Tracing.TraceParser.exe.config' (under the Trace Parser installation path) and edit the line: <bindingRedirect oldVersion="5.0.0.0" newVersion="5.0.0.0"/>
Open the file 'Microsoft.Dynamics.AX.Tracing.TraceParser.exe.config' (under the Trace Parser installation path) and edit the line: <bindingRedirect oldVersion="5.0.0.0" newVersion="5.0.0.0"/>
Set the 'newVersion="5.0.0.0"' to the version you want.
Eg.
To logon to AX4: <bindingRedirect oldVersion="5.0.0.0" newVersion="4.0.0.0"/>
To logon to AX2009: <bindingRedirect oldVersion="5.0.0.0" newVersion="5.0.0.0"/>
If that doesn't works, it might be due to the 32/64bit issue.
Below is the excerpt from the an email I received.
=============================
Verify that both 4 and 5 BC.Net are in the GAC by opening up c:\windows\assembly from the start menu. If so, then the following should work:
<bindingRedirect oldVersion="5.0.0.0" newVersion="4.0.0.0" />
If that still doesn’t work, it may be an issue with 32/64 bit. BC.Net has both x86 and x64 for AX2009 but only x86 for AX4. If you have Visual Studio, you could open a visual studio command prompt and run
corflags /32BIT+ Microsoft.Dynamics.AX.Tracing.TraceParser.exe
Combined with the bindingRedirect, this should solve the problem.
=============================
*UPDATE: To connect to AX2012, just do the similar changes to the config file to version 6.0.0.0.
No comments:
Post a Comment