Problem approaching the CMS

Member since: 2011

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

#58595 May 02, 2012 9:39
  • Member since: 2008
    #58721 May 02, 2012 13:06
  • Member since: 2011

    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>

    #58727 May 02, 2012 14:33
  • 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"/>

    #58728 May 02, 2012 16:35
  • Member since: 2011

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

    #58744 May 03, 2012 9:14
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.
Please login to post a reply