System.IO.FileNotFoundException

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

System.IO.FileNotFoundException
Exception thrown on customer system even the missing DLL is not part of the add in 
Subscribe
wehbi




Posts: 80
Joined: 2013-10-31
Dear Add-In Express team,

The following exception is being thrown on the customer's system. The listed DLL is not part of our add-in, and I do not understand how it is interfering with our add-in.


Application Domain: C:Program Files (x86)*censored*\*censored*
Assembly Codebase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.Office.Interop.Outlook/15.0.0.0__71e9bce111e9429c/Microsoft.Office.Interop.Outlook.dll
Assembly Full Name: Microsoft.Office.Interop.Outlook, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c
Assembly Version: 15.0.0.0
 
Exception Source: Microsoft Outlook
Exception Type: System.IO.FileNotFoundException
Exception Message:  Ein unerwarteter Fehler ist aufgetreten.
Der Informationsdienst "UCSESP.DLL" kann nicht geladen werden. Überprüfen Sie, ob der Dienst installiert und konfiguriert ist.
Exception Target Site: get_Item


Please let me know if you need the full stack trace, though please note that it contains some sensitive data.

I hope you can guide me on how to resolve this issue.

Kind regards,
wehbi
Posted 10 Dec, 2024 12:01:19 Top
Andrei Smolin


Add-in Express team


Posts: 19048
Joined: 2006-05-11
Hello Wehbi,

The name of that DLL is unknown to Google. The page at https://www.herdprotect.com/ucsesp6432.dll-2e9d936bd6575be68cfccd92d5eacb7697b93172.aspx suggests that DLL may be (or may not be) a Message Store provider; such a provider would create a message store in the list of stores and folders in the UI, similar e.g. to an Exchange mailbox or PST file. The get_Item call suggests that you were scanning the list of message stores when the exception fires.

If this is a message store provider's DLL, you should find out how to deal with that situation yourself. The point is: every message store provider may have issues of its own; some of these issues would be caused by the way the provider implements (or doesn't implement) the functionality that Outlook expects from it.

Regards from Poland (GMT+1),

Andrei Smolin
Add-in Express Team Leader
Posted 10 Dec, 2024 13:12:08 Top
wehbi




Posts: 80
Joined: 2013-10-31
You helped a lot.
Thanks!

Cheers,
wehbi
Posted 10 Dec, 2024 14:03:32 Top
Andrei Smolin


Add-in Express team


Posts: 19048
Joined: 2006-05-11
You are welcome!

Regards from Poland (GMT+1),

Andrei Smolin
Add-in Express Team Leader
Posted 10 Dec, 2024 14:15:34 Top
wehbi




Posts: 80
Joined: 2013-10-31
Just for the sake of completeness:


(Inner Exception)
Date and Time: 21.02.2024 09:58:45
Machine Name: **
IP Address: **
Current User: UAC**
 
Application Domain: C:Program Files (x86)****
Assembly Codebase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.Office.Interop.Outlook/15.0.0.0__71e9bce111e9429c/Microsoft.Office.Interop.Outlook.dll
Assembly Full Name: Microsoft.Office.Interop.Outlook, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c
Assembly Version: 15.0.0.0
 
Exception Source: Microsoft Outlook
Exception Type: System.IO.FileNotFoundException
Exception Message:  Ein unerwarteter Fehler ist aufgetreten.
Der Informationsdienst "UCSESP.DLL" kann nicht geladen werden. Überprüfen Sie, ob der Dienst installiert und konfiguriert ist.
Exception Target Site: get_Item
 
---- Stack Trace ----
Microsoft.Office.Interop.Outlook.StoresClass.get_Item(Index As Object)
Microsoft.Office.Interop.Outlook.dll: N 00000 (0x0) JIT
**.**.AddinModuleEvents.ConnectADXEvents(defaultFolderEnum As OlDefaultFolders)
Microsoft.Office.Interop.Outlook.dll: N 0124 (0x7C) IL
**.**.AddinModuleEvents.RegisterOutlookEvents()
Microsoft.Office.Interop.Outlook.dll: N 0074 (0x4A) IL
**.**.AddinModuleEvents.adxOutlookEvents_Startup(s As Object, eve As EventArgs)
Microsoft.Office.Interop.Outlook.dll: N 0091 (0x5B) IL
AddinExpress.MSO.ADXOutlookAppEvents.DoStartup()
Microsoft.Office.Interop.Outlook.dll: N 0018 (0x12) IL
 
(Outer Exception)
Date and Time: 21.02.2024 09:58:45
Machine Name: **
IP Address: **
Current User: **
 
Application Domain:  C:Program Files (x86)****
Assembly Codebase: file:///C:/Program Files (x86)/**/**/AddinExpress.MSO.2005.DLL
Assembly Full Name: AddinExpress.MSO.2005, Version=10.1.4703.0, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version: **
 
Exception Source:
Exception Type: AddinExpress.MSO.ADXExternalException
Exception Message: An error has occurred in the code of the add-in.
 
---- Stack Trace ----


Do I geht you right, I'm not able to solve this within the add-in logic.
FYI, the issue is gone by creating a new profile, but this seems not an easy solution when having 6k clients.
Posted 10 Dec, 2024 14:28:26 Top
Andrei Smolin


Add-in Express team


Posts: 19048
Joined: 2006-05-11
Hello Wehbi,

An issue that can be resolved by creating a new profile lies outside of your add-in, most certainly. I expect it to be a rare one. If, however, you have several accounts producing this issue, you (or your customer's administrator) would have a chance to study the issue and find a solution; I mean, find a non-programmatic solution.

Regards from Poland (GMT+1),

Andrei Smolin
Add-in Express Team Leader
Posted 16 Dec, 2024 14:57:15 Top