Wednesday, June 25, 2008

The selected file was not found - InfoPath Form Services

I created an internal InfoPath form that was hosted in the InfoPathViewer Web Part and put a file attachment control on it. I kept getting "the selected file was not found" when attaching a document to the form. To solve this I needed to add a Content Editor Web Part with the following code in the source. This encoding is crucial for the ability to attach attachments to InfoPath forms hosted on Forms Server or within the InfoPathViewer Web Part.

script type="text/javascript" aspnetForm.encoding = "multipart/form-data"; /script

13 comments:

Anonymous said...

Hi

I am having a similar issue but from your post I cannot work out what the contents of the Content Editor Web Part should be. It is missing some angle brackets!

Brad said...

I don't know why the angle brackets don't come through, so here it is with them replaced.

(left angle bracket)script type="text/javascript" ..... (right angle bracket)(left angle bracket)/script(right angle bracket)

Anonymous said...

[url=http://loveepicentre.com/map.php][img]http://loveepicentre.com/uploades/photos/7.jpg[/img][/url]
how to open blocked dating profiles [url=http://loveepicentre.com/success_stories.php]rock springs wy dating[/url] baldwin organ dating
dating other people [url=http://loveepicentre.com]flirty dating[/url] satanist dating
dating business travel [url=http://loveepicentre.com/taketour.php]is kenny chesney dating[/url] web dating free

Anonymous said...

dvd 8.5 burning software http://buysoftwareonline.co.uk/de/category-7/Programmierung-and-Entwicklung xactamate roofing software [url=http://buysoftwareonline.co.uk/it/product-37095/Mediachance-Dynamic-Auto-Painter-2-5-Portable]what is best software for contractor[/url] accounting software escrow funds
[url=http://buysoftwareonline.co.uk/product-14042/FileXaminer-2-6-Mac]FileXaminer 2.6 [Mac] - Download OEM, Software Sale, OEM Software[/url] why people pirate software
[url=http://buysoftwareonline.co.uk/de/product-37254/Rob-Papen-ConcreteFX-Predator-VSTi-1-0][img]http://buyoem.co.uk/image/4.gif[/img][/url]

Anonymous said...

I think this is one of the most significant information
for me. And i'm glad reading your article. But want to remark on some general things, The web site style is perfect, the articles is really nice : D. Good job, cheers

My web-site freed dating sites

Anonymous said...

advertising

My web blog - canada dating

Anonymous said...

Hello There. I discovered your blog the use of msn. This is a
really well written article. I�ll be sure to bookmark it and come
back to read more of your useful information. Thank you for the post.
I will certainly comeback.

Visit my webpage: free dating websites online

Anonymous said...

r ideas.

My webpage ... free on line dating site

Anonymous said...



Here is my page; top dating sites

Anonymous said...

hello there and thanks for your info � I�ve certainly picked
up something new from proper here. I did alternatively expertise several technical issues the usage of this
website, since I skilled to reload the site many occasions
prior to I may get it to load correctly. I have been considering in case
your hosting is OK? Now not that I am complaining, however sluggish loading instances instances will very frequently
have an effect on your placement in google and damage your high quality score if ads and ***********

my page :: facebook sex

Anonymous said...

Unquestionably consider that that you said. Your favourite justification appeared
to be on the internet the easiest thing to have in mind
of. I say to you, I certainly get irked whilst people consider worries that they just
do not recognise about. You controlled to hit the nail upon
the highest and also defined out the whole thing with no need side-effects , people can take a signal.
Will probably be back to ge

Feel free to surf to my weblog; adult finder

Anonymous said...

Do you have a spam issue on this website; I also am a blogger, and I was wanting to
know your situation; we have developed some nice methods and we are looking to trade techniques with others, please shoot me an e-mail if
interested.

my web blog: fuck book

Anonymous said...

dating service jeff stark http://loveepicentre.com/map/ online dating single usa
bareback dating women [url=http://loveepicentre.com/articles/]christian view on dating[/url] single japanese woman dating japan women
problems with dating during the holidays [url=http://loveepicentre.com/faq/]remington rifles dating[/url] who is vanessa hudgens dating [url=http://loveepicentre.com/user/gilbertbenson00/]gilbertbenson00[/url] best kenya free dating site