After installing and configuring Commerce Server 2009 December CTP, when we try to open to default website, you will get an error and the error is “Unrecognized element Validator” and the detail error is as follows.

An exception of type ‘System.Configuration.ConfigurationErrorsException’ occurred and was caught.
————————————————————————————————-
12/24/2008 14:56:42
Type : System.Configuration.ConfigurationErrorsException, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Message : Unrecognized element ‘Validator’. (C:\inetpub\wwwroot\wss\VirtualDirectories\1234\ChannelConfiguration.config line 494)
Source : System.Configuration
Help link :
BareMessage : Unrecognized element ‘Validator’.
Filename : C:\inetpub\wwwroot\wss\VirtualDirectories\1234\ChannelConfiguration.config
Line : 494
Errors : System.Configuration.ConfigurationException[]
BareMessage : Unrecognized element ‘Validator’.
Filename : C:\inetpub\wwwroot\wss\VirtualDirectories\1234\ChannelConfiguration.config
Line : 494
Errors : System.Configuration.ConfigurationException[]
Data : System.Collections.ListDictionaryInternal
TargetSite :
Data : System.Collections.ListDictionaryInternal
TargetSite : System.Object EvaluateOne(System.String[], System.Configuration.SectionInput, Boolean, System.Configuration.FactoryRecord, System.Configuration.SectionRecord, System.Object)
Stack Trace :    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, Boolean getLkg, Boolean checkPermission)
   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.HttpConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String configKey)
   at System.Configuration.ConfigurationManager.GetSection(String sectionName)
   at Microsoft.Commerce.Application.Common.Configuration.ServiceConfiguration.get_Current()
   at Microsoft.Commerce.Broker.OperationService.InitializeOperationContext(CommerceRequest request)
   at Microsoft.Commerce.Broker.OperationService.ProcessRequest(CommerceRequest request)

Additional Info:

MachineName : MOJAVENOVCTP
TimeStamp : 12/24/2008 9:26:42 AM
FullName : Microsoft.Commerce.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
AppDomainName : /LM/W3SVC/505501826/ROOT-3-128745843865354320
ThreadIdentity : MOJAVENOVCTP\Administrator
WindowsIdentity : MOJAVENOVCTP\Administrator

New CTP may not able to recognize the keyword Validator. The resolution is to open application web.config and delete below tag.

<Validator type="Microsoft.Commerce.Providers.Validators.DefaultValidator, Microsoft.Commerce.Providers, Version=1.0.0.0, Culture=neutral,PublicKeyToken=31bf3856ad364e35" />

Related Articles


If you like this post, please click on our sponsor advertisement.


Leave a Reply

Follow me on Google+
Add to circles

In 0 people's circles

Sign up for Newsletter