with configuration file do you mean the app.config ?
Sorry but I have very little knowledge about ax.
I just need some metadata info from ax,
I found this link msdn.microsoft.com/.../gg839793.aspx
and just followed it's example, didn't mention anything about a configuration file :-)
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.diagnostics>
<sources>
<!-- This section defines the logging configuration for My.Application.Log -->
<source name="DefaultSource" switchName="DefaultSwitch">
<listeners>
<add name="FileLog"/>
<!-- Uncomment the below section to write to the Application Event Log -->
<!--<add name="EventLog"/>-->
</listeners>
</source>
</sources>
<switches>
<add name="DefaultSwitch" value="Information" />
</switches>
<sharedListeners>
<add name="FileLog"
type="Microsoft.VisualBasic.Logging.FileLogTraceListener, Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"
initializeData="FileLogWriter"/>
<!-- Uncomment the below section and replace APPLICATION_NAME with the name of your application to write to the Application Event Log -->
<!--<add name="EventLog" type="System.Diagnostics.EventLogTraceListener" initializeData="APPLICATION_NAME"/> -->
</sharedListeners>
</system.diagnostics>
<system.serviceModel>
<bindings>
<netTcpBinding>
<binding name="MetadataServiceEndpoint" />
</netTcpBinding>
</bindings>
<client>
<endpoint address="net.tcp://haraxr3aosvs01:8201/DynamicsAx/Services/MetadataService"
binding="netTcpBinding" bindingConfiguration="MetadataServiceEndpoint"
contract="MetaDataServiceReference.IAxMetadataService" name="MetadataServiceEndpoint">
<identity>
<userPrincipalName value="svcservicehar@geldof.be" />
</identity>
</endpoint>
</client>
</system.serviceModel>
</configuration>