<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>file attachment control - The selected files was not found error</title><link>https://www.infopathdev.com:443/forums/thread/35016.aspx</link><pubDate>Fri, 28 Nov 2008 08:05:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35016</guid><dc:creator>soju.ss</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35016.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=35016</wfw:commentRss><description>&lt;p&gt;I have embedded the InfoPath Page in SharePoint and when using a file attachment control on a InfoPath form as part of a SharePoint workflow I get the error &amp;quot;The selected files was not found&amp;quot;.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I know It&amp;#39;s a bug with SharePoint itself&lt;/p&gt;
&lt;p&gt;So i have done below procedures &lt;/p&gt;
&lt;p&gt;Open the file C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\WrkTaskIP.aspx&lt;/p&gt;
&lt;p&gt;Add:&lt;/p&gt;&lt;pre&gt;&lt;code&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;aspnetForm.encoding = &amp;quot;multipart/form-data&amp;quot;;&amp;lt;/script&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;into the file just before the first table opening tag. iisreset and then the attachment control of the form should work when hosted inside a workflow.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;But Still it not working .........&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Thanks &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Soju&lt;/strong&gt;&lt;/p&gt;</description></item></channel></rss>