AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Delphi-PRAXiS - Lounge Delphi-News aus aller Welt Addressing the Problem of the Missing dbxConnections.ini File
Thema durchsuchen
Ansicht
Themen-Optionen

Addressing the Problem of the Missing dbxConnections.ini File

Ein Thema von DP News-Robot · begonnen am 30. Sep 2020
Antwort Antwort
Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
15.404 Beiträge
 
#1

Addressing the Problem of the Missing dbxConnections.ini File

  Alt 30. Sep 2020, 19:10
When you install RAD Studio 10.4 (or 10.4.1) or Delphi or C++Builder, there is an error in the installation script that causes a configuration file to be missing. The lack of this file, that the IDE expects, causes a few errors reported for example as:

RSP-29199:*Error on ConnectionName selection in TSQLConnection

RSP-30831: Error in dbxconnections

In practice, if you use the dbExpress section of the Database Explorer to create a new connection, you end up with an access violation in the IDE:





Instead, if you try to select a connecting in the SQLConnection component, you'll see the proper error message:



The issue is caused by the fact in the the installer leaves*separate, partial configuration files (dbxconnections.win.x files) in the C:\Users\Public\Documents\Embarcadero\Studio\dbExp ress\21.0 folder rather than merging them*in a single dbxconnections.ini file. The ideal solution is to merge them manually in a new dbxconnections.ini file, but you can also just create a new empty dbxconnections.ini file or use one from a previous version of RAD Studio.

As soon as you add that file (and restart RAD Studio), the IDE will behave correctly and your new connections will be added to the ini file.



Notice also that the dbExpress library (or DBX) is formally deprecated and not maintained any more, which is why we missed this configuration issue. The recommendation is to migrate from it to FireDAC*(see this RAD Studio docWiki page) or some other database access library.



Weiterlesen...
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 16:01 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz