Tips & Tricks – Problem Occurring When Setting Infopath Data Connection to Sharepoint Library
The problem occurred when I tried to set a data connection in an Infopath template to specify the document library on a Sharepoint site where the form will be submitted to.
After I specified the Document Library and the file name and clicked the ‘Next’ button, a login window kept pop up and asked for credential.
I double checked the username and password which were correct and also the user has required permissions on the Sharepoint site. Then I started to suspect that the problem was caused by the security setting on the machine. As this is the development machine, the Infopath designer is at the same box of the Sharepoint server. The symptom of this problem is similar to the ‘loopback security checking’ issue occurring when using the fully qualified domain name (FQDN) to browse Sharepoint site from the Sharepoint server itself. However, this issue would not occur if browse the sharepoint site remotely.
So I gave a try to run the infopath designer and set the data connection at my personal machine (which was in the same intranet of the development machine), and it works this time. The login window did not pop up and the data connection was set successfully.