Workflow Service (.XAMLX) activation failed : Login to PersistenceStore failed Login failed for user 'DOMAIN\MACHINE$'.

Unanswered Workflow Service (.XAMLX) activation failed : Login to PersistenceStore failed Login failed for user 'DOMAIN\MACHINE$'.

  • Wednesday, June 22, 2011 1:36 PM
     
      Has Code

    Hi,

    I am trying to configure a Workflow Service (.XAMLX) that will simply receive Activities and run them through WorkflowApplication . This service is hosted through IIS 7 in Windows Server Enterprise without Hyper-V on AppFabric. This setup is in Webfarm scenario and best practices regarding security and domain user creation is adhered to.

     

    The WorkflowService is hosted as Application in IIS 7 and runs under NetworkService account. In SQL Server PersistenceStore I've provided NetworkService the System.Activities.DurableInstancing.InstanceStoreUsers role membership. The service activation fails with following Error Log in Event Log:

    WebHost failed to process a request.
     Sender Information: System.ServiceModel.Activation.HostedHttpRequestAsyncResult/53452236
     Exception: System.ServiceModel.ServiceActivationException: The service '/PrecachingServices/PrecachingService.xamlx' cannot be activated due to an exception during compilation. The exception message is: The InstanceStore could not be initialized.. ---> System.ServiceModel.CommunicationException: The InstanceStore could not be initialized. ---> System.Runtime.DurableInstancing.InstancePersistenceCommandException: The execution of the InstancePersistenceCommand named {urn:schemas-microsoft-com:System.Activities.Persistence/command}CreateWorkflowOwner was interrupted by an error. ---> System.Data.SqlClient.SqlException: Cannot open database "FabricPersistenceStore" requested by the login. The login failed.
    Login failed for user 'OMAIN\MACHINE$'.
    

    This error baffles me, as why would a WorkflowService need access the persistence store, should not AppFabric configured accounts with appropriate services handle this.

    Pleas help.

     

    -Samir

All Replies

  • Thursday, November 10, 2011 4:36 PM
     
     
    Any News here? Have exactly the same problem.
  • Monday, January 09, 2012 11:05 PM
     
     
    I have same problem with WF4 and AppFabric
  • Wednesday, November 07, 2012 2:18 AM
     
     
    Me too having the same problem!!!!...any updates?