Connector failing when DefaultSiteID attribute is included in user connector
20130402,06:47:39,Get all entities from connector failed.,Connector,Warning,"Get all entities from connector Learnology Life User Connector failed with reason Method 'Unify.Framework.GuidValue GetValueGuidValue(Unify.Framework.GroupedNameValueCollectionKey)' is not defined for type 'Unify.Repository.Entity'. Duration: 00:00:10.8088785
Error details:
System.ArgumentException: Method 'Unify.Framework.GuidValue GetValueGuidValue(Unify.Framework.GroupedNameValueCollectionKey)' is not defined for type 'Unify.Repository.Entity'
at System.Linq.Expressions.Expression.ValidateCallInstanceType(Type instanceType, MethodInfo method)
at System.Linq.Expressions.Expression.ValidateCallArgs(Expression instance, MethodInfo method, ReadOnlyCollection`1& arguments)
at System.Linq.Expressions.Expression.Call(Expression instance, MethodInfo method, IEnumerable`1 arguments)
at Unify.Framework.LinqContextConversionExpressionVisitorBase`5.VisitMethodCall(MethodCallExpression m)
at Unify.Repository.EntityExpressionQueryVisitor`3.VisitMethodCall(MethodCallExpression m)
at Unify.Framework.ExpressionVisitorBase`11.Visit(Expression exp)
at Unify.Framework.ExpressionExpressionVisitorBase.<VisitExpressionList>b__1(Expression originalExpression)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToListTSource(IEnumerable`1 source)
at Unify.Framework.ExpressionExpressionVisitorBase.VisitExpressionList(ReadOnlyCollection`1 original)
at Unify.Framework.LinqContextConversionExpressionVisitorBase`5.VisitMethodCall(MethodCallExpression m)
at Unify.Repository.EntityExpressionQueryVisitor`3.VisitMethodCall(MethodCallExpression m)
at Unify.Framework.ExpressionVisitorBase`11.Visit(Expression exp)
at Unify.Framework.LinqContextConversionExpressionVisitorBase`5.VisitLambda(LambdaExpression lambda)
at Unify.Framework.ExpressionVisitorBase`11.Visit(Expression exp)
at Unify.Framework.ExpressionExpressionVisitorBase.VisitUnary(UnaryExpression u)
at Unify.Framework.ExpressionVisitorBase`11.Visit(Expression exp)
at Unify.Framework.ExpressionExpressionVisitorBase.<VisitExpressionList>b__1(Expression originalExpression)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToListTSource(IEnumerable`1 source)
at Unify.Framework.ExpressionExpressionVisitorBase.VisitExpressionList(ReadOnlyCollection`1 original)
at Unify.Framework.LinqContextConversionExpressionVisitorBase`5.VisitMethodCall(MethodCallExpression m)
at Unify.Repository.EntityExpressionQueryVisitor`3.VisitMethodCall(MethodCallExpression m)
at Unify.Framework.ExpressionVisitorBase`11.Visit(Expression exp)
at Unify.Framework.LinqContextConversionExpressionVisitorBase`5.ConvertExpression(Expression partitionExpression)
at Unify.Framework.LinqQueryConversionProvider`5.GetOrderedQuery(Expression businessExpression, IQueryable`1 sourceQueryable, TContext sourceContext)
at Unify.Framework.LinqWhereQuery`5.EvaluateQuery(TContext context)
at Unify.Framework.LinqWhereQuery`5.GetEnumerator()
at System.Linq.Enumerable.ToDictionaryTSource,TKey,TElement(IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
at System.Linq.Enumerable.ToDictionaryTSource,TKey(IEnumerable`1 source, Func`2 keySelector)
at Unify.Connectors.LifeUserConnector.<GetAllEntities>d__12.MoveNext()
at Unify.Framework.EnumerableExtensions.<ActionOnFirst>d__1c`1.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at Unify.Framework.ActionOnExceptionEnumerator`1.MoveNext()
at Unify.Framework.EnumerableExtensions.<ActionOnLast>d__16`1.MoveNext()
at Unify.Framework.EnumerableExtensions.<ProduceAutoPages>d__9`1.MoveNext()
at Unify.Framework.Visitor.ThreadsafeVisitorEvaluator`1.Visit()
at Unify.Framework.Visitor.VisitEvaluateOnThreadPoolT(IEnumerable`1 visitCollection, Action`2 visitor, Int32 maxThreads)
at Unify.Framework.RepositoryChangeDetectionWorkerBase.PerformChangeDetection(IEnumerable`1 connectorEntities)
at Unify.Framework.ChangeDetectionImportAllJob.ImportAllChangeProcess()
at Unify.Framework.ChangeDetectionImportAllJob.RunBase()
at Unify.Framework.MutexJobDecorator.Run()
at Unify.Framework.DefinedScopeJobAuditTrailJobDecorator.Run()
at Unify.Framework.AsynchronousJobExecutor.PerformJobCallback(Object state)",Normal
Unify.Repository.Entity.Sql.dll
Customer support service by UserEcho
I am resolving as I have uploaded v3.0.0.2 to hopefully fix this issue. Please reopen if the same error persists.
New Error:
cleared connector as discussed and reimported. Still broken:
new error:
Attached patch that comes from v4.0 (
IDB-137).Still an issue:
removed Alternate Streams to "unblock" using streams. Unify.Repository.Entity.Sql.dll did not have any restrictions. Other files has some streams, removed and "Sequence contains no elements" error no longer being seen.
C:\Users\Matthew.Woolnough\Applications\SysInternals>streams.exe -d -s "c:\Program Files\UNIFY Solutions\Services\*.*" Streams v1.56 - Enumerate alternate NTFS data streams Copyright (C) 1999-2007 Mark Russinovich Sysinternals - www.sysinternals.com c:\Program Files\UNIFY Solutions\Services\Unify.Communicator.CSV.dll: Deleted :Zone.Identifier:$DATA c:\Program Files\UNIFY Solutions\Services\Unify.Communicator.CSV.XML: Deleted :Zone.Identifier:$DATA c:\Program Files\UNIFY Solutions\Services\Unify.Connector.CSV.dll: Deleted :Zone.Identifier:$DATA c:\Program Files\UNIFY Solutions\Services\Unify.Connectors.EMinerva.Communicator .dll: Deleted :Zone.Identifier:$DATA c:\Program Files\UNIFY Solutions\Services\Unify.Connectors.EMinerva.Communicator .XML: Deleted :Zone.Identifier:$DATA c:\Program Files\UNIFY Solutions\Services\Unify.Connectors.EMinerva.Communicator Interfaces.dll: Deleted :Zone.Identifier:$DATA c:\Program Files\UNIFY Solutions\Services\Unify.Connectors.EMinerva.Communicator Interfaces.XML: Deleted :Zone.Identifier:$DATA c:\Program Files\UNIFY Solutions\Services\Unify.Connectors.EMinerva.Connector.dl l: Deleted :Zone.Identifier:$DATA c:\Program Files\UNIFY Solutions\Services\Unify.Connectors.EMinerva.Connector.XM L: Deleted :Zone.Identifier:$DATA c:\Program Files\UNIFY Solutions\Services\Unify.Connectors.EMinerva.ConnectorInt erfaces.dll: Deleted :Zone.Identifier:$DATA c:\Program Files\UNIFY Solutions\Services\Unify.Connectors.EMinerva.ConnectorInt erfaces.XML: Deleted :Zone.Identifier:$DATA c:\Program Files\UNIFY Solutions\Services\Unify.Connectors.Talent2HRConnector.XM L: Deleted :Zone.Identifier:$DATA c:\Program Files\UNIFY Solutions\Services\Unify.Framework.AdapterEntityTransform ation.dll: Deleted :Zone.Identifier:$DATA c:\Program Files\UNIFY Solutions\Services\Unify.Framework.ChangeDetection.dll: Deleted :Zone.Identifier:$DATA c:\Program Files\UNIFY Solutions\Services\Unify.Framework.DatabaseWorker.Interfa ces.XML: Deleted :Zone.Identifier:$DATA c:\Program Files\UNIFY Solutions\Services\Unify.Framework.DatabaseWorker.XML: Deleted :Zone.Identifier:$DATA c:\Program Files\UNIFY Solutions\Services\Unify.Framework.Transaction.dll: Deleted :Zone.Identifier:$DATA c:\Program Files\UNIFY Solutions\Services\Unify.Framework.Worker.Interfaces.XML: Deleted :Zone.Identifier:$DATA c:\Program Files\UNIFY Solutions\Services\Unify.Framework.Worker.XML: Deleted :Zone.Identifier:$DATA c:\Program Files\UNIFY Solutions\Services\Unify.Service.Connect.Debug.config: Deleted :Zone.Identifier:$DATA c:\Program Files\UNIFY Solutions\Services\Unify.Service.Connect.Debug.exe: Deleted :Zone.Identifier:$DATA c:\Program Files\UNIFY Solutions\Services\Unify.Service.Connect.exe: Deleted :Zone.Identifier:$DATA c:\Program Files\UNIFY Solutions\Services\Unify.Service.Connect.exe.Logging.conf ig: Deleted :Zone.Identifier:$DATA c:\Program Files\UNIFY Solutions\Services\Unify.Service.Connect32.exe: Deleted :Zone.Identifier:$DATA c:\Program Files\UNIFY Solutions\Services\Unify.Service.Connect32.exe.config: Deleted :Zone.Identifier:$DATA
Resolved, as discussed this morning this is no longer occurring.
This unclosed issue has no priority. Please specify a priority.