Alternate Access Mapping - Infopath Webservice Connection Error
-
2012년 5월 22일 화요일 오후 3:01
Hey,
I use Infopath forms that access GetUserProfileByName and GetGroupCollectionFromUser services. Everything works fine as long as I use them with internal domains.
However if I open them through the external "sharepoint.company.com" domain, an error occurs that the connection to the services could not be established. I already tried to fix the error by disabling loopback check (http://social.technet.microsoft.com/Forums/en-US/sharepoint2010customization/thread/819b3dcd-43cf-4f91-b4c3-124e1b82ccf9) but nothing changed after I edited the registry.
Does anyone know other approches to fix this, I'm desperately looking for a solution?
(Everything else seems to work fine through the AAM domain.)
These are Sharepoint logs which show that a timeout occurs (sorry that they are in german, I don't like this either):
Runtime - Data Connections eq8l Warning The following query failed: GetGroupCollectionFromUser (User: INITS\atomancok, Form Name: Template, IP: , Connection Target: , Request: https://sharepoint.inits.at/Lists/Gewonnene Preise/AllItems.aspx, Form ID: urn:schemas-microsoft-com:office:infopath:list:-AutoGen-2011-12-11T19:42:05:619Z Type: DataAdapterException, Exception Message: Unable to connect to the remote server Unable to connect to the remote server) 560837dc-42f9-4080-b95f-a5ea7a24e32c
05/22/2012 16:05:43.95 w3wp.exe (0x0588) 0x03BC InfoPath Forms Services Runtime c4ni Unexpected Die Zeitdauer für das Laden des Formulars () hat den konfigurierten maximalen Schwellenwert überschritten. Dieser Schwellenwert kann mithilfe des Cmdlets 'SPIPFormsService -MaxFormLoadTime' der PowerShell konfiguriert werden. 560837dc-42f9-4080-b95f-a5ea7a24e32c
모든 응답
-
2012년 5월 22일 화요일 오후 6:15
InfoPath makes those calls locally on the server (itself), so make sure your network/DNS configuration allows for connecting to that url (http://sharepoint.company.com) from the server itself. Can you browse to that address when logged in on the server ?
Also try adding this URL in the HOSTS file pointing to 127.0.0.1 so that the request remains local for sure and see if that makes a difference.
What authentication is configured on the "external" domain ?
- 답변으로 표시됨 Caps94 2012년 5월 23일 수요일 오전 8:36
-
2012년 5월 23일 수요일 오전 8:36
Thank you very much - it was not possible to connect to the url from the server itself and adding the URL to the HOSTS file did the trick.
Afterwards I still had to add some certificates through managed trusts - now it works fine!
- 편집됨 Caps94 2012년 5월 23일 수요일 오전 8:36

