Applies to Riva Insight On-Premise Server.
Issue
Riva Insight displays an error message similar to the following:
Cause
This error is the result of mismatched configuration in \Insight\App_Data\AppSettings.xml and \Insight\webConnectionStrings.config.
To use Login with Salesforce, AppSettings.xml must have a key and value enabled (uncommented) in the following format:
If that key is enabled, webConnectionStrings.config should also have the correct Salesforce connection string enabled.
Solution
Ensure that webConnectionStrings.config has the correct string enabled (uncommented) & that the cache is cleared.
- On the Riva Insight server, check that the \Insight\webConnectionStrings.config file has the string below enabled (uncommented) in the following format:
Note: If you're not using a custom Salesforce domain, for the CustomDomainAuthUrl URL:
- use https://login.salesforce.com; or
- use https://test.salesforce.com if using a sandbox account
For more information about the correct configuration of this string, see Riva Insight Server: Authentication Error When Using Login with Salesforce.
- If the error persists after step 1, clear the browser cache on the Riva Insight server.
Note: The browser dependency differs based on the Insight server version.- These versions use Microsoft Edge:
- 2021.4 or higher;
- 2021.3 build 79884 or higher;
- 2021.2 build 79885 or higher.
- These versions use Microsoft Edge:
All other versions use Internet Explorer.
- Restart IIS.
Result: Riva Insight Login with Salesforce is enabled.