Try our conversational search powered by Generative AI!




I have installed Epi Server 5 dlls on the production server. It has been working correctly on one of the servers. The other server where the application has been installed gives me EpiServer.BaseLibrary.ClassFactoryexception. The error is "FactoryId ContentFactoryChannel is already registered".

Also note that we register the EPiServer.ContentChannelService.dll in the web.config as shown below.



<add type="EPiServer.Implementation.DefaultBaseLibraryFactory, EPiServer.Implementation" id="ContentChannelFactory"> <register type="EPiServer.ContentChannels.ContentChannelAdministration, EPiServer.ContentChannelService" mappedType="EPiServer.ContentChannels.ObjectStoreContentChannelAdministration, EPiServer.ContentChannelService" /> <register type="EPiServer.BaseLibrary.IContentChannelHandler, EPiServer.ContentChannelService" mappedType="EPiServer.ContentChannels.ContentChannelHandler, EPiServer.ContentChannelService" /> </add> </classFactories> </episerver.baseLibrary>

 Since this occurs on Production environment, we are extremly concern & need your immediate assistance.


Amit Bhatia

Dec 12, 2008 9:57

You should have seen another exception before this, which should help with the exact error.

Do an iisreset and open the site to see the error message.


Dec 12, 2008 12:20

This can sometimes be if the wrong version is being referenced.  You may need something like:


 <register type="EPiServer.ContentChannels.ContentChannelAdministration, EPiServer, Version=5.2.375.7, Culture=neutral, PublicKeyToken=8fe83dea738b45b7" mappedType="EPiServer.ContentChannels.ObjectStoreContentChannelAdministration, EPiServer.ContentChannelService"/>



You could also <clear /> out the already registered types

Edited, Feb 10, 2010 12:50
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.