Issue when I want to delete an resource object
Hi, I created a resource Object with the following informations : System name AerService DisplayName Service The creation step runs well, but when I want to delete this resource, I have the following error in the event viewer: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> - <System> <Provider Name="Microsoft.ResourceManagement" /> <EventID Qualifiers="0">3</EventID> <Level>2</Level> <Task>0</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2011-07-01T21:41:50.000000000Z" /> <EventRecordID>2</EventRecordID> <Channel>Forefront Identity Manager</Channel> <Computer>VM-FIM-PORT-001.plusdemo.corp</Computer> <Security /> </System> - <EventData> <Data>Requestor: urn:uuid:7fb2b853-24f0-4498-9534-4e10589723c4 Microsoft.ResourceManagement: 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 547, Level 16, State 1, Procedure PostProcessObjectTypeDescriptionUpdate, Line 66, Message: The DELETE statement conflicted with the REFERENCE constraint "FK_BindingInternal_ObjectTypeInternal". The conflict occurred in database "FIMService", table "fim.BindingInternal", column 'ObjectTypeKey'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.HasMoreRows() at System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout) at System.Data.SqlClient.SqlDataReader.NextResult() at Microsoft.ResourceManagement.Data.DataAccess.ProcessRequest(RequestType request) --- End of inner exception stack trace --- at Microsoft.ResourceManagement.Utilities.ExceptionManager.ThrowException(Exception exception) at Microsoft.ResourceManagement.Data.Exception.DataAccessExceptionManager.ThrowException(SqlException innerException) at Microsoft.ResourceManagement.Data.DataAccess.ProcessRequest(RequestType request) at Microsoft.ResourceManagement.ActionProcessor.SchemaActionProcessor.ProcessInputRequest(RequestType request) at Microsoft.ResourceManagement.ActionProcessor.ActionDispatcher.ProcessInputRequest(RequestType request) at Microsoft.ResourceManagement.WebServices.RequestDispatcher.ExecuteAction(RequestType request) at Microsoft.ResourceManagement.WebServices.RequestDispatcher.ExecuteAction[ResponseBodyType](RequestType request) at Microsoft.ResourceManagement.WebServices.RequestDispatcher.DispatchRequest[ResponseBodyType](RequestType request, Guid requestIdentifier, Object redispatchSingleInstanceKey, Boolean isRedispatch) at Microsoft.ResourceManagement.WebServices.RequestDispatcher.DispatchRequest[ResponseBodyType](RequestType request) at Microsoft.ResourceManagement.WebServices.RequestDispatcher.DispatchRequest(RequestType request) at Microsoft.ResourceManagement.WebServices.ResourceManagementService.Delete(Message request)</Data> </EventData> </Event> and in the search request of FIM Portal, I have Request Failed. I don't understand why. Could you help me. Thanks in advance Jean-Michel
July 2nd, 2011 10:45am

Before you delete the resource, you must delete references to it. Usually I get this message when there are still bindings. You can choose your resource with a checkbox that in the left, then choose Bindigs and delete those.
Free Windows Admin Tool Kit Click here and download it now
July 2nd, 2011 2:34pm

In addition to bindings if there's an MPR or Set that references this resource that will cause this too. Delete or modify the MPRs and Sets so they don't reference the resource then delete the bindings then the resource. Note that if you've instantiated the resource then you will not be able to delete it even after following our advice.
July 2nd, 2011 3:06pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics