Infopath 2007 cannot access secondary data source after publishing - InfoPath Dev
in

InfoPath Dev

Infopath 2007 cannot access secondary data source after publishing

Last post 12-22-2010 10:13 PM by superbovine. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 09-16-2008 12:18 PM

    Infopath 2007 cannot access secondary data source after publishing

    This is my first project so be kind. I developed a form last week and it works in preview mode. The form is saved in a \\unc\infopath\forms\ and the access databases are save under \\unc\infopath\databases\. All the databases are reference with a full UNC under the database connection wizard. I am using a password protected Access 2007 DB.

     When I published the form I get for all my secondary tables:

    The query cannot be run for the following DataObject: MyData InfoPath cannot run the specified query. The form has requested data that is currently not available offline. The data will be available when your computer is connected to the network.

    Is this a permissions problem, or do I need to save the query data in the form? I am not sure what to troubleshoot.

    I have tried: Full Trust, full control on the UNC permissions, and when i put the \\unc\ address under the domain under preview settings I get a smiliar error.

     

     

    What am I missing here?

  • 09-18-2008 02:28 AM In reply to

    • Shiva
    • Top 25 Contributor
    • Joined on 04-15-2005
    • India
    • Posts 694

    Re: Infopath 2007 cannot access secondary data source after publishing

    Hello Welcome to the Forums,

    Your error is saying that whichever you are trying to load that secondary connection file is not available.

    Are you using code for loading secondary data source? If you have code, check once ‘IsDestinationReachable' value returns true or not before loading the secondary data source

  • 09-18-2008 05:37 PM In reply to

    Re: Infopath 2007 cannot access secondary data source after publishing

    I am not running any code, if i goto into design mode and run a test query it works fine.

  • 12-22-2010 12:08 PM In reply to

    Re: Infopath 2007 cannot access secondary data source after publishing

     Did you ever find a solution to this?  We are currently experiencing the same error and I am unsure how to fix it.  Only one person is getting the error.

  • 12-22-2010 10:13 PM In reply to

    Re: Infopath 2007 cannot access secondary data source after publishing

    http://social.msdn.microsoft.com/Forums/en-US/sharepointinfopath/thread/a4e06b89-7d66-42c9-b067-f0af1660aa45

    Yeah, I posted the solution on another forum.  See above.

     I will add because it is only person, check your NTFS permissions for that user.

Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.