Add a new discount requirement We're sorry, an internal error occurred

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Il y a 12 ans
Error creating Discount Code Coupon

We're sorry, an internal error occurred that prevents the request to complete.

Our supporting staff has been notified with this error and will address this issue shortly. We profusely apologize for the inconvenience and for any damage this may cause. You might want to try the same action at later time.


The Discount info Tab works fine
Its the next tab Requirements


Discount_Code_Name_Spring21

true

15.00

0.00

3/12/2012 12:00:00 AM

4/1/2012 12:00:00 AM


Any ideas. 2.30 nop
Il y a 12 ans
To find out what went wrong you need to turn off the custom errors mode.
1. Open web.config file
2. Find out the following line <customErrors defaultRedirect="errorpage.htm" mode="RemoteOnly">
3. Replace it with <customErrors defaultRedirect="errorpage.htm" mode="Off">
Il y a 12 ans
whoops, last project I forgot to turn off. Thanks
Il y a 12 ans
Server Error in '/Store' Application.
--------------------------------------------------------------------------------

An item with the same key has already been added.
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: System.ArgumentException: An item with the same key has already been added.

Source Error:


Line 6:      if (!Telerik.Web.Mvc.SiteMapManager.SiteMaps.ContainsKey("admin"))
Line 7:      {
Line 8:          Telerik.Web.Mvc.SiteMapManager.SiteMaps.Register<Telerik.Web.Mvc.XmlSiteMap>("admin", sitemap =>
Line 9:              sitemap.LoadFrom("~/Administration/sitemap.xml"));


This error was only when I went to the Promotions>Discounts

When I tried again it loaded with the message

"Failed to load requirement content"   Am I missing something on my part?

Whats Requirement Content?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.