Hello Everyone, I am rather new to 3CX so bare with me. I have downloaded the API samples and followed instructions on how to start them up I have imported all files to my Visual Studio IDE and compiled them as x64. I have copied the .ini file from 3cx directory to the output folder of my program. I have also copied all .dll from the 3cx directory to the output folder (as i had some issues with the .dll not found - and as someone has already suggested just to copy all and it seems like it works). the 3cxpscomcpp2.dll is added as a reference to the project. Now when i try to run the .exe file from CMD like so: C:\Users\Boss\Documents\Visual Studio 2015\Projects\ConsoleApplication1\ConsoleApplication1\bin\x64\Debug>ConsoleApplication1.exe display I get the following error. Exception: TCX.Configuration.Exceptions.PhoneSystemException: ConfigServer is not connected at TCX.Configuration.PhoneSystem.Connect() at TCX.Configuration.PhoneSystem.get_Root() at OMSamples.Samples.DisplayAllSample.Run(String args) in C:\Users\Boss\Documents\Visual Studio 2015\Projects\ConsoleApplication1\ConsoleApplication1\Samples\DisplayAll.cs:line 17 at ConsoleApplication1.SampleStarter.StartSample(String args) in C:\Users\Boss\Documents\Visual Studio 2015\Projects\ConsoleApplication1\ConsoleApplication1\SampleStarter.cs:line 101 I have added 'PhoneSystem.ApplicationName = "TestApi";' to the Program.cs and the same entry to .ini file under [ConfService] stanza like so: [ConfService] ;connection point to configuration server for components PhoneSystem.ApplicationName=TestApi confNIC=127.0.0.1 ConfPort=5485 confUser=cfguser_default confPass=z7ofad6y7x Also on a note: DN ps = PhoneSystem.Root.GetDN(); //Access PhoneSystem.Root to initialize ObjectModel When this line is commented out the program compiles fine but it breaks when running from CMD. When this line is not commented out it throws an error while compiling. The error is the same 'ConfigServe' is not connected. The port, user, pass remain unchanged so i am not sure if these are the default values the API is configured for or do i have to replace them with something else ? What am i missing ? PS: I do not seem to have any 3cx Logs generated - and i can not find any setting to enable logging ?