Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Environment
Symptoms
We started experiencing several seemingly unrelated issues when accessing files stored in SharePoint Online:
In the Data Load Editor
Could not get connection info from serverBrowser Console
The browser console showed repeated errors similar to:
connector: error executing connector method getConnectionInfo,
retrying: QvWebStorageProviderConnectorPackage.exeReload Scripts
Reloads using SharePoint files failed intermittently with:
Error: noFileSizeExample:
LOAD *
FROM [lib://SharePoint (...)/Test.xlsx]
(ooxml, embedded labels, table is Test);The error often occurred after approximately 60 seconds.
Reload Performance
Reloads that previously completed in around 30 seconds suddenly required several minutes, and some reloads failed while others succeeded.
Initial Investigation
We verified:
We also compared the environment against another Qlik Sense server running the same version where SharePoint connections worked normally.
Nothing obvious was found.
Important Observation
During troubleshooting we discovered that the following folder had stopped updating around the same time the issue started:
C:\ProgramData\Qlik\Custom Data\QvWebStorageProviderConnectorPackageSpecifically, the log folder contained no recent updates even though the connector was actively being used.
On a healthy server, new log files continued to be generated.
Resolution
We stopped the relevant Qlik services and renamed the connector state folder:
C:\ProgramData\Qlik\Custom Data\QvWebStorageProviderConnectorPackageto:
C:\ProgramData\Qlik\Custom Data\QvWebStorageProviderConnectorPackage_oldAfter restarting the services, Qlik recreated the folder automatically.
Immediately afterwards:
Root Cause (Suspected)
We were not able to identify the exact file responsible, but the evidence suggests corruption in the Web Storage Provider Connector's local state, cache, token store, or logging data under:
C:\ProgramData\Qlik\Custom Data\QvWebStorageProviderConnectorPackageThe connector executable itself was not replaced and connector versions were identical between the working and non-working environments.
Lessons Learned
If you experience any combination of:
check the following folder before spending too much time on SharePoint, OAuth, network, TLS or connector reinstalls:
C:\ProgramData\Qlik\Custom Data\QvWebStorageProviderConnectorPackageRenaming the folder and allowing Qlik to recreate it may resolve the issue.
Notes
Before deleting the old folder, keep it for a few days to verify that all reloads continue to run successfully.