Hi Trevor,
Trying to analyse this one will be tricky. For starters, I would assume by the error message that it's using the _vti_bin/workflow.asmx web service to call the GetWorkflowDataForItem method - which is clearly failing. Being an Argument exception, I would assume that the string being passed into the GetWorkflowDataForItem method is malformed, incorrect, or has some type of issue. What I would do, is install fiddler on the server and try capture the string that's being sent to the web service, which might reveal what the actual problem is. In this case, GetWorkflowDataForItem accepts one string parameter, which is the item URL for which the workflow is running on (msdn gives a sample of: http:// <http://%3cserver%3e/%3ccustomsite%3e/DocumentLibrary/example.docx> <server>/<customsite>/DocumentLibrary/example.docx or http:// <http://%3cserver%3e/%3ccustomsite%3e/DocumentLibrary/> <server>/<customsite>/DocumentLibrary/) Looking further into the problem, you say that it's only happening when you deploy to a new environment, so perhaps you have some hard coded URLS somewhere which initialises the workflow using the wrong URL? For instance, maybe its passing in http://oldserver/site/doclib/item.doc rather than http://newserver/site/doclib/item.doc .? For some reason, it can't find the URL that you're specifying it. M From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Trevor Andrew Sent: Friday, 3 October 2008 1:58 PM To: [email protected] Subject: [OzMOSS] Workflows failing - GetWorkflowDataForItem failed Hi All, I was wondering whether anyone could shed any light on an unusual workflow issue we're getting when we deploy to a new environment, in which our site is only one of many. Our workflows are failing with an error message "Workflow Status failed to run." There are corresponding entries in the SharePoint logs with the following details: ID Timestamp Process TID Area Category EventID Level Message Correlation 3973 10/02/2008 16:19:22.04 w3wp.exe (0x0ECC) 0x0FD4 DLC Server Workflow Features 7397 Warning Workflow Soap: GetWorkflowDataForItem failed Item: xxxxxxxxxxx <http://uat-im1.sawater.sa.gov.au/bd/Key%20Accounts/forms/Customer%20Account ing%20-%20Consumption%20Data/New%20document.dotm> Value does not fall within the expected range. I've been able to find very few references to Event ID 7397, and the URL mentioned (which I've obscured) is nothing to do with our site. Would really appreciate any thoughts on what might be happening here. Kind Regards, Trevor Andrew ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com
