I have a tricky question and hope that someone could help me out (really important for me).
My Site should make an automatic call via the Lync client if someone does a certain action on the website. For that reason a batch file gets called and that bat file calls my programm with parameters.
This sounds like a coding question for stackoverflow but everything works fine on my pc and even on the server when my program gets called manually. The problem occurs when my mvc website calls the program especially this function LyncClient.GetClient();
I get an exception "The host process is not running". On my notebook calling the tool over the Website works while debugging in VS2012.
I know that the process is running because I can close it via task manager and it gets called via my program when I run it again. This function LyncClient.GetClient();
is built in.
Any ideas? I guess it must have something to do with the Website-User that might have not enough rights to access the lync client.