DelphiFAQ Home Search:

How do I handle an EFilerError exception?


comments2 comments. Current rating: 3 stars (2 votes). Leave comments and/ or rate it.


I get an exception 'EFilerError: A class named TWordDocument already exists. Do you want to attempt to load this package the next time a project is loaded?' when starting up Delphi 7.

I answer 'yes' and so this happens every time I start up Delphi 7.


The EFilerError exception is thrown because a class is trying to be registered twice.

In your particular case, you probably have both the Office 2000 and Office XP Automation Server Wrapper Components installed. You must remove one of these two installed packages to resolve your problem.

You can remove packages by chosing 'Components | Install Packages' in the menu - there scroll down to the Microsoft Office 2000 Sample Automation Server Wrapper Component and Microsoft Office XP Sample Automation Server Wrapper Component.

For your reference, the Office package files are on your hard disk:

\delphi7\bin\dcloffice2k70.bpl for Office 2000
\delphi7\bin\dclofficexp70.bpl for Office XP


2018-09-17, 17:12:34
anonymous from United States  
2018-09-28, 20:26:41
anonymous from United States  
ndykj bfpgt



NEW: Optional: Register   Login
Email address (not necessary):

Rate as
Hide my email when showing my comment.
Please notify me once a day about new comments on this topic.
Please provide a valid email address if you select this option, or post under a registered account.

Show city and country
Show country only
Hide my location
You can mark text as 'quoted' by putting [quote] .. [/quote] around it.
Please type in the code:

Please do not post inappropriate pictures. Inappropriate pictures include pictures of minors and nudity.
The owner of this web site reserves the right to delete such material.

photo Add a picture: