I've been importing people into our Umbraco site using a free version of the package and that is all working fine. I tried to import content under a different document type but I keep getting:
Error during load, check the logfile for details Sequence contains more than one matching element
In the log file I have:
2014-09-17 10:36:49,740 [6] INFO umbraco.BusinessLogic.Log - [Thread 10] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Error | User: 0 | NodeId: -1 | Comment: Error during load System.InvalidOperationException: Sequence contains more than one matching element
at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at CMSImport.Controls.ImportSteps.MapProperties.(ImportState )
at CMSImport.Controls.ImportSteps.MapProperties.InitializeStepControl(ImportState state)
at CMSImport.Controls.CMSImport.()
at CMSImport.Controls.CMSImport.(Int32 )
at CMSImport.Controls.CMSImport.OnPreRender(EventArgs e)
I tried restarting the site but no joy. I was able to import the same content under a different document type and that all worked fine, I then try to import it under the original document type and get the same error after the Select Destination and DocumentType screen.
Yes could be, did you modify that doctype recently? Maybe something got cached, bit hard to see from here. If you can send me the doctype I can have a look but don't think it's easy to reproduce :-(
When we are editing existing items of a couple of other document types we are seeing sequence contains no matching element. Unfortunately I suspect some of our doucoment types have gone a bit wonky rather than it being an import issue.
Import failling
Hi,
Firstly thanks for the awesome package.
I've been importing people into our Umbraco site using a free version of the package and that is all working fine. I tried to import content under a different document type but I keep getting:
Error during load, check the logfile for details Sequence contains more than one matching element
In the log file I have:
2014-09-17 10:36:49,740 [6] INFO umbraco.BusinessLogic.Log - [Thread 10] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Error | User: 0 | NodeId: -1 | Comment: Error during load System.InvalidOperationException: Sequence contains more than one matching element
at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at CMSImport.Controls.ImportSteps.MapProperties.(ImportState )
at CMSImport.Controls.ImportSteps.MapProperties.InitializeStepControl(ImportState state)
at CMSImport.Controls.CMSImport.()
at CMSImport.Controls.CMSImport.(Int32 )
at CMSImport.Controls.CMSImport.OnPreRender(EventArgs e)
Any ideas? I'm using Umbraco 7.1.6.
Hi Richard,
Weird never happened to me before. Already tried to restart the website? I think it's a control state thing but not sure.
Thanks,
Richard
Hi,
I tried restarting the site but no joy. I was able to import the same content under a different document type and that all worked fine, I then try to import it under the original document type and get the same error after the Select Destination and DocumentType screen.
I'm running version 2.5.2 locally on IIS express.
I can get to the property matching screen for most document types so it must be something about this particular document type.
Yes could be, did you modify that doctype recently? Maybe something got cached, bit hard to see from here. If you can send me the doctype I can have a look but don't think it's easy to reproduce :-(
When we are editing existing items of a couple of other document types we are seeing sequence contains no matching element. Unfortunately I suspect some of our doucoment types have gone a bit wonky rather than it being an import issue.
Yes I think the same. I'm using the same API calls as Umbraco uses to determine the properties...
is working on a reply...