Error Installing Add-in

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

Error Installing Add-in
 
mwynn




Posts: 21
Joined: 2015-05-12
I am trying to install an Add-in Express Excel add-in (installation file is compiled with Advanced Installer, not sure if it matters). Below is the technical error information that I receive when I open Excel. Is there an obvious reason for the installation error? Any help you can provide would be greatly appreciated.

Thanks,
Matt

Detailed technical information follows:
---
(Inner Exception)
(Inner Exception)
Date and Time: 12/13/2016 10:28:54 AM
Machine Name: DESKTOP-GQ97N5G
IP Address: fe80::f976:b9e3:4aa3:784%16
Current User: DESKTOP-GQ97N5G\mwynn

Application Domain: C:\Users\mwynn\AppData\Roaming\FinPro Solutions\FinPro Add-in\
Assembly Codebase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
Assembly Full Name: System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Assembly Version: 4.0.0.0

Exception Source: System.Configuration
Exception Type: System.Configuration.ConfigurationErrorsException
Exception Message: The RSA key container could not be opened.
Exception Target Site: ThrowBetterException

---- Stack Trace ----
System.Configuration.RsaProtectedConfigurationProvider.ThrowBetterException(keyMustExist As Boolean)
System.Configuration.dll: N 0101 (0x65) IL
System.Configuration.RsaProtectedConfigurationProvider.GetCryptoServiceProvider(exportable As Boolean, keyMustExist As Boolean)
System.Configuration.dll: N 0135 (0x87) IL
System.Configuration.RsaProtectedConfigurationProvider.Decrypt(encryptedNode As XmlNode)
System.Configuration.dll: N 0008 (0x8) IL
System.Configuration.ProtectedConfigurationSection.DecryptSection(encryptedXml As String, provider As ProtectedConfigurationProvider)
System.Configuration.dll: N 0013 (0xD) IL
System.Configuration.Internal.InternalConfigHost.System.Configuration.Internal.IInternalConfigHost.DecryptSection(encryptedXml As String, protectionProvider As ProtectedConfigurationProvider, protectedConfigSection As ProtectedConfigurationSection)
System.Configuration.dll: N 0000 (0x0) IL
System.Configuration.Internal.DelegatingConfigHost.DecryptSection(encryptedXml As String, protectionProvider As ProtectedConfigurationProvider, protectedConfigSection As ProtectedConfigurationSection)
System.Configuration.dll: N 0000 (0x0) IL
System.Configuration.BaseConfigurationRecord.CallHostDecryptSection(encryptedXml As String, protectionProvider As ProtectedConfigurationProvider, protectedConfig As ProtectedConfigurationSection)
System.Configuration.dll: N 0000 (0x0) IL
System.Configuration.RuntimeConfigurationRecord.CallHostDecryptSection(encryptedXml As String, protectionProvider As ProtectedConfigurationProvider, protectedConfig As ProtectedConfigurationSection)
System.Configuration.dll: N 0000 (0x0) IL
System.Configuration.BaseConfigurationRecord.DecryptConfigSection(reader As ConfigXmlReader, protectionProvider As ProtectedConfigurationProvider)
System.Configuration.dll: N 0178 (0xB2) IL



(Outer Exception)
Date and Time: 12/13/2016 10:28:54 AM
Machine Name: DESKTOP-GQ97N5G
IP Address: fe80::f976:b9e3:4aa3:784%16
Current User: DESKTOP-GQ97N5G\mwynn

Application Domain: C:\Users\mwynn\AppData\Roaming\FinPro Solutions\FinPro Add-in\
Assembly Codebase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
Assembly Full Name: System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Assembly Version: 4.0.0.0

Exception Source: System.Configuration
Exception Type: System.Configuration.ConfigurationErrorsException
Exception Message: Failed to decrypt using provider 'RsaProtectedConfigurationProvider'. Error message from the provider: The RSA key container could not be opened. (C:\Users\mwynn\AppData\Roaming\FinPro Solutions\FinPro Add-in\FinPro Addin.dll.config line 478)
Exception Target Site: EvaluateOne

---- Stack Trace ----
System.Configuration.BaseConfigurationRecord.EvaluateOne(keys As String[], input As SectionInput, isTrusted As Boolean, factoryRecord As FactoryRecord, sectionRecord As SectionRecord, parentResult As Object)
System.Configuration.dll: N 0072 (0x48) IL
System.Configuration.BaseConfigurationRecord.Evaluate(factoryRecord As FactoryRecord, sectionRecord As SectionRecord, parentResult As Object, getLkg As Boolean, getRuntimeObject As Boolean, result As Object&, resultRuntimeObject As Object&)
System.Configuration.dll: N 0515 (0x203) IL
System.Configuration.BaseConfigurationRecord.GetSectionRecursive(configKey As String, getLkg As Boolean, checkPermission As Boolean, getRuntimeObject As Boolean, requestIsHere As Boolean, result As Object&, resultRuntimeObject As Object&)
System.Configuration.dll: N 0666 (0x29A) IL
System.Configuration.BaseConfigurationRecord.GetSectionRecursive(configKey As String, getLkg As Boolean, checkPermission As Boolean, getRuntimeObject As Boolean, requestIsHere As Boolean, result As Object&, resultRuntimeObject As Object&)
System.Configuration.dll: N 0666 (0x29A) IL
System.Configuration.BaseConfigurationRecord.GetSectionRecursive(configKey As String, getLkg As Boolean, checkPermission As Boolean, getRuntimeObject As Boolean, requestIsHere As Boolean, result As Object&, resultRuntimeObject As Object&)
System.Configuration.dll: N 0666 (0x29A) IL
System.Configuration.BaseConfigurationRecord.GetSection(configKey As String)
System.Configuration.dll: N 0000 (0x0) IL
System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(sectionName As String)
System.Configuration.dll: N 0053 (0x35) IL
System.Configuration.ConfigurationManager.GetSection(sectionName As String)
System.Configuration.dll: N 0015 (0xF) IL
System.Configuration.ClientSettingsStore.ReadSettings(sectionName As String, isUserScoped As Boolean)
System.Configuration.dll: N 0039 (0x27) IL
System.Configuration.LocalFileSettingsProvider.GetPropertyValues(context As SettingsContext, properties As SettingsPropertyCollection)
System.Configuration.dll: N 0014 (0xE) IL
System.Configuration.SettingsBase.GetPropertiesFromProvider(provider As SettingsProvider)
System.Configuration.dll: N 0084 (0x54) IL
System.Configuration.SettingsBase.GetPropertyValueByName(propertyName As String)
System.Configuration.dll: N 0113 (0x71) IL
System.Configuration.SettingsBase.get_Item(propertyName As String)
System.Configuration.dll: N 0020 (0x14) IL
System.Configuration.ApplicationSettingsBase.GetPropertyValue(propertyName As String)
System.Configuration.dll: N 0043 (0x2B) IL
System.Configuration.ApplicationSettingsBase.get_Item(propertyName As String)
System.Configuration.dll: N 0020 (0x14) IL
FinProAddin.My.MySettings.get_StartUp_ClearLogs()
System.Configuration.dll: N 0001 (0x1) IL
FinProAddin.MDebug.ClearLogFiles()
System.Configuration.dll: N 0006 (0x6) IL
FinProAddin.AddinModule.AddinModule_AddinInitialize(sender As Object, e As EventArgs)
System.Configuration.dll: N 0007 (0x7) IL
AddinExpress.MSO.ADXAddinModule.AddinExpress.MSO.IDTExtensibility2.OnStartupComplete(custom As Array&)
System.Configuration.dll: N 0901 (0x385) IL



(Outer Exception)
Date and Time: 12/13/2016 10:28:54 AM
Machine Name: DESKTOP-GQ97N5G
IP Address: fe80::f976:b9e3:4aa3:784%16
Current User: DESKTOP-GQ97N5G\mwynn

Application Domain: C:\Users\mwynn\AppData\Roaming\FinPro Solutions\FinPro Add-in\
Assembly Codebase: file:///C:/Users/mwynn/AppData/Roaming/FinPro Solutions/FinPro Add-in/AddinExpress.MSO.2005.DLL
Assembly Full Name: AddinExpress.MSO.2005, Version=8.3.4393.0, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version: 8.3.4393.0

Exception Source:
Exception Type: AddinExpress.MSO.ADXExternalException
Exception Message: An error has occurred in the code of the add-in.

---- Stack Trace ----
Posted 13 Dec, 2016 10:49:45 Top
nwein




Posts: 510
Joined: 2011-03-28
This is the error you're getting:
Failed to decrypt using provider 'RsaProtectedConfigurationProvider'. Error message from the provider: The RSA key container could not be opened. (C:\Users\mwynn\AppData\Roaming\FinPro Solutions\FinPro Add-in\FinPro Addin.dll.config line 478)
Exception Target Site: EvaluateOne


And it looks to be coming from your config, where you the RSA provider is trying to decrypt something in your config.

Bottom line, I don't think it has anything to do with ADX.
Posted 13 Dec, 2016 11:00:14 Top
Andrei Smolin


Add-in Express team


Posts: 14094
Joined: 2006-05-11
Posted 14 Dec, 2016 06:13:16 Top
mwynn




Posts: 21
Joined: 2015-05-12
Thanks Andrei. Please consider this ticket closed.
Posted 19 Dec, 2016 11:52:48 Top
Andrei Smolin


Add-in Express team


Posts: 14094
Joined: 2006-05-11
Thank you very much.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 20 Dec, 2016 05:29:30 Top