Меню

Ошибка could not load an object because it is not available on this machine

Symptoms

When you start Excel or use the Microsoft Forecaster Excel Add-in, you receive this error message:

Microsoft Forms — Could not load an object because it is not available on this machine

Cause

The Excel Add-in engine did not register properly.

Resolution

Manually register the add in engine.

  1. Close Excel

  2. Select Run from the Start menu and then type: regsvr32 C:Program FilesFRx SoftwareFRx Forecaster ComponentsFCAddin.ocx

NOTE: Your path may be different, so use Windows Explorer to locate the FCAddin.ocx file and enter the appropriate path for the file.

References

Need more help?

Внимание, откроется в новом окне.
PDFПечать

Ошибка «Could not load an object because it is not avilable on this machine» при вызове любого пункта меню программы «АТТЕСТАЦИЯ-5.1» в большинстве случаев возникает из-за не корректно установленного компонента MSCAL.ocx.

1. Для диагностики данной проблемы необходимо выполнить вызов календаря в любом протоколе (создать любой протокол и нажать кнопку «Дата оценки» на панели инструментов). Если календарь не откроется, тогда необходимо выполнить действия, описанные в пункте 2.

2. Установка компонента:
2.1. Закрыть все программы.
2.2. Перейти в каталог установки программы «Аттестация-5.1» ( «C:Program Files..Аттестация-5.1»).
2.3. Запустить файл mscal_update.exe (с правами администратора), как показано на рисунке.
2.4. Пройти установку файла обновления.

Далее, запустите программу и проверьте вызов календаря (п.1).

3. Если проблема не решится с использованием данного материала, необходимо отправить диагностическую информацию на адрес att_support@mail.ru.

Для получения диагностической информации необходимо перейти в каталог установки программы «Аттестация» ( «C:Program Files..Аттестация-5.1»)и запустить файл diag_att_ctls5.exe.

Признак корректной установки компонентов:

Test 1: execute code 101
Test 2: execute code 201
Test 3: execute code 301
Test 4: execute code 401
Test 5: execute code 501
Test 6: execute code 601

Если коды по какому-либо тесту отличаются, значит существует проблема в установке компонентов.

4. Дополнение: Было зафиксировано несколько случаев проявления данной ошибки из-за блокировки установки компонентов программы во время инсталляции дистрибутива (setup.exe). В связи с этим, если проблема не решится с использованием рекомендаций по п.2 необходимо выполнить повторную установку дистрибутива (setup.exe) в режиме отключенного антивирусного ПО и повторно отправить/проверить результаты диагностики по п.3.

5. На рисунке изображен файл с именем «mscal_update.exe», на другой системе расширение «.exe» может не отображаться. В этом случае имя файла будет «mscal_update».

 

neqkeet

Пользователь

Сообщений: 84
Регистрация: 11.03.2016

Добрый день!

Excel 2013. При подключении надстройки наблюдаются несколько сообщений об ошибке «Could not load some objects because they are not available on this machine.»
Проблема стала возникать при удалении предыдущей версии Office 2010.
Как починить?

Изменено: neqkeet22.08.2017 18:03:39

 

neqkeet

Пользователь

Сообщений: 84
Регистрация: 11.03.2016

В Tools->Refferences путь к некоторым библиотекам прописан по месту расположения надстройки PLEX.
Например «ActiveMovie control type library» указан путь @user@Documentsquartz.dll
Хотя данная библиотека должна находиться в папке system 32.
Изменить расположение на корректное не получается. Библиотека активируется только при перемещении в указанную выше папку.

 

Никаких внешних подключаемых библиотек в коде PLEX не используется принципиально.
Тем более ActiveMovie control type library (что это?)

Что у вас за версия Office? Лицензия или пиратка?
Как вариант, попробуйте восстановить через Панель управления — Программы и компоненты — Office — Восстановить  

 

neqkeet

Пользователь

Сообщений: 84
Регистрация: 11.03.2016

#4

23.08.2017 12:25:46

Версия 15.0.4420.1017. Корпоративная лицензия.
Переустановил офис, не помогло.

Проблема именно с надстройкой. Когда подключаю — появляются сообщения Microsoft Forms «Could not load some objects because they are not available on this machine.»

При перемещении надстройки в другую папку — путь некоторых references меняется на путь надстройки PLEX. Если необходим список всех библиотек, могу предоставить.

Макросы работают не все, например:

Ошибка с «Вып. список» на строчке workrng.Text = Selection.Address — Run Time Error ‘424’ Object required

Код
Private Sub UserForm_Activate()
    workrng.Text = Selection.Address
    Call EnabledOptions
End Sub

Ошибка с «Только видимые»  — Method or data member not found
на строчке Me.refFrom.SetFocus макроса

Код
Private Sub btnOK_Click()

'проверяем заполнение формы
    On Error Resume Next
    Set rngFrom = Range(refFrom.Text)
    Set rngTo = Range(refTo.Text).Cells(1, 1)
    On Error GoTo 0

    If TypeName(rngFrom) <> "Range" Then
        MsgBox "Некорректный адрес копируемого диапазона.", vbCritical + vbOKOnly, "Ошибка ввода"
        Me.refFrom.SetFocus
        Exit Sub

Изменено: neqkeet23.08.2017 13:03:44

 

The_Prist

Пользователь

Сообщений: 13962
Регистрация: 15.09.2012

Профессиональная разработка приложений для MS Office

Снимите галочки со всех пунктов напротив библиотек, отмеченных MISSING. Такие баги могут возникать и при установке на корпоративных ПК, где развертывание офиса осуществляется «сриптами» со стороны админов.

Даже самый простой вопрос можно превратить в огромную проблему. Достаточно не уметь формулировать вопросы…

 

neqkeet

Пользователь

Сообщений: 84
Регистрация: 11.03.2016

The_Prist, В том то и дело, что галочек с MISSING нет. Подключены только:

Visual Basic for Applications,
Microsoft Excel 15.0 Object Library, (две одинаковых библиотеки при подключении Plex)
Microsoft Forms 2.0 Object Library (Только при подключении Plex, отключить при работающем Plex нельзя)
OLE Automation

 

The_Prist

Пользователь

Сообщений: 13962
Регистрация: 15.09.2012

Профессиональная разработка приложений для MS Office

Есть подозрение, что возникает конфликт версий. Я бы попробовал удалить офис, вычистить все папки офиса полностью, почистить реестр, чтобы удалить все следы предыдущих версий. Установить новую версию офиса. Попробовать подключить надстройку.

Даже самый простой вопрос можно превратить в огромную проблему. Достаточно не уметь формулировать вопросы…

 

neqkeet

Пользователь

Сообщений: 84
Регистрация: 11.03.2016

The_Prist, подскажите, как грамотно произвести чистку? Особенно по части реестра?

 

The_Prist

Пользователь

Сообщений: 13962
Регистрация: 15.09.2012

Профессиональная разработка приложений для MS Office

Вот здесь думаю лучше обратиться в Ваш ИТ отдел. Потому что могут быть нюансы и я лично не хочу быть крайним, если вдруг что-то удалите лишнее :) Но в общем случае, т.к. проблема с элементами форм, то обычно порядок такой:
1. Удаляете через Панель управления Microsoft Office
2. Находите папку MicrosoftForms. Для Windows 7 и выше это как правило папка: C:Users%USERNAME%AppDataRoamingMicrosoftForms. В неё можно быстро попасть через команду Выполнить. Пуск -Выполнить —%APPDATA%MicrosoftForms и нажмите Enter.
По хорошему можно удалить полностью эту папку, но беда в том, что она может использоваться другими приложениями Microsoft(вне офиса) и тогда это может повлиять на работу этих программ. Точнее это могут знать только Ваши ИТ-ники. Если будете делать на свой страх и риск, то лучше удалить только те файлы, у которых расширение EXD.

Еще есть рекомендации от самого Microsoft:

https://support.office.com/ru-ru/article/Удаление-Office-с-компьютера-9dd49b83-264a-477a-8fcc-2fdf5d…

P.S. Вот, вспомнил — ведь была в свое время тема с элементами…Попробуйте рекомендации отсюда:

Элементы ActiveX перестали работать или ведут себя непредсказуемо

Вполне возможно, что и в Вашем случае поможет.

Изменено: The_Prist23.08.2017 21:29:38

Даже самый простой вопрос можно превратить в огромную проблему. Достаточно не уметь формулировать вопросы…

 

3ooM

Пользователь

Сообщений: 17
Регистрация: 01.02.2014

neqkeet, вы смогли решить данную проблему?

 

У меня решилось обновлением Office 2013..  

 

casimirus

Пользователь

Сообщений: 1
Регистрация: 30.01.2017

#12

26.02.2020 09:34:54

Такая же проблема появилась при установке Excel 2013 поверх Excel 2010. Помогло удаление, исправление ошибок реестра CCleanerом и восстановление офиса.

Мар 6, 2014
Posted by Rock’n Root author
s-a
0 comments

В некотором царстве, в некотором государстве…

В одной компании используется специфическое ПО, к которому написаны ещё более специфические приложения в экселе с использованием Visual Basic для генерации отчётов. Когда не установлен Access (а он часто не входит в компоненты офиса) этот отчёт выдаёт подобную ошибку:

Microsoft Forms: Could not load an object because it is not available on this machine

mscal.ocx

Избавляемся от неё просто. Ищем на другом компьютере с такой же версией офиса, где установлен Access, файл mscal.ocx (обычно он лежит в c:\program filesmicrosoft officeofficeXX, где XX – версия офиса), копируем его оттуда. Потом регистрируем его в командной строке:

regsvr32 "c:\program filesmicrosoft officeofficeXXmscal.ocx"

vb-error

После этого данная ошибка должна исчезнуть…

I have an Excel add-in on a VM that uses the «Microsoft TreeView Control, version 6.0» as a part of Microsoft Windows Common Controls 6.0 (SP6), located at C:Windowssystem32MSCOMCTL.ocx. The properties window on forms that use the TreeView control show the control as [TreeView control name] TreeView3. Everything works great, and I don’t receive any errors.

I also have copies of the working VM with the same Excel add-in, but I receive a Microsoft Forms error that reads «Could not load an object because it is not available on this machine.» when I open Excel and the add-in loads.

I am able to re-create the forms, using the same «Microsoft TreeView Control, version 6.0» (same file location and reference), but this TreeView control appears as [TreeView control name] TreeView2 and the error no longer appears.

Instead of re-creating all the forms that use the TreeView2 control, how can I prevent the issue from happening in the first place? The machines are obviously not exact copies. With the exception of .NET v4 installed on the working machine, I don’t know what has changed that corrected the issue. It is my understanding that the Windows Common Controls should not be impacted by simply installing .NET v4 on the machines that have the error.

EDIT:
Installed the following and it did not work:
https://www.microsoft.com/en-us/download/details.aspx?id=10019

Also took a shot and installed .NET v4, and still no luck.

Specifications on working machine:
Windows 7 Professional SP1
Excel 2010, Version: 14.0.7162.5000 (32-bit)
ComputerHKLMSOFTWAREMicrosoftNET Framework SetupNDP and it has v2.0.50727, v3.0, v3.5, and v4

Specifications on machines with the issue:
Windows 7 Professional SP1
Excel 2010, Version: 14.0.7162.5000 (32-bit)
ComputerHKLMSOFTWAREMicrosoftNET Framework SetupNDP and it has v2.0.50727, v3.0, v3.5

EDIT #2: failed to mention that the machine with the issue is a 64-bit OS

Information from Registry for versions of TreeView controls on Working machine and Non-Working machine

Working Machine
ComputerHKEY_CLASSES_ROOTMSComctlLib.TreeCtrlCurVer — MSComctlLib.TreeCtrl.2

ComputerHKEY_CLASSES_ROOTCLSID{C74190B6-8589-11D1-B16A-00C0F0283628}Version — 2.1

Windows 7 Professional SP1 32-bit

Non-Working Machine
ComputerHKEY_CLASSES_ROOTMSComctlLib.TreeCtrlCurVer — MSComctlLib.TreeCtrl.2

ComputerHKEY_CLASSES_ROOTWow6432NodeCLSID{C74190B6-8589-11D1-B16A-00C0F0283628}Version — 2.0

Windows 7 Professional SP1 64-bit

I have an Excel add-in on a VM that uses the «Microsoft TreeView Control, version 6.0» as a part of Microsoft Windows Common Controls 6.0 (SP6), located at C:Windowssystem32MSCOMCTL.ocx. The properties window on forms that use the TreeView control show the control as [TreeView control name] TreeView3. Everything works great, and I don’t receive any errors.

I also have copies of the working VM with the same Excel add-in, but I receive a Microsoft Forms error that reads «Could not load an object because it is not available on this machine.» when I open Excel and the add-in loads.

I am able to re-create the forms, using the same «Microsoft TreeView Control, version 6.0» (same file location and reference), but this TreeView control appears as [TreeView control name] TreeView2 and the error no longer appears.

Instead of re-creating all the forms that use the TreeView2 control, how can I prevent the issue from happening in the first place? The machines are obviously not exact copies. With the exception of .NET v4 installed on the working machine, I don’t know what has changed that corrected the issue. It is my understanding that the Windows Common Controls should not be impacted by simply installing .NET v4 on the machines that have the error.

EDIT:
Installed the following and it did not work:
https://www.microsoft.com/en-us/download/details.aspx?id=10019

Also took a shot and installed .NET v4, and still no luck.

Specifications on working machine:
Windows 7 Professional SP1
Excel 2010, Version: 14.0.7162.5000 (32-bit)
ComputerHKLMSOFTWAREMicrosoftNET Framework SetupNDP and it has v2.0.50727, v3.0, v3.5, and v4

Specifications on machines with the issue:
Windows 7 Professional SP1
Excel 2010, Version: 14.0.7162.5000 (32-bit)
ComputerHKLMSOFTWAREMicrosoftNET Framework SetupNDP and it has v2.0.50727, v3.0, v3.5

EDIT #2: failed to mention that the machine with the issue is a 64-bit OS

Information from Registry for versions of TreeView controls on Working machine and Non-Working machine

Working Machine
ComputerHKEY_CLASSES_ROOTMSComctlLib.TreeCtrlCurVer — MSComctlLib.TreeCtrl.2

ComputerHKEY_CLASSES_ROOTCLSID{C74190B6-8589-11D1-B16A-00C0F0283628}Version — 2.1

Windows 7 Professional SP1 32-bit

Non-Working Machine
ComputerHKEY_CLASSES_ROOTMSComctlLib.TreeCtrlCurVer — MSComctlLib.TreeCtrl.2

ComputerHKEY_CLASSES_ROOTWow6432NodeCLSID{C74190B6-8589-11D1-B16A-00C0F0283628}Version — 2.0

Windows 7 Professional SP1 64-bit

Problem

User launches Perspectives. User receives an error.

User clicks OK. A second error appears.

Symptom

Error #1:

Microsoft Forms

Could not load an object because it is not available on this machine.

[OK]

Error #2:

Microsoft Visual Basic for Applications

Compile error in hidden module: MenuFuncs.

This error commonly occurs when code is incompatible with the version, platform, or architecture of this application. Click «Help» for information on how to correct this error.

Cause

Incompatible/unregistered shared Microsoft file («mscomctl.ocx») on client device.

More Information:

Microsoft had a security update in August 2012 (see http://technet.microsoft.com/en-us/security/bulletin/ms12-aug) which updated the mscomctl.ocx common control file (which is required by Perspectives to integrate with Excel).

Environment

Client device using Excel 2007 or 2010.

Resolving The Problem

Fix:

Download the latest Windows security updates to obtain the latest common control file.

Workaround:

It is possible to manually register a ‘good’ version of «mscomctl.ocx» by copying the file (from a working client device) and manually registering the file.

In one real-life case:

  • bad‘ version of ‘mscomctl.ocx’ = 6.01.9818 (6.1.98.18)

  • good‘ version of ‘mscomctl.ocx’ = 6.01.9839 (6.1.98.39)

The steps to register the new OCX file is:
1. Click Start, type cmd.
2. Right-click the cmd icon, and then click Run as Administrator.
3. Depending on your operating system:

  • For 64-bit operating systems, type the following:

Regsvr32 /u «C:WindowsSysWOW64MSCOMCTL.OCX»
Regsvr32 «C:WindowsSysWOW64MSCOMCTL.OCX»

  • For 32-bit operating systems, type the following:

Regsvr32 /u «C:WindowsSystem32MSCOMCTL.OCX»
Regsvr32 «C:WindowsSystem32MSCOMCTL.OCX»

Related Information

[{«Product»:{«code»:»SS9RXT»,»label»:»Cognos TM1″},»Business Unit»:{«code»:»BU053″,»label»:»Cloud & Data Platform»},»Component»:»TM1 Perspectives»,»Platform»:[{«code»:»PF033″,»label»:»Windows»}],»Version»:»10.1.1″,»Edition»:»All Editions»,»Line of Business»:{«code»:»LOB10″,»label»:»Data and AI»}}]

0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии

А вот еще интересные материалы:

  • Яшка сломя голову остановился исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного где ошибка
  • Ошибка code 136 chevrolet cruze
  • Ошибка code 128 opel