Skip to content

Desktop Client

Lime CRM Desktop Client 11.1.3142

Product Lime CRM Desktop Client Version 11.1.3142 Date published 2024-02-14 Platform Windows Availability Manual installation and Automatic Updates.

This build primarily target general stability and problems with saving outgoing email.

Fixes

  • Worked around issue where unsaved emails without unique IDs caused mixup between Outlook Inspectors for subscribing to events.
  • Backported stability fix for events from background threads.
  • Backported stability improvements related to MFC and threading.
  • Prefer filters over pools of IDs for selections during async operations
  • Unified handling of default filter and view. Resolves issue where settings for initial filter and view are ignored.
  • Merge all settings from external config, resolved issues where CCC cannot be enabled for individual action pads.
  • Improved robustness for solutions with hidden required fields without default value.
  • Reverted mitigation for WebView2 120.0.2210.61 to avoid memory leak reports.
  • Stability: Avoid FinalReleaseComObject for shared COM objects.
  • Use unique timer ids for handling outgoing email to avoid mixup between different documents.
  • Avoid failure for Meeting items (accidentally) passed into integration with Outlook.
  • Added guard against self-destruction during event triggering.
  • Added guard against crash due to self-destruction of object during update.
  • Improved error handling and robustness for document mailer.
  • Workaround problems with legacy support for automatic login via saved password.
  • Ensure timestamps for files use correct timezone.
  • Fixed problem with sorting after searching.
  • Backported stability fix for rare crash during shutdown seen via Sentry.

Lime CRM Desktop Client 11.1.3139

Product Lime CRM Desktop Client Version 11.1.3139 Date published 2024-02-12 Platform Windows Availability Manual installation and Automatic Updates.

This build primarily target general stability and problems with saving outgoing email.

Fixes

  • Worked around issue where unsaved emails without unique IDs caused mixup between Outlook Inspectors for subscribing to events.
  • Backported stability fix for events from background threads.
  • Backported stability improvements related to MFC and threading.
  • Prefer filters over pools of IDs for selections during async operations
  • Unified handling of default filter and view. Resolves issue where settings for initial filter and view are ignored.
  • Merge all settings from external config, resolved issues where CCC cannot be enabled for individual action pads.
  • Improved robustness for solutions with hidden required fields without default value.
  • Reverted mitigation for WebView2 120.0.2210.61 to avoid memory leak reports.
  • Stability: Avoid FinalReleaseComObject for shared COM objects.
  • Use unique timer ids for handling outgoing email to avoid mixup between different documents.
  • Avoid failure for Meeting items (accidentally) passed into integration with Outlook.
  • Added guard against self-destruction during event triggering.
  • Added guard against crash due to self-destruction of object during update.
  • Improved error handling and robustness for document mailer.
  • Workaround problems with legacy support for automatic login via saved password.
  • Ensure timestamps for files use correct timezone.
  • Fixed problem with sorting after searching.
  • Backported stability fix for rare crash during shutdown seen via Sentry.

GDPR Add-on Might be Affected by Security Improvement in Lime CRM

Older versions of the GDPR add-on might be affected by a security improvement in the Lime CRM platform.

Who Does This Concern?

This only concerns customers that fulfill all the below requirements:

  • Use the GDPR add-on in the desktop client.
  • Have not installed the add-on or upgraded its LBS apps since 2022-11-10. I.e., the LBS apps are from a lower version than 3.6.1.
  • Are running lime-crm v2.761.3 or later. This is the upcoming on-premise Lime CRM server release (planned to be named 2024.1).

Symptoms

The buttons in the GDPR add-on to download the personal information as an Excel file or a JSON file will no longer work.

Solution

  1. Upgrade the limepkg-gdpr package to the latest version. Check the GDPR add-on documentation for guidance.
  2. Make sure to remember to replace the LBS apps used by the add-on.

Please note that if you are running the predecessor package lime-crm-gdpr, the first action you must to do is to migrate over to limepkg-gdpr.

"ActiveX component can't create object" when starting Lime CRM Desktop

Background

The error occurs when a user logs in to Lime CRM Desktop using major version 11, leaving the client in a broken state. This issue is caused by a recent update of WebView2 Runtime by Microsoft (version 120.0.2210.61). An issue has been open with Microsoft and others have experienced the same problem.

Update to WebView2 Runtime 120.0.2210.77 and later resolves the issue for all versions of Lime CRM Desktop. The updated versions was released 16th of December 2023 and should be generally installed by automatic updates by the 18th.

Lime CRM Desktop version 11.1.3088 resolves the login issue, but some customizations may not work correctly.

Lime CRM Desktop version 10.18.962 or older are not affected.

Solution

Upgrade to Lime CRM Desktop 11.1.3089 or later.

Download the installer from one of the links below. Ensure that you shut down the desktop client before running the installer. Double-click on the installer and follow the provided steps. You should now be able to use the Desktop Client again.

Auto Update Enabled

This solution assumes the auto-update feature is installed in your environment. By using the auto-update feature, the user does not require admin privileges, and the new Lime CRM version can be installed by the user themselves.

Download Lime CRM Desktop (requires auto-update to be enabled)

Administrators

For this solution, the user needs admin privileges to run the installer.

Download Lime CRM Desktop (requires admin privileges)

Lime CRM Desktop Client 11.1.3088

Product Lime CRM Desktop Client Version 11.1.3088 Date published 2023-12-08 Platform Windows Availability Manual installation and Automatic Updates.

This build primarily target error “ActiveX component can't create object” reported after Windows Update broadly distributed 8th of December 2023.

Fixes

  • Use C++-level object creation instead of COM for internal object.
  • Fixed regression in cookie transfer that broke session handing for WinINET.
  • Removed obsolete reference to loginwithsession, session transfer is since long time handled via cookie sync. Switched to InternetSetCookieEx2 to properly handle expiration and removal of obsolete cookies.
  • Updated MSVCRT to match VS 2022
  • Removed dependency for deprecated .Net Framework v4.0
  • Updated bootstrapper for WebView2
  • Improved robustness for tracking modifications for relations in user interface
  • Avoid reporting errors for abandoned/orphaned operations.
  • Coerce optional parameter-argument in Application.RaiseEvent to string-compatible type to ensure compatibility with existing VBA customizations.
  • Ensure session state is cleared before initiating login.
  • Separate sessions using WebView2 profiles.
  • Ensure SSPI does not take priority over explicit login.

Lime CRM Desktop Client 11.1.3089

Product Lime CRM Desktop Client Version 11.1.3089 Date published 2023-12-11 Platform Windows Availability Manual installation and Automatic Updates.

This build primarily target error “ActiveX component can't create object” reported after Windows Update broadly distributed 8th of December 2023.

Fixes

  • Use separate registration of internal COM-objects to mitigate problem introduced by WebView2 v120 and later.

Lime CRM Desktop Client 11.1.3057

Product Lime CRM Desktop Client Version 11.1.3057 Date published 2023-11-17 Platform Windows Availability Manual installation and Automatic Updates.

Fixes

  • Refined usage reporting.
  • Fixed problem with client-side sorting after switching view.
  • Compatibility: Fixed problem with modified handling when removing file contents for document
  • Added events to allow customization of template and document handling: BeforePopulateTemplate, AfterPopulateTemplate, BeforeOpenDocument, AfterOpenDocument
  • Ignore cookies during SSPI negotiation to avoid implict session.
  • Stability: Worked around crash due to improper window procedure for editing GPS coordinates.
  • Fixed compatibility issue for case-insensitive lookup of translation keys.
  • Stability: Added guards against unsafe thread access to fix rare crash seen via Sentry
  • Extended validation of parent argument for OpenInspector. Refined support for Controls as parent for Inspector.
  • Disable CCC unless explicitly enabled via config for view. This will reduce backend load for ActionPads without any visible components.
  • Compatibility: Gracefully handle missing add-permission for fields and unified policy for new/add to workaround issues with policies via hyper-cache, which is mandatory in cloud.
  • Restructured detection of parallell sessions to handle situations where username is not known, ie. SSPI and web-based login via AzureAD or similar.
  • Fixed bug in cookie sync that broke support for WinINET with app-proxy
  • Stability: Improved robustness for parent-child relations between Records.
  • Worked around compatibility problem with Word for situations where application is closed by user.
  • Re-enabled integration with Heap.io
  • Improved handling of embedded email addresses in text.
  • Removed dependency on VBScriot to open links in text.
  • Implemented proper error handling for Application.Shell.
  • Implemented explicit support for handling SetForegroundWindow via DDE.
  • Stability: Worked around race-conditions discovered after updating SDK and WebView2 119
  • Stability: Avoid unexpected side-effects of accessing closed tabs during cleanup.
  • Stability: Worked around crash when hit counting is triggered without record.
  • Scalability: Dynamically adjust batch size based on number of relations affected by the update.
  • Stability: Handle potential memory and reference leak due to internal usage of assignment operator.
  • Stability: Ensure any pending settings changes are applied before index operations to avoid race-conditions.
  • Stability: Worked around unhandled exception during shutdown.
  • Compatibility: Fixed problem where text shortcuts was loaded from wrong location.
  • Ensure records added with backend ID are shown.
  • Allow automatic requery when list edit is finished.
  • Render paused results unless loading.
  • Use string logical order for options.
  • Compatibility: Fixed bug in cursor handling for One-by-One, previously masked by other bug.
  • Added warning for slow timers.
  • Improved robustness for closed and invisible inspectors.
  • Prefer To over CC and BCC when relating email to recipient.
  • Stability: Avoid triggering Records.Requery from WM_PAINT to avoid violations to COM threading model due to modal dialogs displayed from formulas in filters. This should resolve (or at least mitigate) problems with empty ActionPads.

Lime CRM Desktop Client 11.1.3059

Product Lime CRM Desktop Client Version 11.1.3059 Date published 2023-11-17 Platform Windows Availability Manual installation and Automatic Updates.

Fixes

  • Refined usage reporting.
  • Fixed problem with client-side sorting after switching view.
  • Compatibility: Fixed problem with modified handling when removing file contents for document
  • Added events to allow customization of template and document handling: BeforePopulateTemplate, AfterPopulateTemplate, BeforeOpenDocument, AfterOpenDocument
  • Ignore cookies during SSPI negotiation to avoid implict session.
  • Stability: Worked around crash due to improper window procedure for editing GPS coordinates.
  • Fixed compatibility issue for case-insensitive lookup of translation keys.
  • Stability: Added guards against unsafe thread access to fix rare crash seen via Sentry
  • Extended validation of parent argument for OpenInspector. Refined support for Controls as parent for Inspector.
  • Disable CCC unless explicitly enabled via config for view. This will reduce backend load for ActionPads without any visible components.
  • Compatibility: Gracefully handle missing add-permission for fields and unified policy for new/add to workaround issues with policies via hyper-cache, which is mandatory in cloud.
  • Restructured detection of parallell sessions to handle situations where username is not known, ie. SSPI and web-based login via AzureAD or similar.
  • Fixed bug in cookie sync that broke support for WinINET with app-proxy
  • Stability: Improved robustness for parent-child relations between Records.
  • Worked around compatibility problem with Word for situations where application is closed by user.
  • Re-enabled integration with Heap.io
  • Improved handling of embedded email addresses in text.
  • Removed dependency on VBScriot to open links in text.
  • Implemented proper error handling for Application.Shell.
  • Implemented explicit support for handling SetForegroundWindow via DDE.
  • Stability: Worked around race-conditions discovered after updating SDK and WebView2 119
  • Stability: Avoid unexpected side-effects of accessing closed tabs during cleanup.
  • Stability: Worked around crash when hit counting is triggered without record.
  • Scalability: Dynamically adjust batch size based on number of relations affected by the update.
  • Stability: Handle potential memory and reference leak due to internal usage of assignment operator.
  • Stability: Ensure any pending settings changes are applied before index operations to avoid race-conditions.
  • Stability: Worked around unhandled exception during shutdown.
  • Compatibility: Fixed problem where text shortcuts was loaded from wrong location.
  • Ensure records added with backend ID are shown.
  • Allow automatic requery when list edit is finished.
  • Render paused results unless loading.
  • Use string logical order for options.
  • Compatibility: Fixed bug in cursor handling for One-by-One, previously masked by other bug.
  • Added warning for slow timers.
  • Improved robustness for closed and invisible inspectors.
  • Prefer To over CC and BCC when relating email to recipient.
  • Stability: Avoid triggering Records.Requery from WM_PAINT to avoid violations to COM threading model due to modal dialogs displayed from formulas in filters. This should resolve (or at least mitigate) problems with empty ActionPads.

Web-based login fails for Lime CRM Desktop 11.1.2918 and older using WebView2 Runtime 116 and later

Background

Microsoft has released version 116 of a component that the Desktop Client depends on - the WebView2 Runtime. This version of the WebView2 runtime contains a change that breaks the standard login (Standard username/password, Azure AD login and OpenID login).

Customers using Single-Sign-On via Lime Active Directory Integration (LADI) are not affected, as that feature uses a different login method.

For corporate customers with controlled IT environment we currently advise them to stop automatic updates until Lime CRM Desktop have been upgraded.

Workaround

Switch to legacy login via the right-click menu in the login-dialog.

Note: AzureAD and OpenID are not supported for legacy login.

This setting can be set per server via the Windows Registry:

HKCU\Software\Lundalogik\Lime\Login\<servername>\WebLogin = DWORD(0)

Solution

This is the recommended solution to the problem.

This solution expects the auto update feature to be installed in your environment. By using the auto update feature the user does not need admin rights and the new Lime CRM version can be installed by the user them self.

Download Lime CRM Desktop

Make sure that you shut down the desktop client before running the installer. Run the installer by double clicking on it and follow the steps described. You should now be able to use the Desktop Client again.

Alternatives

Solution for administrators

Upgrade to Lime CRM Desktop 11.1.2974 or later. Download installer from link below:

Download Lime CRM Desktop (requires admin privileges)

Install fixed version of WebView2 115.0.1901.203

Open PowerShell as administrator and run the following code:

 $ARCH=“x64” 
 $NAME=“Microsoft.WebView2.FixedVersionRuntime” 
 $VERSION=“115.0.1901.203” 
 $FULL_NAME=“$NAME.$VERSION.$ARCH” 
 $WEBVIEW2_URI=“https://builds.lundalogik.com/api/v1/builds/$NAME.$ARCH/versions/$VERSION/file/” 
 $DOWNLOAD_DEST=“$env:temp\webview2.cab” 
 $LIME_CRM=“${Env:ProgramFiles(x86)}\Lundalogik\Lime CRM” 
 $ProgressPreference = 'SilentlyContinue' 
 Invoke-WebRequest -Uri $WEBVIEW2_URI -OutFile $DOWNLOAD_DEST 
 expand “$DOWNLOAD_DEST” -F:* “$LIME_CRM” 
 if (Test-Path “$LIME_CRM\WebView2”) { Remove-Item “$LIME_CRM\WebView2” -Recurse -Force } 
 Rename-Item “$LIME_CRM\$FULL_NAME” “$LIME_CRM\WebView2”

Change $ARCH according to you platform (x86/x64).

Lime CRM Desktop Client 11.1.2950

Product Lime CRM Desktop Client Version 11.1.2950 Date published 2023-08-16 Platform Windows Availability Manual installation and Automatic Updates.

This release is a wrap-up release backporting improvements and stability fixes from Insider.

Fixes

  • Refactored field-path resolution for consistent handling of empty values and errors.
  • Worked around stability issue during shutdown.
  • Decouple lifetime handling for COM-events to resolve memory leaks.
  • Detect and log navigations that include redirects.
  • Updated WebView2 SDK
  • Workaround race-condition between injected script and navigation initiated via location.replace
  • Use hardcoded GUID for todo-filter to better handle switching between languages.
  • Reintroduced workaround for crash in VBA during shutdown.
  • Ensure cached settings are cleared.
  • Load filters and views before records to preserve active settings.
  • Avoid returning NULL-string via IDispatch due to stability issue in WebView2.
  • Improved robustness for refreshing records with subset of class-fields loaded.
  • Avoid potential deadlock due to held locks while triggering events.
  • Unified visibility handling.