H
H
Hasan812019-03-27 16:54:14
1C
Hasan81, 2019-03-27 16:54:14

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");
    исключение
        сообщить(ОписаниеОшибки());
        Сообщить("Не удалось подключить телефон");
        Возврат;
    КонецПопытки;

gives an error message:

{Processing.CallCenter.Form.Form.Form(125)}: Type not defined (AddIn.MyComp.ServTel)
Failed to connect phone!!!

those. The component is installed and connected, but the object is not created. This problem is only on the user's computer. If you connect via RDP to the server and specify the base address as localhost, then everything works.
Why is that? How to correct? Where to dig? I think it's somewhere in the IIS settings, but don't know where.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Kinash, 2019-03-27
@Hasan81

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 question

Ask a Question

731 491 924 answers to any question