Join our community!

Get everything you need to start developing EPiServer solutions.
May 2 2012, 9:39

Problem approaching the CMS

Hello!

I'm having a problem with entering the CMS of EPiServer. I can't approach the startpage of the CMS (where the gagdets are shown), but I can approach the Edit and Admin sections.

I'm getting the following error:

 

Duplicate gadgets name found: Overview (Overview), Overview (Overview),

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: EPiServer.Shell.Gadgets.DuplicateGadgetNameException: Duplicate gadgets name found: Overview (Overview), Overview (Overview),

Source Error:

 

This error occurred after upgrading the EPiServer Commerce to the latest version. Does somebody knows how I can delete the duplicate  gadget?

 

Thankx


  • May 2 2012, 14:33

    This is how the <episerver.shell> section looks like :


    I didn't make any custom Gadgets myself.

    <episerver.shell>
    		<publicModules rootPath="~/modules/" autoDiscovery="Minimal">
    			<add name="Commerce" resourcePath="~/">
    				<assemblies>
    					<add assembly="EPiServer.Business.Commerce"/>
    					<add assembly="EPiServer.Business.Commerce.Sample"/>
    					<add assembly="EPiServer.Business.Commerce.UI"/>
    				</assemblies>
    			</add>
    		</publicModules
    		<protectedModules rootPath="~/cms/">
    			<add name="Shell"/>
    			<add name="CMS"/>
    			<add name="EPiServerCommon" resourcePath="~/EPiServerCommon/">
    				<assemblies>
    					<add assembly="EPiServer.Common.Criteria"/>
    				</assemblies>
    			</add>
    			<add name="Common" resourcePath="~/EPiServerCommon/">
    				<assemblies>
    					<add assembly="EPiServer.Common.Gadgets"/>
    				</assemblies>
    			</add>
    			<add name="Commerce" resourcePath="~/modules/Commerce/"/>
    		</protectedModules>
        
    	</episerver.shell>

  • May 2 2012, 16:35

    I would look at the included assemblies in reflector and see which of them has the gadget defined and remove one of them:

    <add assembly="EPiServer.Business.Commerce"/>
    <add assembly="EPiServer.Business.Commerce.Sample"/>
    <add assembly="EPiServer.Business.Commerce.UI"/>

  • May 3 2012, 9:14

    Thanks Toni, removing the line <add assembly="EPiServer.Business.Commerce.Sample"/> was the solution.