I have created a Windows Service that try to start an application (in this case CATIA).
I use the following code:
private Application GetApplicationO
I have now found a solution.
I found it in another forum, where someone had problem to run another application through web. Strangely enough, that solution worked for me too.
Now it works for me. I am still not able to catch the process (GetActiveObject) if I start it manually first. But at least the Service manage to start a new instance without any errors.
I think this can be helpful for a lot of people who come across this error message when trying to start an application from a Windows Service.