Identity Broker Forum
Welcome to the community forum for Identity Broker.
Browse the knowledge base, ask questions directly to the product group, or leverage the community to get answers. Leave ideas for new features and vote for the features or bug fixes you want most.
Bad cast in agent logout
The following is logged repeatedly in the IdB LITE demo:
chris21 Agent Logout failed with the following message: Unable to cast object of type 'Unify.Product.IdentityBroker.Chris21ErrorLine' to type 'Unify.Product.IdentityBroker.IChris21CommandLine'. System.InvalidCastException: Unable to cast object of type 'Unify.Product.IdentityBroker.Chris21ErrorLine' to type 'Unify.Product.IdentityBroker.IChris21CommandLine'. at Unify.Product.IdentityBroker.Chris21Agent.CheckLogoutResult(IChris21Record logoutResultRecord, IChris21ConnectorInformation connectorRequest) at Unify.Product.IdentityBroker.Chris21Agent.CheckLogout(String module, String loginToken, IChris21ConnectorInformation connectorRequest)
Also fix up the following message:
Completed polling successfully after [{0}] duration. Starting deletion of chris21 EAI change files.
Full Import: An error occurred while evaluating a task on a worker thread. Error code 40174
In IDaaS the full import of a chris21 connector is receiving an error as logged in the log file as follows. It seems to point to a problem with SQL Error code 40174.
The cause was identified as a result of throttling on Azure DB.
Solution: Increasing the DTU capacity on the DB in Azure.
Connector Processing started for connector chris21 - POS Form (page 15)",Normal 20151023,04:20:58,UNIFY Identity Broker,List,Information,Next chunk is [1000] sub total [19000]. Duration: 00:00:10.2657290,Normal 20151023,04:21:00,UNIFY Identity Broker,Change detection engine,Information,"Started processing changes register items. Started processing changes register items for connector chris21 - POS Form.",Normal 20151023,04:21:01,UNIFY Identity Broker,Change detection engine,Information,"Changes register item processing completed. Changes register item processing on connector chris21 - POS Form completed. Duration: 00:00:01.1719116",Normal 20151023,04:21:07,UNIFY Identity Broker,Connector Processor,Information,"Connector processing failed. Connector Processing page 15 for connector chris21 - POS Form failed with reason The service has encountered an error processing your request. Please try again. Error code 40174. A severe error occurred on the current command. The results, if any, should be discarded.. Duration: 00:00:09.7625532. Error details: System.Data.SqlClient.SqlException (0x80131904): The service has encountered an error processing your request. Please try again. Error code 40174. A severe error occurred on the current command. The results, if any, should be discarded. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows) at System.Data.SqlClient.SqlDataReader.TryReadInternal(Boolean setTimeout, Boolean& more) at System.Data.SqlClient.SqlDataReader.Read() at System.Data.Linq.SqlClient.ObjectReaderCompiler.ObjectReaderBase`1.Read() at System.Data.Linq.SqlClient.ObjectReaderCompiler.ObjectReader`2.MoveNext() at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() at System.Linq.Buffer`1..ctor(IEnumerable`1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) at Unify.Framework.Data.LinqWhereQuery`5.GetEnumerator() at System.Linq.Buffer`1..ctor(IEnumerable`1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) at Unify.Product.IdentityBroker.EntityRepositoryExtensions.ConvertConnectorEntitiesWithRepositoryEntities(IEnumerable`1 connectorEntities, IMultiKey`1 schemaKey, IQueryable`1 sourceEntities, Guid connectorId, IEnumerable`1 originalEntities) at Unify.Product.IdentityBroker.RepositoryChangeDetectionWorkerBase.PerformChangeDetectionOnConnectorEntityPage(IEnumerable`1 connectorEntities, Int32& index, Int32 entitiesProcessedSoFar, IEntityChangesReportGenerator`2 reportGenerator) at Unify.Product.IdentityBroker.RepositoryChangeDetectionWorkerBase.<>c__DisplayClass3.<PerformChangeDetection>b__0(IEnumerable`1 page) at Unify.Framework.Visitor.ThreadsafeVisitorEvaluator`1.ThreadsafeItemEvaluator.Evaluate() ClientConnectionId:abc9d8a7-32a0-402b-9273-7c87fc4223c4 Error Number:40197,State:3,Class:20",Normal 20151023,04:21:08,UNIFY Identity Broker,Connector Processor,Information,"Connector Processing started. Connector Processing started for connector chris21 - POS Form (page 16)",Normal 20151023,04:21:08,UNIFY Identity Broker,List,Information,Next chunk is [1000] sub total [20000]. Duration: 00:00:10.5594588,Normal 20151023,04:21:17,UNIFY Identity Broker,List,Information,Next chunk is [1000] sub total [21000]. Duration: 00:00:08.7187876,Normal 20151023,04:21:23,UNIFY Identity Broker,Change detection engine,Error,"Change detection engine import all items failed. Change detection engine import all items for connector chris21 - POS Form failed with reason An error occurred while evaluating a task on a worker thread. See the inner exception details for information.. Duration: 00:06:12.2925941 Error details: Unify.Framework.EvaluatorVisitorException: An error occurred while evaluating a task on a worker thread. See the inner exception details for information. ---> System.Data.SqlClient.SqlException: The service has encountered an error processing your request. Please try again. Error code 40174. A severe error occurred on the current command. The results, if any, should be discarded. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows) at System.Data.SqlClient.SqlDataReader.TryReadInternal(Boolean setTimeout, Boolean& more) at System.Data.SqlClient.SqlDataReader.Read() at System.Data.Linq.SqlClient.ObjectReaderCompiler.ObjectReaderBase`1.Read() at System.Data.Linq.SqlClient.ObjectReaderCompiler.ObjectReader`2.MoveNext() at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() at System.Linq.Buffer`1..ctor(IEnumerable`1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) at Unify.Framework.Data.LinqWhereQuery`5.GetEnumerator() at System.Linq.Buffer`1..ctor(IEnumerable`1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) at Unify.Product.IdentityBroker.EntityRepositoryExtensions.ConvertConnectorEntitiesWithRepositoryEntities(IEnumerable`1 connectorEntities, IMultiKey`1 schemaKey, IQueryable`1 sourceEntities, Guid connectorId, IEnumerable`1 originalEntities) at Unify.Product.IdentityBroker.RepositoryChangeDetectionWorkerBase.PerformChangeDetectionOnConnectorEntityPage(IEnumerable`1 connectorEntities, Int32& index, Int32 entitiesProcessedSoFar, IEntityChangesReportGenerator`2 reportGenerator) at Unify.Product.IdentityBroker.RepositoryChangeDetectionWorkerBase.<>c__DisplayClass3.<PerformChangeDetection>b__0(IEnumerable`1 page) at Unify.Framework.Visitor.ThreadsafeVisitorEvaluator`1.ThreadsafeItemEvaluator.Evaluate() --- End of inner exception stack trace --- at Unify.Framework.Visitor.ThreadsafeVisitorEvaluator`1.CheckForException() at Unify.Framework.Visitor.ThreadsafeVisitorEvaluator`1.WaitForAvailableThread() at Unify.Framework.Visitor.ThreadsafeVisitorEvaluator`1.Visit() at Unify.Product.IdentityBroker.RepositoryChangeDetectionWorkerBase.PerformChangeDetection(IEnumerable`1 connectorEntities) at Unify.Product.IdentityBroker.ChangeDetectionImportAllJob.ImportAllChangeProcess() at Unify.Product.IdentityBroker.ChangeDetectionImportAllJob.RunBase() at Unify.Framework.DefinedScopeJobAuditTrailJobDecorator.Run() at Unify.Product.IdentityBroker.ConnectorJobExecutor.<>c__DisplayClass29.<Run>b__27() at Unify.Framework.AsynchronousJobExecutor.PerformJobCallback(Object state)",Normal 20151023,04:21:34,UNIFY Identity Broker,Connector Processor,Information,"Connector processing success. 17625 entites in cumulative total. Current processing of page 16 for connector chris21 - POS Form processed 1175 entities, finding 1175 differences. Duration: 00:00:26.1862477. ",Normal 20151023,04:21:35,UNIFY Identity Broker,Change detection engine,Information,"Started processing changes register items. Started processing changes register items for connector chris21 - POS Form.",Normal 20151023,04:21:37,UNIFY Identity Broker,Change detection engine,Information,"Changes register item processing completed. Changes register item processing on connector chris21 - POS Form completed. Duration: 00:00:02.0317620",Normal
Change Identity Broker Chris21 logon mechanism
Identlty Broker connects to Chris21 via the Chris21 Internet Option asp method.
It logs on to the Chris21 API with a Chris21 user account named IBROKER.
We would like to change the account Identity Broker uses to be an Active Directory Account as our instance of Chris21 has an account expiry for all Chris21 local accounts of 1 month. (this is a global setting in Chris21).
Our Chris21 administrator has suggested that if Identity Broker can use and AD account, the account expiry can be controlled by AD - so we can set it to not expire.
Please provide a quote on this work before proceeding if it is not covered by support hours..
Chris 21 Installer won't install to the 64 bit Program Files directory, files get placed in Program File x86 instead
Reqs: A 64 bit machine set up with the 64bit version of Identity Broker (IB is optional).
1) Attempting to install the Chris 21 x86 Connector to the 64 bit program files directory. During installation replace the default install path of "C:\Program Files (x86)\UNIFY Solutions\" with "C:\Program Files\UNIFY Solutions\"
2) continue installation
Expected outcome:
Files are installed to the specified "C:\Program Files\UNIFY Solutions\" directory
Actual:
Files end up in a child folder of "C:\Program Files (x86)\UNIFY Solutions\"
Additional notes:
- I have verified this in two VM's (Both WinSrv2K8 64bit), one with Identity Broke installed, one without any additional Unify Solutions software.
- Changing the path to "C:\SomeRandomDirectory\UNIFY Solutions\" will result in the files being in SomeRandomRirectory. I can only repro this with the Program Files folder so far.
- As a work around I copied and pasted the files from "C:\Program Files (x86)\UNIFY Solutions\" directory to the "C:\Program Files\UNIFY Solutions\" one and there didn't seem to be any issues.
chris21 accounts left open at AHG
Hi Doug,
Hoping you can direct this to the right person.
One of the administrators of Chris21 pointed something out to me yesterday. It seems that the Unify application is connecting to Chris21 and leaving behind open logins.
It appears to be the scheduled process that picks up any changes in Chris21: one login per Connector every 2 hours. So every 2 hours there are another 6 open logins created.
I'm not sure what the potential implications are - I'm trying to find out what I can from this end - but could I please ask you to check with your people as to why these logins are left open? As you can imagine the number of open logins builds up very rapidly and need to be cleared manually.
Regards
Deanna March
Senior Applications Developer
Corporate Office
Automotive Holdings Group Limited
21 Old Aberdeen Place, West Perth WA 6005
P: +61 8 9422 7758
F: +61 8 9422 7686
M: 0457 524 306
E: dmarch@ahg.com.au
W: www.ahg.com.au
AdapterEngine.extensibility.config.xml
ConnectorEngine.extensibility.config.xml
LoggedOnScreen.png
UnifyLog20110202.csv
Customer support service by UserEcho