Comment 5 for bug 1064804

Revision history for this message
Mun Wai Chan (munwai) wrote :

As mentioned above, I ran it in a Console app and it worked.

using Microsoft.Dynamics.BusinessConnectorNet;

namespace ConsoleApplication1
{
    public class Program
    {
        public static void Main(string[] args)
        {
            Axapta ax = new Axapta();
            ax.LogonAs("User1", "Globe", new NetworkCredential("User1", "pwd", "Globe"), default(string), default(string), "A6BuildTestAos:6004", default(string));
            ax.Logoff();
        }
    }
}