Hi,
We have an agent implemented in ECMA 2.3. The agent has 9 Object Types. Each object type has a large number of attributes (the total number of attributes is 130).
We've had no problems with the agent until now when we added some more Object Types (and more attributes). The agent imports fine in the FIM Sync Engine, but we get the errors listed below when FIM tries to update the ma-data config object for the agent in the FIM Service/Portal.
Unfortunately I think we've hit some limit on the size of the agent configuration in the ma-data object (one attribute value becomes too large "String or binary data would be truncated"). The attributes in the ma-data resource should probably all be unindexed strings, but they are not :(
I guess we're the first to use this many attributes in an agent. Has anyone else run into this aswell?
Event Log:
A update on the configuration of a MA or MV failed to replicate to a target connector directory that is capable of storing MA/MV configurations. As a result, the MA/MV configuration data in this connector directory is not up to date. Please
correct the condition that causes the error, and triggers a resync by updating the password information of the target MA.
Error 1:
Additional information:
Error Code: 0x80230020
Error Message: (Management agent encountered an error exporting to the connected directory.)
Operation: Create MA
Name of the MA to replicate: LargeAgentName
Guid of the MA to replicate: {17380C64-973F-499D-9DA3-94EAA59BD089}
Name of the target MA: FIMMA
Guid of the target MA: {BE7E9C7E-AB08-44FF-974C-02A79CE61833}
Error 2:
Microsoft.ResourceManagement.Service: Microsoft.ResourceManagement.WebServices.Exceptions.UnwillingToPerformException: Other ---> System.Data.SqlClient.SqlException: Reraised Error 50000, Level 16, State 1, Procedure ReRaiseException, Line 37, Message: Reraised Error 50000, Level 16, State 1, Procedure ReRaiseException, Line 37, Message: Reraised Error 8152, Level 16, State 10, Procedure GenerateRequestOutput, Line 505, Message: String or binary data would be truncated.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.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.ResourceManagement.Data.DataAccess.DoRequestCreation(RequestType request, Guid cause, Guid requestMarker, Boolean doEvaluation, Int16 serviceId, Int16 servicePartitionId)
--- End of inner exception stack trace ---
at Microsoft.ResourceManagement.WebServices.RequestDispatcher.CreateRequest(UniqueIdentifier requestor, UniqueIdentifier targetIdentifier, OperationType operation, String businessJustification, List`1 requestParameters, CultureInfo locale, Boolean isChildRequest, Guid cause, Boolean doEvaluation, Nullable`1 serviceId, Nullable`1 servicePartitionId, UniqueId messageIdentifier, UniqueIdentifier requestContextIdentifier, Boolean maintenanceMode)
at MIIS.ManagementAgent.Configuration.SynchronizationConfigurationManager.CreateSynchronizationConfigurationObject(SynchronizationConfigurationObjectType objectType, SyncConfigObject synchronizationConfigurationObject)
at MIIS.ManagementAgent.Configuration.SynchronizationConfigurationManager.ProcessDescription(SynchronizationConfigurationObjectType objectType, String managementAgentDescription, Boolean update)
at MIIS.ManagementAgent.RavenMA.DoUpdateSynchronizationConfigurationObject(String identifier, MASyncConfigOp operation, String description)