Resolving EXECUTION EXCEPTION: THE CANCELLATIONTOKENSOURCE HAS BEEN DISPOSED Error in Qlik Sense with Mail & Deploy

Resolving EXECUTION EXCEPTION: THE CANCELLATIONTOKENSOURCE HAS BEEN DISPOSED Error in Qlik Sense with Mail & Deploy

You may encounter the following error message when using Mail & Deploy with Qlik Sense:

Quote
EXECUTION EXCEPTION: THE CANCELLATIONTOKENSOURCE HAS BEEN DISPOSED

This error is typically caused by misconfigured virtual proxies in the Qlik Management Console (QMC), specifically when the "Extended security environment" option is checked for a virtual proxy used by Mail & Deploy.

Solution:
To resolve this issue, follow these steps:

1. Check Virtual Proxy Settings:
  • Open the Qlik Management Console (QMC).
  • Navigate to Virtual Proxies under the Proxies section.
  • Find the virtual proxy that Mail & Deploy is using for its connection to Qlik Sense.
2. Modify Extended Security Environment:
  • In the virtual proxy settings, ensure that the "Extended security environment" option is NOT checked.
  • If the "Extended security environment" must be enabled for other purposes, proceed to the next step.
3. Create a New Virtual Proxy (if needed):
  • If you need to keep the "Extended security environment" checked, create a new virtual proxy specifically for Mail & Deploy with this option NOT checked.
  • Ensure that this new virtual proxy has a unique name and is set up for Mail & Deploy usage.
4. Update Qlik Sense Data Source Configuration:
  • When creating a Qlik Sense DataSource in Mail & Deploy, use the prefix defined in the virtual path for the new virtual proxy (if a new proxy was created).
  • This ensures that Mail & Deploy connects to the correct virtual proxy without issues.
5. Restart Services:
  • After updating the virtual proxy settings, restart the necessary Qlik Sense services (e.g., Qlik Sense Proxy Service) to apply the changes.
6. Test the Connection:
  • Test the connection between Mail & Deploy and Qlik Sense to ensure the issue is resolved.
  • Verify that the "EXECUTION EXCEPTION: THE CANCELLATIONTOKENSOURCE HAS BEEN DISPOSED" error no longer occurs.
Note:
  • Always ensure that the configuration of virtual proxies is aligned with the security and connection requirements of Mail & Deploy.
  • If you continue to face issues, check the Qlik Sense and Mail & Deploy logs for additional troubleshooting details.
Additional Resources:
  • Qlik Sense documentation on virtual proxies and security environments.
  • Mail & Deploy support team for further assistance.
This solution should resolve the EXECUTION EXCEPTION: THE CANCELLATIONTOKENSOURCE HAS BEEN DISPOSED error when using Mail & Deploy with Qlik Sense.


Info

Looking for Additional Guidance?


If you require more detailed information or further assistance, please visit our comprehensive Online Documentation. Our resources are designed to help you navigate all features and functionalities effectively.