Resolving the EPackageRegistrationException error in BDS 2006 on Windows Vista

Abstract: Resolving the EPackageRegistrationException error in BDS 2006 on Windows Vista


  • Product Name: Borland Developer Studio 2006, Borland C#Builder 2006, Borland Delphi 2006, Turbo C#, Turbo Delphi.NET
  • Product Component: IDE
  • Platform/OS Version: Windows Vista

Description:

This article shows how to resolve the EPackageRegistrationException errors, in the family of the products collectively known as BDS 2006, on Windows Vista.

On starting the product in Windows Vista, it is possible to experience up to 3 EPackageRegistrationException errors due to the absence of a file, depending on which .NET personalities are installed.

These errors are as follows:

Exception EPackageRegistrationException in module coreide100.bpl at xxxxxxxx. Registration procedure, Csreg.IDERegister in package c:\program files\borland\bds\4.0\Bin\cside100.bpl raised exception class EOSError. System Error. Code: 5. Access is denied.

Exception EPackageRegistrationException in module coreide100.bpl at xxxxxxxx. Registration procedure, Pasdotnetreg.IDERegister in package c:\program files\borland\bds\4.0\Bin\delphidotnetide100.bpl raised exception class EOSError. System Error. Code: 5. Access is denied.

Exception EPackageRegistrationException in module coreide100.bpl at xxxxxxxx. Registration procedure, Vbreg.IDERegister in package c:\program files\borland\bds\4.0\Bin\vbide100.bpl raised exception class EOSError. System Error. Code: 5. Access is denied.

Resolution:

BDS 2006�is not officially supported or certified for use on Vista, therefore CodeGear recommends, that customers wait until a certified version of�BDS 2006�becomes available, however, the following steps can be followed if you need to run BDS on Windows Vista.

Copy the file, lc.exe, from the Microsoft .NET 1.1 SDK bin directory (normally at C:\Program Files\Microsoft.NET\SDK\v1.1\Bin) to the BDS 4.0 bin directory (normally at C:\Program Files\Borland\BDS\4.0\bin) and rename the file to lc.dll.