"Attach File" doesn't work and Citrix icon in Outlook is gray

  • 1
  • Problem
  • Updated 2 months ago
A configuration on our newest computers is Outlook 2010 on Windows 10 (1803) and Citrix for Outlook 6.2.10.0.

This configuration works for most of our users but I have at least two where the Citrix icon is grey in Outlook and Sharefile attaching doesn't work. Another side-effect of this is that "Attach File" button in Outlook 2010 doesn't work on those computers where the Citrix icon is grey. As soon as I disabled the Citrix add-in, the "Attach File" button started working. Unfortunately, when I tried to reenable Citrix on the workstation I was testing, it would never show up in the Outlook bar again even if I completely uninstalled and reinstalled Sharefile for Outlook on the computer.

I do have another Outlook plug-in (KnowBe4's Phish Alert) using AddinExpress.MSO.2005.DLL 
but it's an earlier version (8.7.4430.0). The reason I mention this is that there are some logs in C:\Users\%USERNAME%\AppData\Local\Citrix\Citrix Files for Outlook\ that shows an issue loading this.

Here is the relevant part of that log:

14:23:00 0580 Getting the base directory for the domain.
14:23:00 0580 Success. The directory is 'C:\Users\%USERNAME%jkittel\AppData\Local\Citrix\Citrix Files for Outlook\'.
14:23:00 0580 Searching for the Add-in Express core library.
14:23:00 0580 Success. The 'AddinExpress.MSO.2005.dll' file is found.
14:23:00 0580 Creating an instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
14:23:00 0580 Assembly identity is 'AddinExpress.MSO.2005'.
14:23:00 0580 Success.
14:23:00 0580 Unwrapping the instance of the 'AddinExpress.Deployment.ADXRegistrator' class.
14:23:00 0580 Success.
14:23:00 0580 Calling the managed registration procedure (DISPID = 1610743823).
14:23:00 0580 Managed Error: 
(Inner Exception)
Date and Time:         12/17/2018 2:23:00 PM
Machine Name:          %MACHINE_NAME%
IP Address:            fe80::1068:9dca:6c6e:ea74%5
Current User:          DOMAIN\USER

Application Domain:    C:\Users\%USERNAME%\AppData\Local\Citrix\Citrix Files for Outlook\
Assembly Codebase:     file:///C:/Users/%USERNAME%/AppData/L... Files for Outlook/AddinExpress.MSO.2005.DLL
Assembly Full Name:    AddinExpress.MSO.2005, Version=9.1.4620.0, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version:      9.1.4620.0

Exception Source:      
Exception Type:        System.IO.FileLoadException
Exception Message:     Could not load file or assembly 'Microsoft.Office.Interop.Outlook, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. Access is denied.

---- Stack Trace ----



(Outer Exception)
Date and Time:         12/17/2018 2:23:00 PM
Machine Name:          %MACHINE_NAME%
IP Address:            fe80::1068:9dca:6c6e:ea74%5
Current User:          DOMAIN\USER

Application Domain:    C:\Users\%USERNAME%\AppData\Local\Citrix\Citrix Files for Outlook\
Assembly Codebase:     file:///C:/Windows/Microsoft.NET/Fram...
Assembly Full Name:    mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Assembly Version:      4.0.0.0

Exception Source:      mscorlib
Exception Type:        System.IO.FileLoadException
Exception Message:     Could not load file or assembly 'Microsoft.Office.Interop.Outlook, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. Access is denied.
Exception Target Site: GetExportedTypes

---- Stack Trace ----
   System.Reflection.RuntimeAssembly.GetExportedTypes(assembly As RuntimeAssembly, retTypes As ObjectHandleOnStack)
       mscorlib.dll: N 00000 (0x0) JIT 
   System.Reflection.RuntimeAssembly.GetExportedTypes()
       mscorlib.dll: N 0000 (0x0) IL 
   AddinExpress.Projects.Common.Utilities.GetRegistrableTypesInAssembly(assembly As Assembly)
       mscorlib.dll: N 0006 (0x6) IL 
   AddinExpress.Projects.Common.Utilities.RegisterAssembly(assembly As Assembly, createVersionKey As Boolean, allUsers As Boolean, targetHive As ADXTargetRegistryHive, callRegMethod As Boolean)
       mscorlib.dll: N 0000 (0x0) IL 
   AddinExpress.Deployment.AddinDomainAdapter.RegisterForComInterop(register As Boolean, dllType As String, dllPath As String, showExceptions As Boolean)
       mscorlib.dll: N 0205 (0xCD) IL 
   AddinExpress.Deployment.ADXRegistrator.RegisterAssembly(commandLine As String)
       mscorlib.dll: N 0696 (0x2B8) IL 



14:23:00 0580 The add-in registration process is completed with HRESULT = -2147467259.
Photo of Greg Francis

Greg Francis

  • 12 Posts
  • 3 Reply Likes

Posted 3 months ago

  • 1
Photo of Douglas Goodman

Douglas Goodman, Sr. Software Engineer

  • 99 Posts
  • 29 Reply Likes
Hi Greg - If the Citrix icon is gray in the Outlook ribbon, it's an indication that you need to sign in. If it's disabled and you can't click it, then that may indicate another known problem. Are you running Citrix Workspace App? If so please upgrade to the latest version on the Citrix downloads page.

I'm not sure which attach file button you're referring to. Is it the native Outlook attach files button? Or the button in the Citrix Files for Outlook ribbon?

The log file you posted indicates an issue loading the add-in. There should not be any problem when two add-ins reference the same named DLL. Citrix Files for Outlook will use the DLL file that's located in its install folder.

Does the file "Microsoft.Office.Interop.Outlook" exist in your Citrix Files for Outlook install folder? C:\Users\{{yourname}}\AppData\Local\Citrix\Citrix Files for Outlook

-Doug
Photo of Greg Francis

Greg Francis

  • 12 Posts
  • 3 Reply Likes
Hi Doug,

Sorry I missed this before. The issue is getting far worse here as I now have about eight people with this issue. To answer your questions:

1) The icon is grey and says Options, not Log In. The user has signed in successfully in past and they have saved their password
2) We aren't running Citrix Workspace App
3) The "Attach File" button is the native Outlook button when creating a new message
4) The "Microsoft.Office.Interop.Outlook" DLL does exist in the folder you specify

All of the users that are experiencing this issue are on Windows 10 (1803) with fully patched Outlook 2010. None of our Windows 7 users are experiencing this issue.