Module enable error

Topics: Customizing Orchard
Dec 13, 2011 at 4:29 PM

Hi,

When i try to enable module this error is raising

Sequence contains more than one matching element

Error is comming from this code  Shellstatecordinator.cs

// merge loaded feature information into ordered list
            var loadedEntries = orderedFeatureDescriptorsAndStates.Select(
                entry => new {
                    Feature = loadedFeatures.SingleOrDefault(f => f.Descriptor == entry.FeatureDescriptor)
                              ?? new Feature {
                                  Descriptor = entry.FeatureDescriptor,
                                  ExportedTypes = Enumerable.Empty<Type>()
                              },
                    entry.FeatureDescriptor,
                    entry.FeatureState,
                });

Why this happen?

Coordinator
Dec 13, 2011 at 8:10 PM

Two features with the same name in two different modules maybe? What modules do you have?