<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Local Secondary Datasource gets "Network Connection Unavailable"</title><link>https://www.infopathdev.com:443/forums/thread/30625.aspx</link><pubDate>Mon, 21 Jul 2008 18:11:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30625</guid><dc:creator>ghinckley</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30625.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=30625</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I tried the resource file and still get the message when the network is unavailable.&amp;nbsp; I just added the data as an optional part of the main datasource schema.&amp;nbsp; I then load it when the form needs it otherwise I leave it off. I totally removed the secondary datasource.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Local Secondary Datasource gets "Network Connection Unavailable"</title><link>https://www.infopathdev.com:443/forums/thread/30494.aspx</link><pubDate>Wed, 16 Jul 2008 12:57:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30494</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30494.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=30494</wfw:commentRss><description>&lt;p&gt;I actually had another thought -- I&amp;#39;m wondering if the xml file could be added as a resource and then, when the application starts up, perhaps rebuilt?&amp;nbsp;In the&amp;nbsp;form code, or if the form is part of a Visual Studio solution, you may be able to do it from there -- this isn&amp;#39;t anything I&amp;#39;ve personally tried, just conceptual....&lt;/p&gt;</description></item><item><title>Re: Local Secondary Datasource gets "Network Connection Unavailable"</title><link>https://www.infopathdev.com:443/forums/thread/30491.aspx</link><pubDate>Wed, 16 Jul 2008 12:47:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30491</guid><dc:creator>ghinckley</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30491.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=30491</wfw:commentRss><description>&lt;p&gt;Thanks for looking at it.&lt;/p&gt;</description></item><item><title>Re: Local Secondary Datasource gets "Network Connection Unavailable"</title><link>https://www.infopathdev.com:443/forums/thread/30489.aspx</link><pubDate>Wed, 16 Jul 2008 11:52:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30489</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30489.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=30489</wfw:commentRss><description>&lt;p&gt;Wow -- not only that, but in IP 2007, even when I select store a copy for offline use while creating the data connection, I still get the pop-up asking if I want to work offline, which, when the file is local, is plumb annoying! I&amp;#39;ll keep my eyes open for a work-around.&lt;/p&gt;</description></item><item><title>Re: Local Secondary Datasource gets "Network Connection Unavailable"</title><link>https://www.infopathdev.com:443/forums/thread/30471.aspx</link><pubDate>Tue, 15 Jul 2008 21:43:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30471</guid><dc:creator>ghinckley</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30471.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=30471</wfw:commentRss><description>&lt;p&gt;I have.&amp;nbsp; It works fine as long as I&amp;#39;m connected to the network.&amp;nbsp; It is when I don&amp;#39;t have a network connection that it does it.&amp;nbsp; I had to create the form as a trusted form so it could read the local file.&amp;nbsp;&amp;nbsp;&amp;nbsp; I publish it &amp;quot;To a network location&amp;quot;.&amp;nbsp; I publish it from the c: drive to a location on the c: drive so there shouldn&amp;#39;t be any network references there.&amp;nbsp; I clear out the location on the third screen of the publish wizard, but I&amp;#39;ve published it with the location left in there as well.&amp;nbsp; It works fine with a network connection, but I get the dialog when the pc is not connected.&lt;/p&gt;</description></item><item><title>Re: Local Secondary Datasource gets "Network Connection Unavailable"</title><link>https://www.infopathdev.com:443/forums/thread/30469.aspx</link><pubDate>Tue, 15 Jul 2008 21:19:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30469</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30469.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=30469</wfw:commentRss><description>&lt;p&gt;Have you tried recreating your data connection? I ask because I just put together a quick demo form that uses a local xml file, published it, and while I get a security warning, I didn&amp;#39;t get the Network Connection Unavailable warning.&lt;/p&gt;</description></item><item><title>Re: Local Secondary Datasource gets "Network Connection Unavailable"</title><link>https://www.infopathdev.com:443/forums/thread/30466.aspx</link><pubDate>Tue, 15 Jul 2008 19:33:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30466</guid><dc:creator>ghinckley</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30466.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=30466</wfw:commentRss><description>&lt;p&gt;I forgot to mention the forms are part of another application.&amp;nbsp; That application will build the xml file on startup from a local database, so it is always current.&amp;nbsp; I thought about referencing the database directly but I found the database connection&amp;nbsp;stored in the form template.&amp;nbsp; The local db may not always have the same name, especially during testing.&amp;nbsp; The db is refreshed with replication.&amp;nbsp; If I can manipulate the db connection, that would work as well.&lt;/p&gt;</description></item><item><title>Re: Local Secondary Datasource gets "Network Connection Unavailable"</title><link>https://www.infopathdev.com:443/forums/thread/30463.aspx</link><pubDate>Tue, 15 Jul 2008 18:54:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30463</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30463.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=30463</wfw:commentRss><description>&lt;p&gt;Hello and welcome!&lt;/p&gt;
&lt;p&gt;I&amp;#39;m curious -- if you plan to keep the xml file on a local drive -- won&amp;#39;t you have to have the same file in the same location on every machine the form will be filled out on? In that case, won&amp;#39;t changing that file be a nightmare? If you do add it as a resource, at least you only need to change the resource file and republish your form -- then your data is in a single location.&lt;/p&gt;</description></item><item><title>Local Secondary Datasource gets "Network Connection Unavailable"</title><link>https://www.infopathdev.com:443/forums/thread/30462.aspx</link><pubDate>Tue, 15 Jul 2008 18:39:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30462</guid><dc:creator>ghinckley</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30462.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=30462</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I am using Infopath 2007.&amp;nbsp; I have an xml file as a secondary datasource.&amp;nbsp; The form needs to be able to be filled out when the pc is not connected to a network.&amp;nbsp; Therefore I located the xml file on the local c: drive.&amp;nbsp; If I open the form when not connected to a network I get the &amp;quot;Network Connection Unavailable&amp;quot; dialog box.&amp;nbsp; The form works if I click on the &amp;quot;Try to Connect&amp;quot; button.&amp;nbsp; However this will annoy the user if they have to do this everytime.&amp;nbsp; I do not want to use a resource file because the data in the xml file may update often.&amp;nbsp; Also I want the users to be able to update the form or create new forms like it, so I would prefer to not add custom code if possible.&amp;nbsp; Is there any way to disable the dialog box or capture it and bypass it?&amp;nbsp; Any other suggestions?&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>