====== Upgrade LDC ======
==== Applicability ====
LDC upgrade target all known server versions and should be fully compatible for drop-in usage, including MGW and legacy integrations via WebService. Main purpose is of upgrading is better stability and performance, including better deadlock handling.
Upgrading is strongly recommended if already running LDC 12.9.* to resolve bugs in intermediate versions.
==== Versioning ====
Due to historical technical limitations LDC currently have two different visual version numbers:
* Installer: X.Y.Z - Visible in download links and documentation
* DLL: X.Y.(Z+1000) - Visible in the lower right corner of Lime CRM Desktop and logs
==== Steps ====
- Run the LDC installation file (download from [[https://builds.lundalogik.com/api/v1/builds/ldc/versions/latest/file/?tag=released|LDC]])
- Open Component Services as administrator and navigate to: Component Services\Computers\My Computer\COM+ Applications
- Right click on Lundalogik Data Components and choose Properties
- Navigate to Identity
- Choose "This user", add the Lime CRM service user/password and click OK //(it may show you that it is already "This user", but do not trust in it! Change it!)//{{:installation:ldc.jpg?nolink|}}
- Open Registry Editor and go to: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Lundalogik\Lundalogik Data Components
- Update LogDirectory to the correct folder. Default location: C:\ProgramData\Lundalogik\Lime Pro Server\Lundalogik Data Components\logs
{{:installation:ldc_regedit.jpg?nolink|}}
- LDC 12.0.2097 and later are built using MS VC++ 2022 v14.3X and requires [[https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022|updated runtime]]
- LDC 12.9.1817 and later use MSOLEDBSQL19 by default. Upgrading to these builds will require either of these additional steps:
* Install database drivers [[https://learn.microsoft.com/en-us/sql/connect/oledb/download-oledb-driver-for-sql-server|Microsoft OLE DB Driver for SQL Server]]
* Explicitly configure the connection string for LDC using existing drivers
- Done!