After installing Delphi 2006 I was not able to debug any Delphi.NET application. D2006 just blew up with a debugger assertion. Luckily, after some registry research, Vincent of finalbuilder.com and me found the solution.

Ever seen that?

—————————
bds.exe –
bordbk100.dll
—————————
Debugger Assertion Failure:
“”
in pcntrlsrv.cpp at line 761
Continue execution?

---------------------------OK   ---------------------------

I got that when I tried to debug any .NET application compiled by Delphi
2006. Borland was not able to reproduce that problem, but it turned out to be a
.NET 2.0 problem. I had an earlier .NET 2.0 installed, and after removing .NET
2.0 the error was gone. Then when I installed VisualStudio 2005 (Release
Version), there error was there again. 

Fortunately there was at least one other guy (Vincent of href="http://blogs.finalbuilder.com/vincent/"
target=_Blank>finalbuilder.com) reporting exactly the same problem, so I
knew I’m not seeing a ghost ;-) I started digging in the registry and finally
found that for some reason Delphi’s rmtdbg100.exe tried to load
mscordbi.dll from C:\WINDOWS\MICROSOFT.NET\FRAMEWORK\V2.0.50727, which
could not work, because Delphi 2006 is a .NET 1.1 tool … 

Vincent then figured out how to solve the problem: he searched the
registry for this dll, and found some keys that refer to it. The
following changes made it working for Vincent and me:

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{6FEF44D0-39E7-4C77-BE8E-C9F8CF988630}\InProcServer32

Remove 2.0.xxxxx sub key (the key name will depend on which beta you had
installed.

Remove RunTimeVersion value

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{047A9A40-657E-11D3-8D5B-00104B35E7EF}\InprocServer32

Remove RuntimeVersion value

blog comments powered by Disqus
CodeGear Technology Partner