Does Forms call an internal web service to generate the image when saving to the repository?
I keep running into issues where the final image saved to the repository is getting overwritten with the wrong image and Forms doesn't even know anything went wrong. It is as if it just calls a web page and whatever is returned becomes the final entry regardless of errors or success.
The first case was an SSL problem and was fixed by a hotfix and this time all form images were replaced by a 404 message that looked like a web page. I discovered the IT department configured IIS to respond only to a custom DNS name and deny "localhost" or "servername".
I was able to resolve it by entering the custom DNS name into the forms configuration Primary Server URL (even though it says this entry is not required unless multiple forms servers are sharing a database). Just a lucky guess.
I would prefer that if a Save to Repository task receives an error that the job halts and throws the error. This allows me to re-submit the form and allows the customer to see that there was a problem.