Add in deactivated in terminal server

Add-in Express™ Support Service
That's what is more important than anything else

Add in deactivated in terminal server
except when outlook is run as admin 
erikjblair




Posts: 21
Joined: 2014-02-20
Hello, our users are trying to use terminal server and the add in is deactivated when they run outlook as a normal user. When they run as admin it works fine, but they don't want to do this for security purposes. It seems like a permissions issue. What are the minimum permissions necessary to load the add in?

adxloader log below
---

Add-in Express Loader Log File: 07/03/2017 14:16:13:475

Startup directory: C:\Program Files (x86)\DocuWare\CONNECT to Outlook\
Loader version: 8.1.4350.0
Operating System: Microsoft Windows Server 2012 R2 Standard Edition (build 9600), 64-bit
Process Owner: User
Command Line: "C:\Program Files (x86)\Microsoft Office\Office14\OUTLOOK.EXE"
Run 'As Administrator': No
Process Elevated: No
Integrity Level: Medium
UAC (User Account Control): On
------------------------------------------------------------------------
14:16:13:479 13332 7104 Starting the add-in registration process.
14:16:13:479 13332 7104 Loading mscoree.dll
14:16:13:480 13332 7104 Getting the latest CLR version.
14:16:13:964 13332 7104 The latest CLR version is 'v4.0.30319'.
14:16:13:964 13332 7104 Loading CLR: v4.0.30319.
14:16:13:964 13332 7104 Calling CLRCreateInstance method.
14:16:13:964 13332 7104 Success.
14:16:13:964 13332 7104 Calling GetRuntime method.
14:16:13:964 13332 7104 Success.
14:16:13:964 13332 7104 Checking if the hosting API of .NET Framework v4.0 beta is installed.
14:16:13:972 13332 7104 The hosting API is up to date.
14:16:13:972 13332 7104 Calling GetInterface method for the CorRuntimeHost interface.
14:16:13:972 13332 7104 Success.
14:16:13:972 13332 7104 Starting CLR...
14:16:13:972 13332 7104 Success.
14:16:13:972 13332 7104 Getting the CLR version.
14:16:13:972 13332 7104 The CLR v4.0.30319 has been initialized successfully.
14:16:13:972 13332 7104 Creating a new domain setup.
14:16:13:974 13332 7104 Success.
14:16:13:974 13332 7104 Getting the add-in directory.
14:16:13:974 13332 7104 Success. The directory is 'C:\Program Files (x86)\DocuWare\CONNECT to Outlook\'
14:16:13:975 13332 7104 The configuration file is 'C:\Program Files (x86)\DocuWare\CONNECT to Outlook\DocuWare.CONNECTtoOutlook.dll.config'
14:16:13:975 13332 7104 The 'shadow copy' is disabled.
14:16:13:975 13332 7104 Creating a new application domain.
14:16:13:980 13332 7104 Success.
14:16:13:980 13332 7104 Getting the base directory for the domain.
14:16:13:980 13332 7104 Success. The directory is 'C:\Program Files (x86)\DocuWare\CONNECT to Outlook\'.
14:16:13:980 13332 7104 Searching for the Add-in Express core library.
14:16:13:980 13332 7104 Success. The 'AddinExpress.MSO.2005.dll' file has been found.
14:16:13:980 13332 7104 Creating an instance of the 'AddinExpress.MSO.ADXLoaderSupport' class.
14:16:13:980 13332 7104 Assembly identity is 'AddinExpress.MSO.2005'.
14:16:14:424 13332 7104 Success.
14:16:14:424 13332 7104 Unwrapping the instance of the 'AddinExpress.MSO.ADXLoaderSupport' class.
14:16:14:425 13332 7104 Success.
14:16:14:425 13332 7104 Creating an instance of the XML parser class.
14:16:14:425 13332 7104 Success.
14:16:14:425 13332 7104 Loading the manifest file (C:\Program Files (x86)\DocuWare\CONNECT to Outlook\adxloader.dll.manifest).
14:16:14:425 13332 7104 Success.
14:16:14:425 13332 7104 Getting the root element of the manifest (C:\Program Files (x86)\DocuWare\CONNECT to Outlook\adxloader.dll.manifest).
14:16:14:425 13332 7104 Success.
14:16:14:425 13332 7104 Getting the 'assemblyIdentity' element of the manifest (C:\Program Files (x86)\DocuWare\CONNECT to Outlook\adxloader.dll.manifest).
14:16:14:425 13332 7104 Success.
14:16:14:425 13332 7104 Searching for the 'name' attribute of the 'assemblyIdentity' element.
14:16:14:425 13332 7104 Success. The name is 'DocuWare.CONNECTtoOutlook, PublicKeyToken=879da714589ba9ea'.
14:16:14:425 13332 7104 Calling the managed procedure to register the 'DocuWare.CONNECTtoOutlook, PublicKeyToken=879da714589ba9ea' assembly.
14:16:14 13488 7104 Connecting to the application domain of the Add-in Express loader.
14:16:14 13488 7104 Success.
14:16:14 13488 7104 Loading the 'DocuWare.CONNECTtoOutlook, PublicKeyToken=879da714589ba9ea' assembly.
14:16:14 13488 7104 Success.
14:16:14 13488 7104 Registering the 'DocuWare.CONNECTtoOutlook, PublicKeyToken=879da714589ba9ea' assembly (administrator).
14:16:15 13488 7104 The ' DocuWare.CONNECTtoOutlook, PublicKeyToken=879da714589ba9ea' assembly has been registered successfully.
14:16:15 13488 7104 The managed registration process is complete with HRESULT = 0.
14:16:15:371 13332 7104 The add-in registration process is completed with HRESULT = 0.
Posted 05 Oct, 2017 08:45:24 Top
Andrei Smolin


Add-in Express team


Posts: 18816
Joined: 2006-05-11
Hello Erik,

erikjblair writes:
What are the minimum permissions necessary to load the add in?


User permissions are required.

First off, the log you provided is an adxloader.log describing how the add-in is *registered*, not loaded. First off, the add-in is started by a user, not an admin. You need to re-check the instruction we publish in section Deploying a per-machine Office extension via an MSI installer, see the PDF file in the folder {Add-in Express}\Docs on your development PC.

Also, make sure your add-in project and setup project use adxloader and adxregistrator from the Add-in Express version installed on your machine. A way to update loader files in the Loader folder of your add-in project is to register the add-in project from the Visual Studio IDE.


Andrei Smolin
Add-in Express Team Leader
Posted 05 Oct, 2017 09:19:32 Top