Hello
I have a relatively large form with 2 main views. One view is the one the user fills in, then the other is the one they are presented with when the form has been submitted (i.e. a read only view). The views are largely identical with the main difference being the read only status and cosmetic changes.
Anyway, over the last week or so I have been having intermittent problems while publishing the form. It will take ages and throw the "...can only be opened using InfoPath Filler..." message yet clicking to publish immediately after and it will go through fine "the form has been published successfully".
To me this suggests the form itself is valid, but there is a timeout issue somewhere?
I have used Fiddler and indeed I can see that the call to the formsServices.asmx web service, and specifically the DesignCheckFormTemplate, will sometimes return a successful status of 200 (and the form has published) but then other times it will return status 500 - failed.
The 500 response XML does include an error message:
- The server was unable to process request. Unsupported expression.
This perhaps suggests there is a problem in the form somewhere but I think that may be a red herring, and in fact the whole call to DesignCheckFormTemplate is timing out? (if it were a true badly formatted form the XML response from the server would give me a proper break down?). Indeed, checking the value of SPRequestDuration of the request response and it looks like any time it fails, the duration is over 300000 milliseconds, yet any time it is successful it is under this value.
So, my question is, can anyone confirm that this is indeed a time out issue when publishing the form?
And if so, what options do I have to resolve this problem? I am using SharePoint Online, so I do not believe changing a timeout threshold is an option...but would welcome confirmation of that.
Is my ONLY option to reduce the complexity of my form in some way (e.g. deleting one of my views immediately halves the SPRequestDuration and leads to a successful publish). This would be a hard task to do as of course, everything in my form is required!
Any help or advice appreciated,
Thanks
Andrew