This isn’t documented anywhere that I could find, so I thought I’d do that here. When running an application that used the Solomon Object Model (SOM) to automate a screen in Dynamics SL, I received Dynamics SL error 7579 when calling StartAppAndAutomate(). The function did not return a reference to the application.
The problem was that the Microsoft.Dynamics.SL.ObjectModel.dll was not in the expected location, which is C:\Program Files (x86)\Common Files\Microsoft Shared\DynamicsSL. I copied it from the \SL\Applications\WRKSTN\Common folder to the expected location and it resolved the error. Everything else worked normally. The automated application even launched and the process could be seen in the Windows Task Manager.