Workflow not persisted

I have a state workflow that is published as a web service. After it is started it waits for another call to a web serive so it should be persisted to the database. On my development computer where I have WWF, SQL-Server Express and VS.NET 2005 this works with no problem. However on the test computer where there are WWF, SQL-Server Express and IIS the workflow never seems to be stored in the database. I have copied the WWF web service project and the database to the testing computer. I have also updated the path to the database in web.config to point to the database on the tesing computer. I can call the web service through IIS with no problem. I have then copied the database back to my development computer so I can look at it in VS.NET and there is no stored workflow instance. So the problem is that the solution works on my development computer but on the testing computer the workflow is never persisted to the database and I do not get any errors when I call the workflow or in the EventLog.

Answer this question

Workflow not persisted

  • SkyWalker781

    I gave eveyone full permissions on the database files and now it works.
  • Workflow not persisted