cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

PublishFromNWFXml fails with HRESULT: 0x80070002

I am trying to publish a workflow to a list, using Nintex actions. These sites describe how to do it:

Publish a Nintex Workflow dynamically using Nintex workflow actionsManvir's SharePoint Blog

Nintex Workflow and Site Templates | Paylord

 

Usually it works for me, without any problem, about 20-30 times. But when I add a new workflow to be published, often it will a few times, and then eventually settle down and work consistently from then on.

 

The error I get when I call the PublishfromNWFXml method is:

Error returned from server: Server was unable to process request. ---> The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

I know that the XML file has been successfully read in.

 

Can anyone help with this seemingly random problem?

Labels: (1)
0 Kudos
Reply
2 Replies
Workflow Hero

Re: PublishFromNWFXml fails with HRESULT: 0x80070002

Have you currently a balanced server?

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: PublishFromNWFXml fails with HRESULT: 0x80070002

It's a development server, and it is stable and performs adequately for my dev needs. The problem does only seem to occur after I add a new Call WebService action, and after a few fails, it usually resolves itself. What I don't understand is that the Query XML succeeds (I can see it in the verbose log), the regular expressions work on the XML, but when the PublishFromNWFXml method reads the XML it gives a cannot find file error.

0 Kudos
Accept as Solution Reply