Preventing Office Apps from Hanging on Connection by Disabling AppData WebView2 Folder Sharing
Set perAppFolders=1 under HKCU\Software\Hyperion Solutions\HyperionSmartView\Options\ to disable WebView folder sharing between Office apps, avoiding Office app hangs when connecting to a data source in Smart View.
In Windows, the %AppData%/Oracle/SmartView/WebView folder is shared by default between Office applications. Oracle Smart View for Office uses the WebView folder to track connections to data sources made from different Office apps. In some cases, an organization may set restrictive policies that don’t allow the WebView folder to share the connection information between different Office apps. Because of this, in some cases, when users are connected to a data source in one Office app, such as Excel, and then attempt to launch a subsequent Office app, such as Word, the second app hangs and users are unable to connect.
For these cases, you can create and set the DWORD registry flag,
perAppFolders, to ensure that login is required for each connection
made in each subsequent Office app.
To create and configure the perAppFolders DWORD registry flag:
-
Close all Office apps.
-
Navigate to this Windows Registry key:
HKCU\Software\Hyperion Solutions\HyperionSmartView\Options\ -
Add these key values:
-
Name: perAppFolders
-
Value: 1
-
Type: REG_DWORD
When perAppFolders is set to 1, then sharing the WebView folder between Office apps is not allowed, forcing user login when connecting to data sources in each Office app launched. For example, launching Excel and connecting, then launching Word, and connecting.
-
-
Save the setting, restart an Office app and connect to a data source in Smart View, providing your login credentials; then start another Office app, and connect to the same data source.
You should be prompted for login when attempting to connect to the data source in the second Office app.