InfoPath 2010 - An error ocurred querying a data source. - InfoPath Dev
in

InfoPath Dev

InfoPath 2010 - An error ocurred querying a data source.

Last post 01-20-2016 10:08 AM by avs270. 10 replies.
Page 1 of 1 (11 items)
Sort Posts: Previous Next
  • 01-13-2016 12:47 PM

    • avs270
    • Not Ranked
    • Joined on 09-01-2013
    • Posts 9

    InfoPath 2010 - An error ocurred querying a data source.

    I have an InfoPath form that runs two Nintex webservices when you click on a button & then closes the form. After I click the button, the webservices seems to run fine, but then I get the error: "An error ocurred querying a data source" and the form does not close. I understand getting this error in case one of the webservices fails, but they both seem to have worked fine. Does anyone have an idea as to why this would be happening? Would the SharePoint logs tell which exact data connection is failing? Can this be related to IE11? I'm confused because this error message seems to appear after the webservices have run succesfully, there is nothing else on the button.
  • 01-13-2016 02:19 PM In reply to

    Re: InfoPath 2010 - An error ocurred querying a data source.

    Check the ULS logs on SharePoint - that should tell you more.
    Hilary Stoupa

  • 01-13-2016 02:41 PM In reply to

    • avs270
    • Not Ranked
    • Joined on 09-01-2013
    • Posts 9

    Re: InfoPath 2010 - An error ocurred querying a data source.

    I don't have the correlation ID. The funny thing is that it happened with the same user twice, I have asked him to send me the correlation ID next time that it happens to him. The funny thing, is that the webservice seems to have run fine.
  • 01-20-2016 07:58 AM In reply to

    • avs270
    • Not Ranked
    • Joined on 09-01-2013
    • Posts 9

    Re: InfoPath 2010 - An error ocurred querying a data source.

    Hi Hilary, This is what I got from the log: The following data connection (BAYCREST.ORG\fsprena) has timed out(User: ECF, Form Name: , IP: http://xxxxxxx/humnunma-2016-01-12T15_54_57.xml&OpenIn=browser&source=xxxxxxx#, Request: urn:schemas-microsoft-com:office:infopath:ECF:-myXSD-2011-03-25T15-29-53, Form ID: (null)). ba2c56ec-e3b2-4f68-8d67-11da15c260f5 What does it mean that the user connection has timed out? What can cause this? Sincerely, Alberto da Silva
  • 01-20-2016 08:05 AM In reply to

    Re: InfoPath 2010 - An error ocurred querying a data source.

    Weird error, right? It looks like the data connection and user name are switched in the error - is ECF the name of a data connection in the form? Because I'm guessing BAYCREST.ORG\fsprena is actually the user name.
    Hilary Stoupa

  • 01-20-2016 08:26 AM In reply to

    • avs270
    • Not Ranked
    • Joined on 09-01-2013
    • Posts 9

    Re: InfoPath 2010 - An error ocurred querying a data source.

    ECF is the name of the InfoPath file and I published it to SharePoint with that name. I do not see any data connections with that name, only the InfoPath file is called ECF. Yes, Baycrest.org\fsprena is the user name. The weird thing is that this appears to be an intermittent error, I have not been able to replicate it on my end yet. I have increased the Default Data connection timeout from 10000 milliseconds to 100000 on SharePoint Central Admin, do you think this could help? What else do you think I can do to stop this error? I appreciate any input you can give me.
  • 01-20-2016 08:46 AM In reply to

    • avs270
    • Not Ranked
    • Joined on 09-01-2013
    • Posts 9

    Re: InfoPath 2010 - An error ocurred querying a data source.

    I also found these messages: Calling GlobalStorage.SetItem with index LastExceptionLogged value type DataAdapterException. ba2c56ec-e3b2-4f68-8d67-11da15c260f5 01/20/2016 09:59:23.94 w3wp.exe (0x2970) 0x2150 InfoPath Forms Services Runtime d1at Verbose PostbackPage.PlayEventLog:http://bi-sp:9000/_layouts/Postback.FormServer.aspx finished in:00:00:10.1523191. ba2c56ec-e3b2-4f68-8d67-11da15c260f5 01/20/2016 09:59:23.94 w3wp.exe (0x2970) 0x2150 InfoPath Forms Services Runtime c1jc Verbose DataObject.Serialize.Save for XML name: finished in:00:00:00.0016915. ba2c56ec-e3b2-4f68-8d67-11da15c260f5 01/20/2016 09:59:23.94 w3wp.exe (0x2970) 0x2150 InfoPath Forms Services Runtime c1jc Verbose DataObject.Serialize.Save for XML name:GetRunningWorkflowTasksForCurrentUser finished in:00:00:00.0001750. ba2c56ec-e3b2-4f68-8d67-11da15c260f5 01/20/2016 09:59:23.94 w3wp.exe (0x2970) 0x2150 InfoPath Forms Services Runtime c1jc Verbose DataObject.Serialize.Save for XML name:ProcessTaskResponse2 finished in:00:00:00.0001067. ba2c56ec-e3b2-4f68-8d67-11da15c260f5 01/20/2016 09:59:23.96 w3wp.exe (0x2970) 0x2150 InfoPath Forms Services Runtime c1jc Verbose DataObject.Serialize.Save for XML name:BV_PAYROLL_UNITS finished in:00:00:00.0217899. ba2c56ec-e3b2-4f68-8d67-11da15c260f5 01/20/2016 09:59:23.97 w3wp.exe (0x2970) 0x2150 InfoPath Forms Services Runtime c1jc Verbose DataObject.Serialize.Save for XML name:BV_PAYROLL_GROUP finished in:00:00:00.0007687. ba2c56ec-e3b2-4f68-8d67-11da15c260f5 01/20/2016 09:59:24.03 w3wp.exe (0x2970) 0x2150 InfoPath Forms Services Runtime c1jc Verbose DataObject.Serialize.Save for XML name:BV_Cost_Centres finished in:00:00:00.0497000. ba2c56ec-e3b2-4f68-8d67-11da15c260f5 01/20/2016 09:59:24.06 w3wp.exe (0x2970) 0x2150 SharePoint Server SQM 97qu Verbose SQM: Datapoint id 6807 marked as Increment datapoint. ba2c56ec-e3b2-4f68-8d67-11da15c260f5
  • 01-20-2016 08:55 AM In reply to

    Re: InfoPath 2010 - An error ocurred querying a data source.

    Yeah, I'm really not sure. Does Nintex have a support forum? I'm just wondering if this is something they may have seen before.
    Hilary Stoupa

  • 01-20-2016 09:03 AM In reply to

    • avs270
    • Not Ranked
    • Joined on 09-01-2013
    • Posts 9

    Re: InfoPath 2010 - An error ocurred querying a data source.

    Yes, they told me it is an InfoPath issue not Nintex. Thanks though, appreciated.
  • 01-20-2016 09:13 AM In reply to

    Re: InfoPath 2010 - An error ocurred querying a data source.

    Does this only happen for the one user? If you disable the workflows, can the issue be reproduced?
    Hilary Stoupa

  • 01-20-2016 10:08 AM In reply to

    • avs270
    • Not Ranked
    • Joined on 09-01-2013
    • Posts 9

    Re: InfoPath 2010 - An error ocurred querying a data source.

    Quick question, if instead of using rules to run the webservices, I used code behind instead with Try/Catch, do you think it could stop this error message? Sincerely, Alberto
Page 1 of 1 (11 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.