I really don't understand what's going on. I've created an Infopath form that talks to a web service for its information. When I am in design mode and preview the form it works like a charm.
But when I open it normally I get the message: "InfoPath cannot create a new, blank form. InfoPath cannot open the form. To fix this problem, contact your system administrator."
Show Details revelas:
"Form template: ------.xsn
The following DataObject either cannot be created or cannot be initialized: Users
The query cannot be run for the following DataObject: Users
InfoPath cannot run the specified query.
Access is denied."
Any idea why this might be??
If setting Full Trust on the form doesn't work, you could be running into the issue described here: http://support.microsoft.com/kb/896861
(Many reports I've seen attribute the onset of the problem to ".NET Framework 3.5 SP1" being installed.)
One of our users was getting this error when opening an InfoPath form from a SharePoint site. He had some of our web servers listed in his IE trusted sites, as soon as we removed them the infopath form opened but he was prompted with a warning which he was able to click through and access the form. We also checked the 3 "Include all...." check boxes for the Local Intranet zone sites.
Also make sure Allow Data Access Across Domains is enabled for the Intranet/Trusted Sites zones. He had it set to prompt which may have been the real problem.
None of the IE tweaks made a difference in our environment. What did make a difference was going to the SP server, opening the Forms Library and clicking New Document. InfoPath immediately worked fine. The browser that fails is on a machine in a different domain than the browser that worked. Specifically, the failing browser is on a host O/S (WS2K8R2) on a corporate domain and the SP 2010 server is on a Private network VM for Dev/testing purposes (along with a DC VM as well).
It's a Trust issue, I agree; but, I don't think it's in the browser...