Try our conversational search powered by Generative AI!

Problem approaching the CMS

Vote:
 

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
Vote:
 
#58721
May 02, 2012 13:06
Vote:
 

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
Vote:
 

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
Vote:
 

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.
* 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.