Edwin Yip 154 Posted March 9, 2019 Hello, I don't remember since exactly when, but about a few weeks ago my XE4 IDE complains about "duplicates not allowed" when opening a project. Here is the call stack caught by madExcept. It seems has something to do with the Interbase DBX driver which I don't use at all and I can disable it, if anybody kindly tells me how. Any hints would be appreciated! Call stack === operating system : Windows 7 x64 Service Pack 1 build 7601 system up time : 20 hours 57 minutes program up time : 15 minutes 43 seconds processors : 4x Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz physical memory : 1497/7888 MB (free/total) free disk space : (C:) 50.49 GB (F:) 1.66 GB display mode : 1920x1080, 32 bit allocated memory : 306.80 MB largest free block : 116.06 MB version : 18.0.4905.60485 compiled with : Delphi XE4 madExcept version : 4.0.19 callstack crc : $c606e1f1, $46f22a97, $9846ea67 exception number : 5 exception class : EListError exception message : Duplicates not allowed. main thread ($1b08): 07b089fa +046 DbxCommonDriver180.bpl System.Generics.Collections 1764 +7 Data.DBXClassRegistry.{System.Generics.Collections}TDictionary<System.string,System.TClass>.Add 07c00586 +032 DbxCommonDriver180.bpl Data.DBXMetaDataWriterFactory 66 +1 TDBXMetaDataWriterFactory.RegisterWriter 06fbd175 +019 DBXInterBaseDriver180.bpl Data.DbxInterBaseMetaData 23 +1 Data.DBXInterbaseMetaData 50060476 +042 rtl180.bpl System 20618 +18 InitUnits 500604e6 +046 rtl180.bpl System 20643 +8 @PackageLoad 29111425 +005 DataExplorerDBXPluginInt180.bpl SysInit 898 +0 @PackageLoad 5009ee43 +03b rtl180.bpl System.SysUtils 23373 +4 InitializePackage 59859a2f +01b madExcept_.bpl madExcept InterceptInitializePackage 5009ef9b +083 rtl180.bpl System.SysUtils 23424 +18 LoadPackage 204c1e78 +008 coreide180.bpl PakLoad 146 +0 TPackage.DoLoadPackage 204c1fed +055 coreide180.bpl PakLoad 220 +7 TPackage.Load 204c4941 +061 coreide180.bpl PakMgr 591 +2 TDesignPackage.Load 21c99b07 +05b delphicoreide180.bpl PasCppPakMgr 2292 +4 TIDEDesignPackage.Load 5005f2a9 +01d rtl180.bpl System 16534 +2 @AfterConstruction 21c9991b +06b delphicoreide180.bpl PasCppPakMgr 2217 +11 TIDEDesignPackage.DelayLoad 21c93f82 +09e delphicoreide180.bpl PasCppPakMgr 463 +10 LoadDesignPackage 21c94275 +215 delphicoreide180.bpl PasCppPakMgr 534 +52 LoadProjectPackages 21d7f22b +167 delphicoreide180.bpl BasePasProjOpts 1544 +22 TProjOptsManager.DoLoadPackages 21d8001c +000 delphicoreide180.bpl BasePasProjOpts 1779 +0 TProjOptsManager.LoadPackages 21d81030 +008 delphicoreide180.bpl BasePasProjOpts 2353 +1 TProjectOptions.LoadPackages 21ccd845 +17d delphicoreide180.bpl BaseDelphiProject 2787 +21 TDelphiProjectModuleHandler.Create 21ccc6b5 +009 delphicoreide180.bpl BaseDelphiProject 2415 +0 TBaseDelphiProject.InstallModuleHandlers 223c46e9 +005 delphide180.bpl DelphiProject 91 +1 TDelphiProject.InstallModuleHandlers 21cc3c41 +299 delphicoreide180.bpl BaseDelphiProject 767 +49 TBaseDelphiProject.Create 223c5236 +04e delphide180.bpl DelphiProject 267 +5 TDelphiProjectCreationTrait.OpenMSBProject 206df09d +181 coreide180.bpl ProjectFileUtils 701 +22 MSBuildLoadProjectFile 21cd629e +01e delphicoreide180.bpl BaseDelphiProject 4957 +3 TDelphiProjectFileModuleHandler.FileOpen 2086c99e +016 coreide180.bpl DocModul 3220 +0 TFileOpenHandler.FileOpen 208676d4 +130 coreide180.bpl DocModul 801 +36 TFilterList.OpenFile 2086b703 +03b coreide180.bpl DocModul 2622 +3 CallDefaultOpenProc 205abf0f +22f coreide180.bpl ProjectGroup 1495 +28 TProjectGroup.Create.@label 205a9a17 +0d3 coreide180.bpl ProjectGroup 820 +11 TProjectGroup.Create 205a8739 +09d coreide180.bpl ProjectGroup 484 +6 LoadMSBProjectGroup 205b3dad +035 coreide180.bpl ProjectGroup 3872 +5 TMSBuildProjectGroupFileOpenHandler.FileOpen 208676d4 +130 coreide180.bpl DocModul 801 +36 TFilterList.OpenFile 2086b703 +03b coreide180.bpl DocModul 2622 +3 CallDefaultOpenProc 50214247 +b23 rtl180.bpl System.ObjAuto 789 +258 ObjectInvoke 50215cb9 +1fd rtl180.bpl System.Win.ObjComAuto 290 +41 TObjectDispatch.Invoke 76187bc5 +00a USER32.dll DispatchMessageA 50580e8f +0fb vcl180.bpl Vcl.Forms 10290 +25 TApplication.ProcessMessage 50580eca +00a vcl180.bpl Vcl.Forms 10318 +1 TApplication.HandleMessage 50581205 +0c9 vcl180.bpl Vcl.Forms 10456 +26 TApplication.Run 764b343b +010 kernel32.dll BaseThreadInitThunk Share this post Link to post
dummzeuch 1508 Posted March 9, 2019 Have you tried deleting / renaming DBXInterBaseDriver180.bpl ? Share this post Link to post
Edwin Yip 154 Posted March 9, 2019 (edited) 4 minutes ago, dummzeuch said: Have you tried deleting / renaming DBXInterBaseDriver180.bpl ? Hi Thomas, no, I didn't. Update 1: Sorry, did you suggesting a solution I should try or did you mean that might be what caused the issue? Edited March 9, 2019 by edwinyzh Share this post Link to post
dummzeuch 1508 Posted March 9, 2019 I suggested a solution to disable the interbase driver. Share this post Link to post
Attila Kovacs 629 Posted March 10, 2019 (edited) you have duplicate entries in your dbxconnections.ini, possibly Edited March 10, 2019 by Attila Kovacs Share this post Link to post
Edwin Yip 154 Posted March 10, 2019 8 hours ago, dummzeuch said: I suggested a solution to disable the interbase driver. That solved the problem, thanks Thomas! Share this post Link to post
Edwin Yip 154 Posted March 10, 2019 4 hours ago, Attila Kovacs said: you have duplicate entries in your dbxconnections.ini, possibly Not sure, I don't use dbx all all, and I couldn't think of any recent operations of me to the IDE that might case the change of that file. I disabled the .bpl file as suggested by Thomas and the problem seems to have been solved. Thanks. 1 Share this post Link to post
Michaell 1 Posted October 28 Nice, 6 years later I have the same problem with the C++ Builder 12.2. I found 4 files (in folders ...\bin plus ...\Win32 and ...\bin64 plus ...\Win64) "DBXInterBaseDriver290.bpl" and renamed all of them to "_DBXInterBaseDriver290.bpl". This helps, but I got (and get) the error message: Can't load package c:\program files (x86)\...\bin\dclDBXDriversInt290.bpl The specified module could not be found. Do you want to ... So what does it means for my C++ Builder setup if I have the "DBXInterBaseDriver290.bpl" no longer available? Thanks! Share this post Link to post
DelphiUdIT 181 Posted October 28 There are an open issue (an not only one) about that: https://embt.atlassian.net/servicedesk/customer/portal/1/RSS-2144 Seems that the error is about the Visual Assist ... wait for a patch ... (hope for a real patch).... 1 Share this post Link to post
Michaell 1 Posted October 29 14 hours ago, DelphiUdIT said: There are an open issue (an not only one) about that: https://embt.atlassian.net/servicedesk/customer/portal/1/RSS-2144 ... I get "You do not have permission to view this request." Anyhow, thanks for this information. Bye! Michael Share this post Link to post
Michaell 1 Posted October 30 The (better) solution was at my project: 1) Remove from several locations (especially from the *.cbproj file) this include: (BDSINCLUDE)\windows\vcl don't care how it looks, e.g. also: "c:\program files (x86)\embarcadero\studio\23.0\include\windows\vcl If done the error E2209 Unable to open include file 'vcl.h' should be shown but the error Unable to load Project ... Duplicates not allowed shall be gone. 2) Re-introduce the (BDSINCLUDE)\windows\vcl at one location, i.e.: Options -> Language -> C++ -> Paths and Directories -> System Include Path -> Windows-32bit -> Classic Compiler and compile again, now it worked at my side. 1 Share this post Link to post
DelphiUdIT 181 Posted October 30 (edited) May be you can have found the right way ... (BDSINCLUDE)\windows\vcl is already included in the standard global path of C++. But I have to modified the "All Configuration" settings in the options .... THAT WORKS ... GREAT. EDIT: If you cannot enter in the QC portal I will report that with your refer (this topic) .... Edited October 30 by DelphiUdIT Share this post Link to post
Michaell 1 Posted October 30 1 hour ago, DelphiUdIT said: . THAT WORKS ... GREAT ... EDIT: If you cannot enter in the QC portal I will report that with your refer (this topic) .... I'm glad you could also clear your problem. Do what you like to do, until now I have not used the above linked portal and I will not start with it. Share this post Link to post