I am having this problem and can't pin point the error!
Everything was working fine with people using browser based forms using resolveprincipals to get their display name, manager name, department etc from sharepoint profiles then Friday or Saturday it stopped working.
The only two thing that has happened since then was some hotfixes /.net 3.5 service packs were installed on Saturday night. The machine was rebooted early hours of Sunday morning and it's been broken since then.
I can't uninstall any of the hotfixes / .net3.5 install unless I know it is specifically which is causing the problem as it will require kicking everyone off the system to do it. In the mean time we have no timesheets, expenses, holiday requests etc. as they all use resolve principals to work.
I tried using fiddler to snoop the webservice to see why it was failing to talk to the webservices but didn't get any obvious answers (never used it before)
The error I get on the form is
An error occurred accessing a data source.
An entry has been added to the Windows event log of the server.
Log ID:5566
An error occurred accessing a data source.
An entry has been added to the Windows event log of the server.
Log ID:5566
An error occurred accessing a data source.
An entry has been added to the Windows event log of the server.
Log ID:5566
Some rules were not applied.
The \LOGS\ folder says something slightly more useful
02/02/2009 11:14:43.30 w3wp.exe (0x1428) 0x0810 Forms Server Forms Services Data Objects 13zh Exception System.Net.WebException: The remote server returned an error: (401) Unauthorized. at System.Net.HttpWebRequest.GetResponse() at Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.GetResponseHelper(WebRequest request, DataAdapterTimer dataAdapterTimer, DataAdapterCredentials credentials, Stopwatch timer, ExecWebRequestExceptionState state, String adapterName, Boolean isQuery) at Microsoft.Office.InfoPath.Server.SolutionLifetime.WebServiceHelper.ExecWebRequestSync(XPathNavigator inputSubDOM, Boolean[] inputUseDataset, XPathNavigator resultsSubDOM, Boolean resultUseDataset, XPathNavigator errorsSubDOM, Uri serviceUrl, Uri soapAction, Int64 timeOutMillisec, Solution solution, Document document, String name, Boolean isQuery, DataAdapterTimer dataAdapterTimer, DataAd... 91903a1a-8b2b-4702-88ac-d94bdea0f396
02/02/2009 11:14:43.30* w3wp.exe (0x1428) 0x0810 Forms Server Forms Services Data Objects 13zh Exception ...apterCredentials credentials, Boolean useDcl, Boolean useProxy, Boolean useSelf) 91903a1a-8b2b-4702-88ac-d94bdea0f396
02/02/2009 11:14:43.30 w3wp.exe (0x1428) 0x0810 Forms Server Forms Services Runtime - Data C 82fy Warning The following query failed: GetUserProfileByName (User: DOMAIN\user, Form Name: Timesheet, IP: , Request: http://server/_layouts/FormServer.aspx?XmlLocation=/Intranet/HR/Timesheets/Development+Timesheet-2009-01-26-User+Name.xml&Source=http://server/Intranet/HR/default.aspx&DefaultItemOpen=1, Form ID: urn:schemas-microsoft-com:office:infopath:Timesheet:-myXSD-2007-10-22T10-46-46, Type: DataAdapterException, Exception Message: The remote server returned an error: (401) Unauthorized. The remote server returned an error: (401) Unauthorized.) 91903a1a-8b2b-4702-88ac-d94bdea0f396
The event viewer on the server doesn't show anything at all.
It looks like permissions problem but suggestions on the net that I've tried such as turning off anonymous access are moot points because they aren't already on, authentication type is set to NTLM (we are authenticating against AD) and switching to Kerboros just breaks any access to the server at all.
I am really stumped and just need ideas on which way to focus with this. Anyone installed last week's hotfixes/updates and had this problem? Did they switch on some obscure security option that is breaking the permissions to browser based webservice data connection calls ?
Many thanks for any advice you can offer!