Hi All,
i have a app.config file ....in that :<system.diagnostics>
<sources>
<source name="eConnectTraceSource" switchValue="Error">
<listeners>
<add name="eConnectTextTracelistener">
<filter type="" />
</add>
</listeners>
</source>
</sources>
<sharedListeners>
<add initializeData="C:\Program Files (x86)\Microsoft Dynamics\SalesinvoiceImport\CompanyA\Logs\eConnect.log" type="System.Diagnostics.TextWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
name="eConnectTextTracelistener">
<filter type="" />
</add>
</sharedListeners>
<trace autoflush="true" />
</system.diagnostics>
<system.web>
<compilation debug="true" />
</system.web>
Note: How to use this eConnet.log file name in a C# code application..for storing friendly error(econnect ) messages in that....
*This post is locked for comments
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156