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.

0
Completed

Delete Threshold GUI Display Issue

Michael Smith 8 years ago updated by anonymous 8 years ago 2

Visual appearance examples (CSV & SQL Connectors):

When typing a number:

Image 4552

Image 4555

Image 4556


The control can be dragged and the number will reflect accurately:

Image 4557


Recommendation:

  • A different control could be used that more clearly shows a percentage similar to a progress bar (It is not immediately clear how to use the control)
  • The control should correctly to reflect a manually entered number (Alternatively ability to enter a manual number could be removed and a text field could simply update depending on user's interaction with the progress bar; in which case the text field could have a "%" sign at the end making it clearer what interaction with the control equates to)
  • The control should physically align with the text box and be in a similar style if possible

IdB:

Image 4554



Client Browser:

Image 4553


Answer
anonymous 8 years ago

Thanks for the feedback, Michael.

I've added an item to our backlog to address this.

0
Completed

Success / Error Visuals

Michael Smith 8 years ago updated by anonymous 8 years ago 2

When notifications are shown in IdB they are shown with a yellow background regardless of the result.

In this way errors look visually similar to successes.


Success example:

Image 4550


Error example:

Image 4551


Recommend having different icons and background colours to distinguish between success and errors.


Tested with SQL Agent in IdB 5.2

Answer
anonymous 8 years ago

Great suggestion, Michael. I've added this to our backlog.

0
Completed

SQL Server Database Agent > Use Standard Fields > Tool tip

Michael Smith 8 years ago updated by anonymous 8 years ago 1

The tool tip / information bubble for the "Use Standard Fields" radio buttons within the "SQL Server Database Agent" configuration page currently says:

"Whether to generate a connection string with the provided fields, or to simply enter one in full."


As this doesn't immediately correlate to the choices (Yes/No), this may be clearer to the user if updated to:

"Yes to to generate a connection string with the fields provided by the database table, No to enter one manually in full."

Answer
anonymous 8 years ago

Will be addressed by new UI.

0
Answered

CSV Import: No HTTP resource was found that matches the request URI

Michael Smith 8 years ago updated by anonymous 8 years ago 5

Error:

When "Execute Import All" I receive:

No HTTP resource was found that matches the request URI 'http://localhost:59991/IdentityBroker/api/1.0/Connector/ImportAll?id=7355468d-c89d-43eb-a5fd-0829c5b9e40f'. 

Image 4542


Further Connector Details:

Image 4543


IdB details:

Image 4545


Log:

UnifyLog20170906.csv


CSV:

employeephones.csv


Steps to re-create:

1. Install IdB 5.2

2. Create CSV Connector for attached CSV (Set EmployeeID as Key)

3. Attempt full import


Troubleshooting steps so far:

  • Server restart, same error
  • Log review, couldn't find any pertinent entries
  • Port 59991 test (telnet responds on localhost)
  • CSV file permissions (IdB it can do initial read for header information and the service user has local administration rights)
  • Other operation tests:
    • Execute Import Changes results in a similar error
    • Clear Connector does not error
    • Disable does not error
    • Add adapter for connector does not error
    • Copy Connector does not error
Answer
anonymous 8 years ago

Unify.Connect.Web.Shared.dll - it might require some other dll's. Please let me know if it works or not.

0
Declined

Minor ​usability suggestion: Installer next button grayed out until text box loses focus

Michael Smith 8 years ago updated by anonymous 8 years ago 5

When using the installer the "Next" button remains grayed out until all mandatory text box's have both text entered and have triggered a lost focus event.

This can lead to situations like the attached where the user has completed all fields correctly, but cannot click next until they change focus from the text box.

Would recommend that the "Next" button becomes available as soon as all mandatory fields contain valid information.

Tested with: UNIFY Identity Broker Service v5.2.0 RTM.msi on the "Service account" screen.


Steps to recreate:

1. Start installer

2. Complete to "Service account" screen

3. Check "Add log on as a service user rights."

4. Enter "Password:"

5. Enter "Account"

0
Answered

Microsoft.Crm.Sdk.Messages.QueryExpressionToFetchXmlResponse cannot be cast

Carol Wapshere 8 years ago in UNIFYBroker/Microsoft Dynamics CRM updated by anonymous 8 years ago 3

After updating the CRM SDK DLLs one out of six CRM connectors will not import with the error below. The failing connector is for a custom object type, however four of the successful connectors are also importing custom object types.

I have re-produced this in both the Dev and Test environments.

Change detection engine import all items for connector DAMS User started.",Normal
20170831,23:30:23,UNIFY Identity Broker,Change detection engine,Error,"Change detection engine import all items failed.
Change detection engine import all items for connector DAMS User failed with reason [A]Microsoft.Crm.Sdk.Messages.QueryExpressionToFetchXmlResponse cannot be cast to [B]Microsoft.Crm.Sdk.Messages.QueryExpressionToFetchXmlResponse. Type A originates from 'Microsoft.Crm.Sdk.Proxy, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' in the context 'LoadNeither' in a byte array. Type B originates from 'Microsoft.Crm.Sdk.Proxy, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' in the context 'Default' at location 'C:\Program Files\UNIFY Solutions\Identity Broker\Services\Microsoft.Crm.Sdk.Proxy.dll'.. Duration: 00:00:01.3906576
Error details:
System.InvalidCastException: [A]Microsoft.Crm.Sdk.Messages.QueryExpressionToFetchXmlResponse cannot be cast to [B]Microsoft.Crm.Sdk.Messages.QueryExpressionToFetchXmlResponse. Type A originates from 'Microsoft.Crm.Sdk.Proxy, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' in the context 'LoadNeither' in a byte array. Type B originates from 'Microsoft.Crm.Sdk.Proxy, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' in the context 'Default' at location 'C:\Program Files\UNIFY Solutions\Identity Broker\Services\Microsoft.Crm.Sdk.Proxy.dll'.
   at Unify.Product.IdentityBroker.DynamicsCrmAgent.<ExecuteRead>d__41.MoveNext()
   at Unify.Product.IdentityBroker.DynamicsCrmObjectChangeProcessor.<Transform>d__6.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at Unify.Product.IdentityBroker.AuditReadingConnectorDecorator.GetAllEntities(IStoredValueCollection storedValues, CancellationToken cancellationToken)
   at Unify.Product.IdentityBroker.EventNotifierReadingConnectorDecoratorBase`1.GetAllEntities(IStoredValueCollection storedValues, CancellationToken cancellationToken)
   at Unify.Product.IdentityBroker.ChangeDetectionImportAllJob.ImportAllChangeProcess()
   at Unify.Product.IdentityBroker.ChangeDetectionImportAllJob.RunBase()
   at Unify.Framework.DefinedScopeJobAuditTrailJobDecorator.Run()
   at Unify.Product.IdentityBroker.ConnectorJobExecutor.<>c__DisplayClass30_0.<Run>b__0()
   at Unify.Framework.AsynchronousJobExecutor.PerformJobCallback(Object state)",Normal
Answer
anonymous 8 years ago

Hi Carol

I have created a CRM and have been testing this issue, however I have not been able to reproduce. This indicates the cause is an environmental factor common to your test and dev environments.


If you are interested in finding a solution, I would start by deleting the contents of this folder: C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root

Otherwise, as long as no other operations are being impacted, leaving the "Log Requests" option off would be enough to avoid the issue.

0
Declined

Adapter page errored on page reflection. System.Exception: Reflection failed because duplicate distinguished names were discovered.

Adrian Corston 8 years ago updated by anonymous 8 years ago 3

Client is showing this error, about once every 30 seconds or so since 4pm this afternoon.

Can you please investigate and advise how to fix it?

I could find no matches in Voice for the text of this error.


Adapter
Adapter 676c7f08-45f0-495e-93db-73572f79d685 page errored on page reflection. Duration: 00:01:11.7818639. Error: System.Exception: Reflection failed because duplicate distinguished names were discovered. The duplicated values are:
CN=msg.myuser1@corp.client.com,OU=LicensedUsers,DC=IdentityBroker
CN=msg.myuser2@corp.client.com,OU=LicensedUsers,DC=IdentityBroker
   at Unify.Product.IdentityBroker.Adapter.ReflectChanges()
   at Unify.Product.IdentityBroker.AdapterNotifierDecorator.ReflectChanges()
   at Unify.Product.IdentityBroker.ReflectAdapterOnChangeDueJob.<RunBase>b__0(IOperationalAdapter adapter).
Error details:
System.Exception: Reflection failed because duplicate distinguished names were discovered. The duplicated values are:
CN=msg.myuser1@corp.client.com,OU=LicensedUsers,DC=IdentityBroker
CN=msg.myuser2@corp.client.com,OU=LicensedUsers,DC=IdentityBroker
   at Unify.Product.IdentityBroker.Adapter.ReflectChanges()
   at Unify.Product.IdentityBroker.AdapterNotifierDecorator.ReflectChanges()
   at Unify.Product.IdentityBroker.ReflectAdapterOnChangeDueJob.<RunBase>b__0(IOperationalAdapter adapter)

Answer
anonymous 8 years ago

No response.

0
Answered

The maximum nametable character count quota (16384) has been exceeded while reading XML data

Carol Wapshere 8 years ago in UNIFYBroker/Microsoft Dynamics CRM updated by anonymous 8 years ago 14

I am getting the following error when doing a "Test Connection" from IdB to CRM. The URI address resolves without cert errors in a browser. The CRM connector version is 5.2.0.1

Any idea what this means? 

Error An error has occurred: Metadata contains a reference that cannot be resolved: 'https://crm.service.address/DAMS/XRMServices/2011/Organization.svc?wsdl=wsdl0'.  Show Less

at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper)
at System.ServiceModel.Description.MetadataExchangeClient.ResolveNext(ResolveCallState resolveCallState)
at System.ServiceModel.Description.MetadataExchangeClient.ResolveNext(ResolveCallState resolveCallState)
at System.ServiceModel.Description.MetadataExchangeClient.GetMetadata(MetadataRetriever retriever)
at Microsoft.Xrm.Sdk.Client.ServiceMetadataUtility.RetrieveServiceEndpointMetadata(Type contractType, Uri serviceUri, Boolean checkForSecondary)
at Microsoft.Xrm.Sdk.Client.ServiceConfiguration`1..ctor(Uri serviceUri, Boolean checkForSecondary)
at Microsoft.Xrm.Sdk.Client.OrganizationServiceConfiguration..ctor(Uri serviceUri)
at Microsoft.Xrm.Sdk.Client.ServiceConfigurationFactory.CreateConfiguration[TService](Uri serviceUri)
at Unify.Product.IdentityBroker.OrganizationServiceCommunicator.GetOrganizationService(IAddressCommunicatorInformation communicatorInformation)
at Unify.Product.IdentityBroker.OrganizationServiceCommunicator.<>c__DisplayClass1_0.<.ctor>b__0()
at Unify.Product.IdentityBroker.AddressCommunicatorBase`2.get_Service()
at Unify.Product.IdentityBroker.DynamicsCrmAgent.TestConnection()
at Unify.Product.IdentityBroker.AgentEngine.Test(Guid agentId)
at Unify.Product.IdentityBroker.AgentEngineAuditingDecorator.Test(Guid agentId)
at lambda_method(Closure , Object , Object[] )
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClassc.<GetExecutor>b__6(Object instance, Object[] methodParameters)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()

Inner Exception: An error has occurred: There is an error in XML document (1, 1127).
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Web.Services.Description.ServiceDescription.Read(XmlReader reader, Boolean validate)
at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.CreateMetadataSection(XmlReader reader, String sourceUrl)
at System.ServiceModel.Description.MetadataExchangeClient.MetadataRetriever.Retrieve(TimeoutHelper timeoutHelper)

Inner Exception: An error has occurred: The maximum nametable character count quota (16384) has been exceeded while reading XML data. The nametable is a data structure used to store strings encountered during XML processing - long XML documents with non-repeating element names, attribute names and attribute values may trigger this quota. This quota may be increased by changing the MaxNameTableCharCount property on the XmlDictionaryReaderQuotas object used when creating the XML reader. Line 1, position 1127.
at System.Xml.XmlExceptionHelper.ThrowXmlException(XmlDictionaryReader reader, String res, String arg1, String arg2, String arg3)
at System.Xml.XmlExceptionHelper.ThrowMaxNameTableCharCountExceeded(XmlDictionaryReader reader, Int32 maxNameTableCharCount)
at System.Xml.XmlBaseReader.QuotaNameTable.Add(Int32 charCount)
at System.Xml.XmlBaseReader.QuotaNameTable.Add(String value)
at System.Xml.Serialization.XmlSerializationReader.ToXmlQualifiedName(String value, Boolean decodeName)
at System.Web.Services.Description.ServiceDescriptionSerializationReader.Read117_Binding(Boolean isNullable, Boolean checkType)
at System.Web.Services.Description.ServiceDescriptionSerializationReader.Read124_ServiceDescription(Boolean isNullable, Boolean checkType)
at System.Web.Services.Description.ServiceDescriptionSerializationReader.Read125_definitions()
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)

Answer
anonymous 8 years ago

Issue was resolved with packaged CRM SDK replaced with version 8.2 and the above binding redirect configuration. Issues with the binding redirect configuration were caused by Voice lower-casing all XML element and attribute names. Refer to above image for correct casing.

0
Not a bug

IDB service occasionally consumes large amount of memory and CPU and becomes unresponsive

Adrian Corston 8 years ago updated by anonymous 8 years ago 4

The customer's Unify.Service.Connect.exe occasionally (every few months or so) enters a state where it is consuming a large amount of CPU and memory and unresponsive.

In the most recent case, it was 3.2GB in size and using 100% of all 4 vCPUs on a machine with 12GB of RAM available.

IDB version is 4.1.5 RTM

Answer
anonymous 8 years ago

HI Adam,

This issue went away when the customer upgraded their SQL server to use better performance disk, so you can resolve it.

I'm afraid there's no way to investigate any further, so I can't answer the connector question.

Cheers,
A.

0
Answered

Object reference not set to an instance of an object error during 'Test Connection'

Matthew Woolnough 8 years ago updated by anonymous 8 years ago 6

I have a Custom connector which is throwing an error during Agent 'test connection' & when I try to connect in Connector.  Connector is written by Richard Green.  Richard believes that the error in Agent is being surfaced by code in IdB, not the custom connector. 

I have turned the logging as high as possible, but it doesn't reveal enough information to assist in resolving the issue. 

Is it possible to get more detail in this error?


20170830,05:19:07,UNIFY Identity Broker,AgentEngine,Warning,"The test of agent Contacts failed with message System.NullReferenceException: Object reference not set to an instance of an object.
   at Unify.Product.IdentityBroker.DatabaseAgent.TestConnection()
   at Unify.Product.IdentityBroker.AgentEngine.Test(Guid agentId).",Normal



Answer
anonymous 8 years ago

Hi Matt,

Please apply the following patch Unify.IdentityBroker.Connector.Direct.dll and re-attempt the test operation. It should show you the stack-trace of the original error. Note that this won't resolve the issue, only assist with diagnosis, so feel free to remove it once the issue is resolved.