Error on submit: "A name was started with an invalid character"

A

Ann Dundon

We're using a number of Infopath forms with a SQL Server main connection and
multiple web service methods as secondary data sources. The forms are
digitally signed using a self-signed certificate, and the templates are
available to our local intranet users through a SharePoint library. Managed
code handles the forms' submit function and much of the other data transfer
functions in the forms.

Very occasionally, our users have encountered an error message when they try
to submit a form: "A name was started with an invalid character." So far
we've found no discernable pattern to these errors, nor any evidence of the
alleged invalid characters. Sometimes having the user log on to a different
machine, or having a different user try to submit the form, has solved the
problem and no error occurs.

Any suggestions about how we might resolve this problem?
 
F

Franck Dauché

Hi,

Because you are handling your submit by code, did you build an Error
Handling Procedure where you are looping through the collection of errors
(thisXDocument.Errors) to have more details about the exact error(s).

Won't solve your problem, but it may help isolate the issue.

Regards,

Franck Dauché
 

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