<?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>Re: InfoPath cannot find form - IE Bug?</title><link>https://www.infopathdev.com:443/forums/thread/22380.aspx</link><pubDate>Thu, 16 Aug 2007 23:36:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22380</guid><dc:creator>Shiraz Cupala</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22380.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=22380</wfw:commentRss><description>&lt;p&gt;To avoid this issue entirely you should use the technique described in the following post to link to your files: &lt;a href="http://www.infopathdev.com/blogs/shiraz/archive/2007/08/16/best-way-to-launch-forms-from-web-pages.aspx"&gt;http://www.infopathdev.com/blogs/shiraz/archive/2007/08/16/best-way-to-launch-forms-from-web-pages.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: InfoPath cannot find form - IE Bug?</title><link>https://www.infopathdev.com:443/forums/thread/10419.aspx</link><pubDate>Fri, 25 Aug 2006 11:20:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10419</guid><dc:creator>ivl</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10419.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10419</wfw:commentRss><description>Right, I finally figured out what the problem was.&lt;br /&gt;&lt;br /&gt;Notice that the above code disables caching of the response? Turns out that the file was automatically getting deleted BEFORE InfoPath could open it. Firefox seems to behave differently.&lt;br /&gt;&lt;br /&gt;Taking out all of the lines of code related to the disabling of caching fixed my problem.&lt;br /&gt;&lt;br /&gt;My last question still remains though, is there any way of automatically launching InfoPath without first displaying an 'Open or Save' dialog in the browser?</description></item><item><title>InfoPath cannot find form - IE Bug?</title><link>https://www.infopathdev.com:443/forums/thread/5813.aspx</link><pubDate>Fri, 25 Aug 2006 09:49:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5813</guid><dc:creator>ivl</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5813.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5813</wfw:commentRss><description>Hi folks,&lt;br /&gt;&lt;br /&gt;Please could you help me with a problem that I haven't been able to solve.&lt;br /&gt;&lt;br /&gt;I have an ASP.NET 2.0 website, which reads data from a database and creates an InfoPath form out of it. This data is needed to pre-populate the InfoPath form with required data.&lt;br /&gt;&lt;br /&gt;The form template is located on a SharePoint form library on a different server.&lt;br /&gt;&lt;br /&gt;In the ASP.NET 2.0 website, when the user clicks a button, I use the following code to send him the form:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;Dim bytes() As Byte = Encoding.UTF8.GetBytes(myDataSet.GetXml())&lt;br /&gt;Response.Expires = 0&lt;br /&gt;Response.Cache.SetNoStore()&lt;br /&gt;Response.Clear()&lt;br /&gt;Response.AddHeader("Content-Disposition", "attachment; filename=MyFile.infopathXml")&lt;br /&gt;Response.ContentType = "application/ms-infopath.xml"&lt;br /&gt;Response.AppendHeader("Pragma", "no-cache")&lt;br /&gt;Response.Charset = ""&lt;br /&gt;Dim formTemplate As String = ProfileCommon.Properties("TemplateLocation").DefaultValue&lt;br /&gt;Dim formVersion As String = ProfileCommon.Properties("TemplateVersion").DefaultValue&lt;br /&gt;Response.Write("&amp;lt;?xml version=""1.0"" encoding=""UTF-8""?&amp;gt;")&lt;br /&gt;Response.Write("&amp;lt;?mso-infoPathSolution solutionVersion=""" &amp; formVersion &amp; """ href=""" &amp; formTemplate &amp; """ productVersion=""11.0.8034"" PIVersion=""1.0.0.0"" ?&amp;gt;")&lt;br /&gt;Response.Write("&amp;lt;?mso-application progid=""InfoPath.Document""?&amp;gt;" &amp; vbCrLf)&lt;br /&gt;Response.BinaryWrite(bytes)&lt;br /&gt;Response.End()&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Starting with FireFox, everything works as expected - the user is prompted to open or save the file and in both instances the form opens successfully, with the pre-populated data.&lt;br /&gt;&lt;br /&gt;With Internet Explorer (tested with IE6 and IE7 beta), if the user selects 'Open' when he is prompted to open or save the file, InfoPath opens up and gives me this error:&lt;br /&gt;&lt;blockquote id="quote"&gt;&lt;font size="1" face="Verdana, Arial, Helvetica" id="quote"&gt;quote:&lt;hr height="1" noshade id="quote"&gt;InfoPath cannot open the following file: MyFile[1].infopathXml.&lt;br /&gt;InfoPath cannot find or cannot access the following file: C:\Documents and Settings\User\Local Settings\Temporaty Internet Files\Content.IE5\6DKFEL25\MyFile[1].infopathXml&lt;hr height="1" noshade id="quote"&gt;&lt;/font id="quote"&gt;&lt;/blockquote id="quote"&gt;&lt;br /&gt;&lt;br /&gt;If the user rather chooses to save the file and then open it, everything works as it should.&lt;br /&gt;&lt;br /&gt;Why can't the form be opened from the Temporary Internet Files? Why does this only occur in IE? I don't want the user to go through so many clicks to open the form (Save, choose location, navigate to location, double click, etc) - I want them to just click Open and InfoPath opens up. Even better, can I eliminate the 'Open or Save' dialog from appearing alltogether?&lt;br /&gt;&lt;br /&gt;Any help would be appreciated.&lt;br /&gt;&lt;br /&gt;Edit: I'm using InfoPath 2003</description></item></channel></rss>