none
FIM 2010 R2 Error while trying to reset the password RRS feed

  • Question

  • Hi guys!

    I have a problem with resetting passwords in the portal I get the error message: "Error while trying to reset the password"

    In the administration portal "Search Request" i can see Update to Person: 'XXXXX' Request "PostProcessingError"

    The request use:

    Ation Workflow Instance: "Password Reset Action Workflow" and the workflow Status was "Terminated" the requestor is Anonymous User and Target was the user attempting to reset your password

    Authentication Workflow Instance: "Password Reset AuthN OTP WorkFlow" and the workflow Status was "Completed" the requestor is Anonymous User and Target was the user attempting to reset your password

    MPR: {Name MPR OTP}, Type "Request", Requestors "Anonymous Users", Operation "Modify a single-valued attribute", Permisssions "Grants Permission", Target Resource Definition Before Request "Password Set Users OTP", Target Resource Definition After Request "Password Set Users OTP", Resource Attributes "One-Time Password Email Address; Reset Password", WorkFlows -> Authentication WF "Password Reset AuthN OTP WorkFlow", Action WF "Password Reset Action Workflow"

    Event Log:

    <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="2014-07-02T07:27:41.000000000Z" /> 
      <EventRecordID>35714</EventRecordID> 
      <Channel>Forefront Identity Manager</Channel> 
      <Computer>FNR11104.fnrlab.lab</Computer> 
      <Security /> 
      </System>
    - <EventData>
      <Data>Microsoft.ResourceManagement.Service: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.ResourceManagement.Workflow.Hosting.HostActivator.ActivateHost(ResourceManagementWorkflowDefinition workflowDefinition, Boolean suspendWorkflowStartupAndTimerOperations) at Microsoft.ResourceManagement.Workflow.Hosting.WorkflowManager.StartWorkflowInstance(Guid workflowInstanceIdentifier, KeyValuePair`2[] additionalParameters)</Data> 
      </EventData>
      </Event>
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    - <System>
      <Provider Name="Microsoft.CredentialManagement.ResetPortal" /> 
      <EventID Qualifiers="0">3</EventID> 
      <Level>2</Level> 
      <Task>0</Task> 
      <Keywords>0x80000000000000</Keywords> 
      <TimeCreated SystemTime="2014-07-02T07:28:41.000000000Z" /> 
      <EventRecordID>35715</EventRecordID> 
      <Channel>Forefront Identity Manager</Channel> 
      <Computer>FNR11104.fnrlab.lab</Computer> 
      <Security /> 
      </System>
    - <EventData>
      <Data>There was a timeout error while resetting the user's password. Details: System.TimeoutException: The request channel timed out while waiting for a reply after 00:01:00. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout. ---> System.TimeoutException: The HTTP request to 'http://fimservice.fnrlab.lab:5725/ResourceManagementService/Alternate' has exceeded the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout. ---> System.Net.WebException: The operation has timed out at System.Net.HttpWebRequest.GetResponse() at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) --- End of inner exception stack trace --- at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason) at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) --- End of inner exception stack trace --- Server stack trace: at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Channels.ContextRequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Microsoft.ResourceManagement.WebServices.WSTransfer.IResource.Put(Message request) at Microsoft.ResourceManagement.WebServices.ResourceClient.Put(Message request) at Microsoft.ResourceManagement.WebServices.ResourceClient.Put(UniqueIdentifier resourceIdentifier, CultureInfo locale, Put putBody, ClientOptionsHelper clientOptionsHelper) at Microsoft.ResourceManagement.WebServices.Client.UninitializedResource.PerformUpdate() at Microsoft.ResourceManagement.WebServices.Client.UninitializedResource.ResumableUpdate() at Microsoft.ResourceManagement.WebServices.Client.UninitializedResource.Resume(ContextualSecurityToken securityToken) at Microsoft.IdentityManagement.CredentialManagement.Portal.Common.ResetProxy.ResetPassword(SecureString newPassword, ChallengeContext& gateChallengeResponse) Web Portal: FIM Password Reset Portal Session Id: zzhrra55npkv2p3dkjo4o245 IP Address: 10.128.90.79</Data> 
      </EventData>
      </Event>
    - <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="2014-07-02T07:28:41.000000000Z" />
      <EventRecordID>35716</EventRecordID>
      <Channel>Forefront Identity Manager</Channel>
      <Computer>FNR11104.fnrlab.lab</Computer>
      <Security />
      </System>
    - <EventData>
      <Data>Unable to retrieve a workflow instance with the specified identifier 'f27789cf-562f-4a12-968a-5b036fc95bb5'.</Data>
      </EventData>
     </Event>
    - <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="2014-07-02T07:28:41.000000000Z" />
      <EventRecordID>35717</EventRecordID>
      <Channel>Forefront Identity Manager</Channel>
      <Computer>FNR11104.fnrlab.lab</Computer>
      <Security />
      </System>
    - <EventData>
      <Data>Requestor: urn:uuid:b0b36673-d43b-4cfa-a7a2-aff14fd90522 Correlation Identifier: dba0347b-5da8-447a-a338-9b9acf8b3b1a Microsoft.ResourceManagement.WebServices.Exceptions.UnwillingToPerformException: Other ---> Unable to retrieve a workflow instance with the specified identifier 'f27789cf-562f-4a12-968a-5b036fc95bb5'. --- End of inner exception stack trace ---</Data>
      </EventData>
     </Event>

    Actualy I cant reset passwords, can anyone help me?

    Thanks!
    Wednesday, July 2, 2014 8:54 AM

Answers

  • The problem is solved!

    Is a bug related with asembbly, the Workflow "Password Reset Action Workflow" was using assembly not installed in machine, We changed his xoml to point to the correct.

    Original

    xmlns:ns1="clr-namespace:System.Workflow.Activities;Assembly=System.WorkflowServices, Version=4.0.0.0

    <ns0:SequentialWorkflow ActorId="00000000-0000-0000-0000-000000000000" RequestId="00000000-0000-0000-0000-000000000000" x:Name="SequentialWorkflow" TargetId="00000000-0000-0000-0000-000000000000" WorkflowDefinitionId="00000000-0000-0000-0000-000000000000" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/workflow" xmlns:ns1="clr-namespace:System.Workflow.Activities;Assembly=System.WorkflowServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ns0="clr-namespace:Microsoft.ResourceManagement.Workflow.Activities;Assembly=Microsoft.ResourceManagement, Version=4.1.3508.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
    	<ns0:PWResetActivity MetadataFaultMessage="{x:Null}" Timeout="5" x:Name="authenticationGateActivity1" ReferenceProperties="{x:Null}" CreateFaultMessage="{x:Null}" MetadataResponseMessage="{x:Null}" CreateResponseMessage="{x:Null}" CreateRequestMessage="{x:Null}" DocumentType="{x:Null}" ResourceAddress="{x:Null}" MetadataRequestMessage="{x:Null}">
    		<ns1:ReceiveActivity.WorkflowServiceAttributes>
    			<ns1:WorkflowServiceAttributes ConfigurationName="Microsoft.ResourceManagement.Workflow.Activities.PWResetActivity" Name="PWResetActivity" />
    		</ns1:ReceiveActivity.WorkflowServiceAttributes>
    	</ns0:PWResetActivity>
    </ns0:SequentialWorkflow>

    Changed

    xmlns:ns1="clr-namespace:System.Workflow.Activities;Assembly=System.WorkflowServices, Version=3.5.0.0

    <ns0:SequentialWorkflow ActorId="00000000-0000-0000-0000-000000000000" RequestId="00000000-0000-0000-0000-000000000000" x:Name="SequentialWorkflow" TargetId="00000000-0000-0000-0000-000000000000" WorkflowDefinitionId="00000000-0000-0000-0000-000000000000" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/workflow" xmlns:ns1="clr-namespace:System.Workflow.Activities;Assembly=System.WorkflowServices, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ns0="clr-namespace:Microsoft.ResourceManagement.Workflow.Activities;Assembly=Microsoft.ResourceManagement, Version=4.1.3508.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
    	<ns0:PWResetActivity MetadataFaultMessage="{x:Null}" Timeout="5" x:Name="authenticationGateActivity1" ReferenceProperties="{x:Null}" CreateFaultMessage="{x:Null}" MetadataResponseMessage="{x:Null}" CreateResponseMessage="{x:Null}" CreateRequestMessage="{x:Null}" DocumentType="{x:Null}" ResourceAddress="{x:Null}" MetadataRequestMessage="{x:Null}">
    		<ns1:ReceiveActivity.WorkflowServiceAttributes>
    			<ns1:WorkflowServiceAttributes ConfigurationName="Microsoft.ResourceManagement.Workflow.Activities.PWResetActivity" Name="PWResetActivity" />
    		</ns1:ReceiveActivity.WorkflowServiceAttributes>
    	</ns0:PWResetActivity>
    </ns0:SequentialWorkflow>

    Best Regards EveryOne!


    • Edited by Jorge Martín Wednesday, July 2, 2014 4:30 PM Clarify
    • Marked as answer by Jorge Martín Wednesday, July 2, 2014 4:31 PM
    Wednesday, July 2, 2014 4:30 PM

All replies

  • The problem is solved!

    Is a bug related with asembbly, the Workflow "Password Reset Action Workflow" was using assembly not installed in machine, We changed his xoml to point to the correct.

    Original

    xmlns:ns1="clr-namespace:System.Workflow.Activities;Assembly=System.WorkflowServices, Version=4.0.0.0

    <ns0:SequentialWorkflow ActorId="00000000-0000-0000-0000-000000000000" RequestId="00000000-0000-0000-0000-000000000000" x:Name="SequentialWorkflow" TargetId="00000000-0000-0000-0000-000000000000" WorkflowDefinitionId="00000000-0000-0000-0000-000000000000" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/workflow" xmlns:ns1="clr-namespace:System.Workflow.Activities;Assembly=System.WorkflowServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ns0="clr-namespace:Microsoft.ResourceManagement.Workflow.Activities;Assembly=Microsoft.ResourceManagement, Version=4.1.3508.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
    	<ns0:PWResetActivity MetadataFaultMessage="{x:Null}" Timeout="5" x:Name="authenticationGateActivity1" ReferenceProperties="{x:Null}" CreateFaultMessage="{x:Null}" MetadataResponseMessage="{x:Null}" CreateResponseMessage="{x:Null}" CreateRequestMessage="{x:Null}" DocumentType="{x:Null}" ResourceAddress="{x:Null}" MetadataRequestMessage="{x:Null}">
    		<ns1:ReceiveActivity.WorkflowServiceAttributes>
    			<ns1:WorkflowServiceAttributes ConfigurationName="Microsoft.ResourceManagement.Workflow.Activities.PWResetActivity" Name="PWResetActivity" />
    		</ns1:ReceiveActivity.WorkflowServiceAttributes>
    	</ns0:PWResetActivity>
    </ns0:SequentialWorkflow>

    Changed

    xmlns:ns1="clr-namespace:System.Workflow.Activities;Assembly=System.WorkflowServices, Version=3.5.0.0

    <ns0:SequentialWorkflow ActorId="00000000-0000-0000-0000-000000000000" RequestId="00000000-0000-0000-0000-000000000000" x:Name="SequentialWorkflow" TargetId="00000000-0000-0000-0000-000000000000" WorkflowDefinitionId="00000000-0000-0000-0000-000000000000" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/workflow" xmlns:ns1="clr-namespace:System.Workflow.Activities;Assembly=System.WorkflowServices, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:ns0="clr-namespace:Microsoft.ResourceManagement.Workflow.Activities;Assembly=Microsoft.ResourceManagement, Version=4.1.3508.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
    	<ns0:PWResetActivity MetadataFaultMessage="{x:Null}" Timeout="5" x:Name="authenticationGateActivity1" ReferenceProperties="{x:Null}" CreateFaultMessage="{x:Null}" MetadataResponseMessage="{x:Null}" CreateResponseMessage="{x:Null}" CreateRequestMessage="{x:Null}" DocumentType="{x:Null}" ResourceAddress="{x:Null}" MetadataRequestMessage="{x:Null}">
    		<ns1:ReceiveActivity.WorkflowServiceAttributes>
    			<ns1:WorkflowServiceAttributes ConfigurationName="Microsoft.ResourceManagement.Workflow.Activities.PWResetActivity" Name="PWResetActivity" />
    		</ns1:ReceiveActivity.WorkflowServiceAttributes>
    	</ns0:PWResetActivity>
    </ns0:SequentialWorkflow>

    Best Regards EveryOne!


    • Edited by Jorge Martín Wednesday, July 2, 2014 4:30 PM Clarify
    • Marked as answer by Jorge Martín Wednesday, July 2, 2014 4:31 PM
    Wednesday, July 2, 2014 4:30 PM
  • Hello Jorge.

    I'm having the same issue, but, when i look my xoml, the version is 3.5.0.0

    Can you kindly help me in case you have more tips and advices to knock out this issue)

    Thanks

    Monday, August 18, 2014 2:20 PM