21. February 2010 14:08
Today I got around building another SharePoint 2010 environment because I wanted to enter in the Use InfoPath 2010 with SharePoint 2010 Beta and Win an XBox360 Elite!and need a clean environment and I ran into a interesting error when trying to edit a SharePoint List with InfoPath. When I created the new application and site collection I just used server name. When accessing it from the server the URL worked just fine as http://servername but when accessing it from my Windows 7 VM I had to use the fully qualified server name. No big deal with SharePoint because everything worked as expected. When I tried to edit my custom SharePoint List with InfoPath then I got the below error.
“InfoPath cannot generate a form template for the SharePoint list.”
“The SOAP response indicates that an error occurred on the server:”
“Server was unable to process request. ---> The Web application at http://url/_vti_bin/FormServices.asmx could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.
After reading the error message I tried the FormServices.asmx url in the browser and it worked without a hitch. Then I thought about it a little more and the last part of the error message. I’m using the fully qualified URL because I’m running from my VM but the fully qualified URL is not part of Alternate Access Mapping so I just went to Central Admin and AAM page and added the URL as Intranet and tried it again and everything worked without a hitch.