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 attribute ‘language’. Note that attribute names are case-sensitive and the detail error is as follows.

An exception of type ‘System.Configuration.ConfigurationErrorsException’ occurred and was caught.
————————————————————————————————-
12/24/2008 14:48:39
Type : System.Configuration.ConfigurationErrorsException, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Message : Unrecognized attribute ‘language’. Note that attribute names are case-sensitive. (C:\inetpub\wwwroot\wss\VirtualDirectories\1234\ChannelConfiguration.config line 6)
Source : System.Configuration
Help link :
BareMessage : Unrecognized attribute ‘language’. Note that attribute names are case-sensitive.
Filename : C:\inetpub\wwwroot\wss\VirtualDirectories\1234\ChannelConfiguration.config
Line : 6
Errors : System.Configuration.ConfigurationException[]
BareMessage : Unrecognized attribute ‘language’. Note that attribute names are case-sensitive.
Filename : C:\inetpub\wwwroot\wss\VirtualDirectories\1234\ChannelConfiguration.config
Line : 6
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:18:39 AM
FullName : Microsoft.Commerce.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
AppDomainName : /LM/W3SVC/505501826/ROOT-1-128745837792321728
ThreadIdentity : MOJAVENOVCTP\Administrator
WindowsIdentity : MOJAVENOVCTP\Administrator

New CTP may not able to recognize the attribute “language”. The resolution is to open application web.config and remove “language”  attribute from below tag.
  <DefaultChannel sitename="DefaultSite">

Related Articles


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


Leave a Reply

Follow me on Google+
Couldn't get data from google+
Sign up for Newsletter