Hello,
I have created an InfoPath 2010 form, which uses the userprofileservice to get the current user's name and populate a name field on the form. This works in the preview but when I publish it to a SharePoint 2010 forms library and add a new item, I get the error below. When I click ok, it still goes to the form but the name is not auto-populated.
However, if i use the server name in the url, It works. For example, if the url is http://company.ca/blah it doesn't work. But if i replace it with the server name then it works like so: http://server/blah.
Any assistance that you can provide is greatly appreciated.