Cannot open Infopath attachments in Outlook 2007

I have built an InfoPath form and web enabled it. Users fill in the form in Internet Explorer and attach a file to it. When they press the “Save” button, a mail is sent to some receivers in Outlook. When they try to open the form, they get the following error:

Enlarged error:
I will try to translate the above error message here: “Infopath cannot open the following file c:documents….” “The file is not a valid xml file”. “The form contains XML that cannot be parsed”. An invalid character was found in the content” and then it complains on the formatting of my attachment field which in this case is “fält2”.
After I press OK on the error message the form opens up as a normal mail, and not in InfoPath as expected:
As you can see, the mail attachment has been converted to an empty textbox!
The attachment is removed, because if I try to open the attached form.xml file I get the same error in InfoPath.
This happens to ALL types of files, except .txt files. If the user attach a .txt file and the form is opened in Outlook, it opens correctly and you can see that attached file:
I have this case at Microsoft right now, and will tell you the solution to this as soon as I get it.
Share this blog post:

Leave a Reply

31 Comment threads
0 Thread replies
Most reacted comment
Hottest comment thread
1 Comment authors
Kris McClureTravissmmy95LiseAlex Recent comment authors

This site uses Akismet to reduce spam. Learn how your comment data is processed.

newest oldest most voted
Notify of

One man asked me added by the letter to him a photo,I did it,and after that my mails were damaged.Fortunately the same man helped me.He advised-how to open ost in ms outlook 2003.To my surprise program helped me very fast.It was free as he said.Moreover software can open ost file in Outlook 2003 and recover your data from these encrypted *.ost files.


To my surprise when I had corrupted mail and also had problems with outlook files,myslef helped next software-cannot open pst file,as far as I know it has free status,also utility can open files with PST and OST extension and repair all files from that archives,program permits to process such files, even if they contain viruses or the file is too large, it is safe,compatible with all supported versions of Microsoft Outlook and Microsoft Windows,analyses your mailbox and attempts to identify the mails, that can be successfully retrieved,extract either separate files of *.eml, *.txt and *.vcf format or pack these files… Read more »


Okey 🙂 Here it is,



I did get your email but there is no link for thast solution. I am not sure if you have sent any other email beside your post.


Hi Surpeet
I am not sure you got my mail I just sent to you.
Please post your email here!