web config error

Nov 14, 2010 at 2:46 AM

Hi Joe,

I have followed the documation and changed the config file. The application seems to be working as the catalog.aspx page is displyed properly.

however when I try to navigate to other pages I got this error:

 

Server Error in '/store' Application.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Unrecognized element 'ErrorHandlingSettings'.

Source Error:

Line 606:        </Payment>
Line 607:        <SiteSettings>
Line 608:            <ErrorHandlingSettings MailServer="smtp.mysite.com" EnableErrorLogEmail="true" ErrorLogEmail="test@mysite.com" ErrorLogEmailFrom="test@mysite.com"></ErrorHandlingSettings>
Line 609:            <ShoppingCartSettings RecentProducts="-365" SiteName="BalloonShop" CartPersistDays="10"></ShoppingCartSettings>
Line 610:            <ProductSettings


Source File: C:\Program Files\telerik\Sitefinity3.7\WebSites\store\web.config    Line: 608


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

Can you please tell me how to fix this?

KInd reagards,

Tony

<!-- [ConfigurationErrorsException]: Unrecognized element 'ErrorHandlingSettings'. (C:\Program Files\telerik\Sitefinity3.7\WebSites\store\web.config line 608) at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult) at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject) at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) at System.Configuration.BaseConfigurationRecord.GetSection(String configKey) at System.Web.HttpContext.GetSection(String sectionName) at System.Web.Configuration.HttpConfigurationSystem.GetSection(String sectionName) at System.Web.Configuration.WebConfigurationManager.GetSection(String sectionName) at CatalogAdmin.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.linqcontrols_admin_catalogadmin_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) -->