SharePoint workflows are getting slow for several reasons. in my environment I'm having a problem with following performance issues, therefore in my environment i got following problems. When a item added to the library it takes some times to initiate the workflow. Workflow mail generating is not very fast sometimes. Workflows takes more time to process “Due to heavy load, the latest workflow operation has been queued. It will attempt to resume at a later time” is coming sometimes. I had a custom workflow approval web part and it is taking more than 30 seconds to proceed. Work Done I had a custom workflow approval web part and it is taking more than 30 seconds to proceed. here in my custom web part there is the function which is programmatically updating the workflow. SPWorkflowTask.AlterTask(item, data, false) the last parameter mentioning whether it is synchronous asynchronous. if is it true it it will wait until workflow schedule accept the workflow task. ...
Comments
I have used code similar to this and I found that it doesn't work if your SQL database uses the "User Instance = true" parameter in the connection string.
What happens is SQL Server 2005 throws an exception with the following message: "Could not locate entry in sysdatabases for database ‘database name'. No entry found with that name. Make sure that the name is entered correctly".
That makes this backup mechanism infeasible for embedded SQL applications that run locally in single-user mode.
I am currently investigating backing up this database to an XML file instead.
Any ideas would be appreciated.