Error occured Accessing Data Source Error ID 5566 - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Error occured Accessing Data Source Error ID 5566

Last post 04-15-2021 07:45 AM by rvallecillo. 32 replies.
Page 1 of 3 (33 items) 1 2 3 Next >
Sort Posts: Previous Next
  • 04-20-2008 03:18 AM

    Error occured Accessing Data Source Error ID 5566

    Hi all,

    I have Browser enabled infopath form that get the current user profile via web service from sharepoint user profile that in turn comes from AD,

    the solution works fine for a couple of months without any problem,but now I have a problem in which users can submit the form to the form library,but when

     they trying to open the submitted form it gives the following error :

     

    There has been an error while processing the form.

    Click Continue to resume filling out the form. You may want to check your form data for errors.

    Click Start Over to load a new copy of the form.

    Show error details

    An error occurred accessing a data source.

    An entry has been added to the Windows event log of the server.

    Log ID:5566

     

    I have tried every possible solution that I have found in my search but with no luck,please help :(

  • 04-21-2008 04:46 PM In reply to

    Re: Error occured Accessing Data Source Error ID 5566

    What recent changes have occurred on the server? Sounds like the SP installation might have gotten messed up.

  • 04-22-2008 01:00 AM In reply to

    Re: Error occured Accessing Data Source Error ID 5566

    I have installed MOSS service pack1 a month ago,this is the only thing that I have installed before the form start to give errors ,

    Please help :)

  • 04-23-2008 09:24 AM In reply to

    Re: Error occured Accessing Data Source Error ID 5566

    It doesn't seem likely that SP1 would have caused this unless there was problems during the installation. Please check your system logs to see if there were any problems with the installation. You might try reapplying SP1.

  • 04-28-2008 12:00 AM In reply to

    • Bleak
    • Top 500 Contributor
      Male
    • Joined on 04-16-2008
    • Germany
    • Posts 28

    Re: Error occured Accessing Data Source Error ID 5566

     Take a look at this solution as well.

  • 05-29-2008 10:53 AM In reply to

    Re: Error occured Accessing Data Source Error ID 5566

    Reason:
    Error occurs when the user who is accessing form which is going to populate from shareopint list data have not enough rights on SharePoint List.
     
    Solution:
    You must permit target user to read the list in SharePoint.
     
     
    Regards,
    Tariq Younas
  • 07-14-2008 04:49 PM In reply to

    Re: Error occured Accessing Data Source Error ID 5566

    Hi all,

     I get the same error, 5566 error occurred accessing data source, but only for my test user, SPTest1.  My situation is a little different but essentially the same - I have a custom workflow that uses an InfoPath form to edit the Task.  When user clicks the Task, they get my custom IP form.  The IP form is using the GetUserProfileByName web service using the "no code" method described in a different blog (edit the text box properties, and add a function to the Default Value, Value box, etc).  

    None of the posted suggestions has worked to resolve the 5566 error, I've searched high and low on Google, MSDN forums, everywhere.  My other user account is the machine administrator account (virtual machine environment so I can test stuff like this), and it does not get the error.  I'm running MOSS on WinServer 2003, IE7.  If I'm logged in to the machine as administrator, it works.  If I change the user login in IE only, to SPTest1, it fails with the dreaded 5566 error.  If I log on to the machine as SPTest1, it fails no matter which SP user account I log into via the browser, even if I change SP user to my administrator acct., it still fails.  I'm at a loss, don't know where to turn, I've done almost all the things the postings and blogs say to do: turned off anonymous access in Central Admin, bumped up the size and timeout settings in Cent. Admin, my InfoPath form is running with full trust, etc.

    Any help is greatly appreciated,

    KevinHou

  • 07-23-2008 01:17 AM In reply to

    Re: Error occured Accessing Data Source Error ID 5566

    I would suggest you to check the annonymous Access user name of Central admin website is set to iuser_machineNo.

    Now make an entry of that userName in Database Login group.

    hope this works fine !

    Thanks & Regards,
    Srikrushna Patro.
  • 09-04-2008 08:55 AM In reply to

    • alneff
    • Not Ranked
      Male
    • Joined on 08-27-2008
    • New York
    • Posts 6

    Re: Error occured Accessing Data Source Error ID 5566

    same deal for me too!

    I have tried all solutions I have been able to find. Google, Live, MSDN, etc.

    nothing seems to work.???

    An error occurred accessing a data source.

    An entry has been added to the Windows event log of the server.

    Log ID:5566
     
    ...only when using form in browser.  Works perfectly when I open with InfoPath.
  • 10-13-2008 07:17 AM In reply to

    Re: Error occured Accessing Data Source Error ID 5566

    Dont suppose anyone has figured out a way to fix this?

  • 10-13-2008 07:48 AM In reply to

    • alneff
    • Not Ranked
      Male
    • Joined on 08-27-2008
    • New York
    • Posts 6

    Re: Error occured Accessing Data Source Error ID 5566

    yes, at least for me it ended up being a double hop issue.

    I fixed this by publishing my web service to one of my web front end SharePoint servers.  I'm sure there are other solutions, but this was a quick way for me to resolve the situation in my environment.

    --Adam

  • 10-13-2008 07:55 AM In reply to

    Re: Error occured Accessing Data Source Error ID 5566

    Thanks very much for replying, I will try this fix.

  • 10-16-2008 10:27 PM In reply to

    Re: Error occured Accessing Data Source Error ID 5566

    Just to follow up from my July posting, I figured out one 'solution', if I make my test user a member of my top level site's Owners group, it works.  The real solution was to change the URL for the web service my InfoPath form is using to get user information out of SharePoint.  In your IP form when you're creating your data connection (mine was to the GetUserProfileByName), set the URL for the path to the web service to a site level that your potential user base will be able to access.  Mine originally was something like http://my-portal/_vti_bin/UserProfileService.asmx?WSDL.   But this would require my users to have the necessary privs to execute this web service from the top level site (when I gave my users full access to one of the root groups they stopped getting the 5566 error, but I don't want them to have that high of access).  Since our users do their work a few sites beneath the site collection, I just changed the URL to match: http://my-portal/site1/subsite2/_vti_bin/UserProfileService.asmx?WSDL.  Re-published, redeployed (See Nick Swan' deployment article at http://weblog.vb-tech.com/nick/archive/2007/03/05/2241.aspx) and the 5566 error went away.  Of course my 5566 was "An error occurred accessing a data source", and this solution fixed that problem.  The trouble with 5566 is that it is a catch-all for other errors, you have to click on the Details link to see what yours is specifically.

     Hoping this helps others,

    KevinHou

  • 10-20-2008 12:16 PM In reply to

    Re: Error occured Accessing Data Source Error ID 5566

     u need sso

  • 11-12-2008 02:00 AM In reply to

    Re: Error occured Accessing Data Source Error ID 5566

     I have got the same error (ID 5566) accessing a datasource list within the same site collection. It worked fine when the dependant dropdown-list was based on a custom list at the root level site. But when it was created at another level, the problems started. When I changed my managed path from "Explicit Inclusion" to "Wildcard Inclusion" everything started working.

    Maybe someone can explain this to me...

Page 1 of 3 (33 items) 1 2 3 Next >
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.