Excel для windows server 2012
This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Answered by:
Question
We recently upgraded to Remote desktop Windows Server 2012 R2 and are having issues with Excel working on it. We are getting the error message below:
«The copy of Microsoft Office 2016 cannot be used on a computer running terminal services. To use Office 2016 on a computer using terminal services, you must use a volume licensing edition of Office.»
We have what I think is a volume license. We have over 30 users using Office 365 with email, access to Office Apps, etc.
Any help would be appreciated.
Answers
We can’t install Click-to-Run versions of Office programs or suites on a server that’s running Remote Desktop Services (formerly known as Terminal Services).
Please check if you are using Click-to-run version of Office applications. To confirm it, please click File > Account, under the Product Information, if there is an Update Options, it is Click-to-run version.
To work around this issue, do one of the following;
- For customers who have an Office 365 ProPlus license, install Office with shared computer activation. For more information about installing Office 365 ProPlus with shared computer activation, see Deploy Office 365 ProPlus by using Remote Desktop Services .
- For all other versions of Office Click-to-Run, install an edition of the Office program or suite that uses a volume license key.
Excel для windows server 2012
Лучший отвечающий
Вопрос
На Windows 10 и windows 7 все работает без проблем.
На Windows server 2012r2 процесс в диспетчере запускается, а сам Excel нет. Данные не выгружаются и документ не открывается.
Ошибка сервера в приложении ‘/’.
Исключение из HRESULT: 0x800A03EC
Описание: Необработанное исключение при выполнении текущего веб-запроса. Изучите трассировку стека для получения дополнительных сведений о данной ошибке и о вызвавшем ее фрагменте кода.
Сведения об исключении: System.Runtime.InteropServices.COMException: Исключение из HRESULT: 0x800A03EC
Необработанное исключение при выполнении текущего веб-запроса. Информацию о происхождении и месте возникновения исключения можно получить, используя следующую трассировку стека исключений.
Трассировка стека:
Excel для windows server 2012
Добрый день! Уважаемые читатели и гости, популярного IT блога pyatilistnik.org. Сегодня я продолжу пополнять свою копилку знаний в разделе 1С. Вчера меня один из разработчиков, попросил ему помочь настроить компоненты DCOM для Excel.Application в связке с приложением 1С. Я ранее этого не делал, так что пришлось в этом разбираться. По итогам найденного решения, появилась и эта заметка. Уверен, что на этот материал найдутся желающие.
Что такое DCOM
Distributed Component Object Model (DCOM) — программная архитектура, разработанная компанией Microsoft для распределения приложений между несколькими компьютерами в сети. Программный компонент на одной из машин может использовать DCOM для передачи сообщения (его называют удаленным вызовом процедуры) к компоненту на другой машине. DCOM автоматически устанавливает соединение, передает сообщение и возвращает ответ удаленного компонента. С данным компонентов мы уже знакомились, когда решали ошибку 10016.
Настройка DCOM для Excel.Application
И так у меня есть виртуальная машина под управлением Windows Server 2012 R2, на ней установлены серверные компоненты 1С, есть задача для Excel.Application модуля, настроить DCOM компоненты.
Нам необходимо открыть в панели управления Windows, компонент «Службы компонентов».
Либо можете, через окно выполнить ввести DCOMCNFG, откроется, тоже самое.
В службах компонентов (Component Services) откройте ветку:
Если по каким-то причинам у вас нет пункта Microsoft Excel Application, откройте реестр Windows, найдите ветку: HKEY_CLASSES_ROOT\AppID\EXCEL.EXE, если ее нет, то создаем ее. В ней должен быть ключ REG_SZ со значением .
КОМУ ЛЕНЬ самому создавать, то можете скачать данный ключ реестра у меня. Просто запустите потом и подтвердите, что согласны добавить. Затем откройте командную строку от имени администратора и выполните команду:
У вас откроется mmc оснастка «Службы компонентов», которая делает то же что и DCOMCONFIG, но позволяет видеть 32 битные компоненты. В результате этих манипуляций компонент Microsoft Excel Application у вас должен появиться. Открываем свойства Microsoft Excel Application.
Переходим на вкладку «Безопасность (Secutity)». В пункте «Разрешения на запуск и активацию (Launch and Activation Permissions)», выберите «Настроить (Customize )» и изменить. Вам нужно добавить сюда учетную запись, от имени которой запускается служба 1С и предоставить ей права:
- Локальный запуск — Local Launch
- Локальная активация — Local Activation
Далее переходим к пункту «Разрешения на доступ (Access Permissions)» и так же меняем их. Добавьте там ту же учетную запись, от имени которой запускается сервис 1С, и дайте ей права «Локальный доступ (Local Access)». Сохраните настройки.
Закрываем окно служб компонентов, теперь для того, чтобы закончит ьнастройку DCOM для 1С и Microsoft Excel Application, вам необходимо дать права на две папки.
Вам нужно убедиться, что у вас есть две папки:
Excel для windows server 2012
This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Answered by:
Question
We recently upgraded to Remote desktop Windows Server 2012 R2 and are having issues with Excel working on it. We are getting the error message below:
«The copy of Microsoft Office 2016 cannot be used on a computer running terminal services. To use Office 2016 on a computer using terminal services, you must use a volume licensing edition of Office.»
We have what I think is a volume license. We have over 30 users using Office 365 with email, access to Office Apps, etc.
Any help would be appreciated.
Answers
We can’t install Click-to-Run versions of Office programs or suites on a server that’s running Remote Desktop Services (formerly known as Terminal Services).
Please check if you are using Click-to-run version of Office applications. To confirm it, please click File > Account, under the Product Information, if there is an Update Options, it is Click-to-run version.
To work around this issue, do one of the following;
- For customers who have an Office 365 ProPlus license, install Office with shared computer activation. For more information about installing Office 365 ProPlus with shared computer activation, see Deploy Office 365 ProPlus by using Remote Desktop Services .
- For all other versions of Office Click-to-Run, install an edition of the Office program or suite that uses a volume license key.
Excel для windows server 2012
This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Answered by:
Question
We recently upgraded to Remote desktop Windows Server 2012 R2 and are having issues with Excel working on it. We are getting the error message below:
«The copy of Microsoft Office 2016 cannot be used on a computer running terminal services. To use Office 2016 on a computer using terminal services, you must use a volume licensing edition of Office.»
We have what I think is a volume license. We have over 30 users using Office 365 with email, access to Office Apps, etc.
Any help would be appreciated.
Answers
We can’t install Click-to-Run versions of Office programs or suites on a server that’s running Remote Desktop Services (formerly known as Terminal Services).
Please check if you are using Click-to-run version of Office applications. To confirm it, please click File > Account, under the Product Information, if there is an Update Options, it is Click-to-run version.
To work around this issue, do one of the following;
- For customers who have an Office 365 ProPlus license, install Office with shared computer activation. For more information about installing Office 365 ProPlus with shared computer activation, see Deploy Office 365 ProPlus by using Remote Desktop Services .
- For all other versions of Office Click-to-Run, install an edition of the Office program or suite that uses a volume license key.