Submission Failure Results in Blank .xml File on Sharepoint Portal

C

Crystal Knight

I'm running InfoPath 2003 SP2 on Sharepoint Portal Server. In VS 2003 VB.NET
I'm submitting the Infopath form to a Sharepoint Portal Server via
XDocument.Submit(). Sometimes this fails with the following message:

System.Runtime.InteropServices.COMException (0x800430D0): InfoPath cannot
submit the form.
An error occurred while the form was being submitted.
[]
The form cannot be submitted to the following location: mysite.xml
The site may be offline, read-only, or otherwise unavailable.
at Microsoft.Office.Interop.InfoPath.SemiTrust._XDocument.Submit()
at Microsoft.Office.Interop.InfoPath.SemiTrust.XDocumentWrapper.Submit()
at Microsoft.Office.Interop.InfoPath.SemiTrust.XDocumentWrapper.Submit()
//yes this line appears twice
at FormCode in Code.vb:line #

I'm not sure what causes the submission to fail. It might be a time-out
issue, but I'm unable to confirm that - it seems to be random. The main
problem isn't just that it fails to submit to Sharepoint - on a submission
failure, the .xml file submitted to the form library is cleared. It becomes
an empty .xml file with filesize = 0 bytes. This is a major problem because
if I try to update a previously submitted form and the second submission
fails, it overwrites the old file as a blank document. I've searched other
forums for this issue and even the error code 800430D0 without avail. Any
help on concerning this would be greatly appreciated.

Thanks in advance,
Crystal Knight
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top