Answer the question
In order to leave comments, you need to log in
Why is an external component installed in 1s, but does not create an object?
On instructions from the management, I integrated a softphone into the base based on the well-known CH-Com1S. Windows Server 2012 (64). On a thin client (32) in RDP, it works fine, but there was a task to transfer to the user's computer (Windows XP 32). To do this, we set up IIS and published the database. They picked it up not from a browser, but from a thin client. The base starts up and everything works except for the softphone. Here is a piece of code:
попытка
УстановитьВнешнююКомпоненту(АдресКомпоненты);
исключение
сообщить(ОписаниеОшибки());
сообщить("Не удалось установить внешнюю компоненту");
Возврат;
КонецПопытки;
попытка
ПодключитьВнешнююКомпоненту(АдресКомпоненты, "MyComp");
ВнешняяКомпонентаЗагружена = 1;
исключение
сообщить(ОписаниеОшибки());
Сообщить("Не удалось подключить внешнюю компоненту");
Возврат;
КонецПопытки;
попытка
Телефон_1С = Новый("AddIn.MyComp.ServTel");
исключение
сообщить(ОписаниеОшибки());
Сообщить("Не удалось подключить телефон");
Возврат;
КонецПопытки;
{Processing.CallCenter.Form.Form.Form(125)}: Type not defined (AddIn.MyComp.ServTel)
Failed to connect phone!!!
Answer the question
In order to leave comments, you need to log in
I think that the thin client is running under a user who does not have rights to install the component. IIS has nothing to do with it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question