Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am getting this error after publishing the form. However, no error is given when I do a preview in the infopath. Please suggest.

An error occurred querying a data source. Click OK to resume filling out the form. You may want to check your form data for errors.

Hide error details An error occurred while trying to connect to a Web service.

An entry has been added to the Windows event log of the server. Log ID:5566

Correlation ID:f887f622-8d9d-493f-a744-4a4b58f29806

-------------------------------------------------------------------------------- An error occurred while trying to connect to a Web service.

An entry has been added to the Windows event log of the server. Log ID:5566

Correlation ID:f887f622-8d9d-493f-a744-4a4b58f29806

share|improve this question
    
This could be a number of issues, perhaps a failed authorization. Are you previewing on the same server as your are deploying? What is the log entry associated with that correlation ID? –  Louis Jan 26 '12 at 19:58
    
I am using my local to design n publish. went to both wfe and i get the same error that i was getting when i used my local desktop internet explorer. –  M. Todd Jan 26 '12 at 20:16
    
Can you detail the error that you are getting in the ULS logs? –  Deepu Nair Jan 27 '12 at 7:27
    
@Everyone: Strangely the form started working. I came in this morning everything looks good. But I suspecting it will happen again so still need to fix the issue. Deepu: Which ULS logs (wfe1 or wfe2 or app/ca/index server)? –  M. Todd Jan 27 '12 at 13:25
    
The problem appears again. hmm. Can anyone please suggest a fix? on a deadline here. –  M. Todd Jan 27 '12 at 15:28

2 Answers 2

I was facing the same issue. Struggled a lot and got an exact solution for this. http://techilatalk.com/get-spserviceapplication-not-working/ .

This solution gives database based approach to handle this issue.

share|improve this answer

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

1  
While this may theoretically answer the question, we prefer inclusion of the essential parts of the answer here, and to provide the link for reference. See answer for general guidelines. Thanks. –  SPDoctor May 23 '13 at 18:24
up vote 1 down vote accepted

Added Host entry on both WFE and problem went away for good. The WFE IP address and same portal site. For example,

On WFE1 I added

192.168.77.201    Portal.SP.com

On WFE2 I added

192.168.77.202    Portal.SP.com

Now, it's all good.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.