I'm fairly new to SharePoint and InfoPath. I've been reading a lot on it, and have made a bit of progress - you guys have been really helpful.
I'm having a bit of a problem using the GetUserProfileByName function to display a greeting with the user's first name. Everything works just fine when I test it locally within the network, but when I access the form from the web, I get an error message. This is what is logged:
The following query failed: GetUserProfileByName (User: DOMAIN\sp_sql, Form Name: Hardware Support Requests, IP: , Connection Target: , Request: http://portal.domain.com/_layouts/FormServer.aspx?XsnLocation=http://portal.domain.com/Hardware Support Requests/Forms/template.xsn&SaveLocation=http://portal.domain.com/Hardware Support Requests&Source=http://portal.domain.com/Hardware%2520Support%2520Requests/Forms/AllItems.aspx&DefaultItemOpen=1, Form ID: urn:schemas-microsoft-com:office:infopath:Hardware-Support-Requests:-myXSD-2011-02-17T16-02-58 Type: DataAdapterException, Exception Message: The remote name could not be resolved: 'portal.domain.com'
The remote name could not be resolved: 'portal.domain.com')
I'm thinking it might be a problem with AAM, and to be truthful, I don't know too much about it. Everything I know so far I've read on my own or asked questions on here.
For my mapping, I have http://servername in as the default zone, and http://portal.domain.com as the internet zone. I set up a DNS pointer from http://portal.domain.com to the static IP for the SharePoint server, but since I'm behind a firewall, I have the firewall accepting all traffic and pointing it to the SharePoint server.
Is there anything I might be doing wrong?