I installed and used NodeXL Basic in my Windows 10 machine without any problem. Windows got an update to Version 1903 yesterday plus a cumulative update for .NET Framework 3.5 and 4.8. Since then I could not open NodeXL anymore. I tried uninstall and reinstall NodeXL but the problem remains unsolved. Below was the error message I got. I would be much grateful if anyone can give me a hand on this!
Updating Office Customization There was an error during installation The application binding data format is invalid. (Exception from HRESULT: 0x800736B2)
************** Exception Text ************** System.Runtime.InteropServices.COMException (0x800736B2): The application binding data format is invalid. (Exception from HRESULT: 0x800736B2) at System.Deployment.Internal.Isolation.IsolationInterop.CreateActContext(CreateActContextParameters& Params) at System.Deployment.Internal.Isolation.IsolationInterop.CreateActContext(IDefinitionAppId AppId) at System.ActivationContext.CreateFromName(ApplicationIdentity applicationIdentity) at System.ActivationContext.CreatePartialActivationContext(ApplicationIdentity identity) at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()
************** Exception Text ************** System.Runtime.InteropServices.COMException (0x800736B2): The application binding data format is invalid. (Exception from HRESULT: 0x800736B2) at System.Deployment.Internal.Isolation.IsolationInterop.CreateActContext(CreateActContextParameters& Params) at System.Deployment.Internal.Isolation.IsolationInterop.CreateActContext(IDefinitionAppId AppId) at System.ActivationContext.CreateFromName(ApplicationIdentity applicationIdentity) at System.ActivationContext.CreatePartialActivationContext(ApplicationIdentity identity) at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()
It looks like the ClickOnce cache got corrupted due to the update.
To reset your ClickOnce cache and re-install NodeXL please follow these steps:
1. Uninstall NodeXl from Control Panel 2. Go to C:\Users\[user_profile_name]\AppData\Local\Apps\2.0 3. You should notice 2 folders: one is named “Data” and the other one has a strange name. The folder with the strange name used to have all the NodeXL files (now removed in step 1). Please try to delete that folder. If you are able to remove the folder, please try installing NodeXL again, otherwise continue in the next step 4. Open RegEdit and go to: [HKEY_LOCAL_MACHINE]\\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\ 5. Under ProfileList find the profile that corresponds to your user. To do that click on the profile entry and check “ProfileImagePath” on the right side 6. After you have located your profile, add a new DWORD (32-bit) value entry name “RefCount” and set the Value to 0.(for more details you can check https://neosmart.net/wiki/corrupt-user-profile/) 7. Sign out from Windows (or restart) 8. Try installing NodeXL (it should work now!) 9. Open RegEdit again and remove the key (RefCount) you added in step 6