Infopath 2010 and Sharepoint 2007 web form will not publish - InfoPath Dev
in

InfoPath Dev

Infopath 2010 and Sharepoint 2007 web form will not publish

Last post 04-19-2012 09:23 AM by alberta. 8 replies.
Page 1 of 1 (9 items)
Sort Posts: Previous Next
  • 01-19-2012 01:20 PM

    Infopath 2010 and Sharepoint 2007 web form will not publish

    Greetings,

    I have a client who has a very simple no code form that was built in Infopath 2010 as a web 2007 form. I have tired to publish this form to a form library in sharepoint but every time that i do i get the following error:

    Could not verify the form template on the target server https://myserver/_vti_bin/FormsServices.asmx

     

    I have tired numerous ways to publish this form and I cannot get it to publish. This is the only error that occurs on verify so i know its not a non-compatiable field type. The account that i am publishing as is a Farm Administrator.

    This form was created by the client on his local machine and then published to the server. I have tried to publish the form from the server itself ( The client has a shared drive on his server that points to his local documents directory)

    Please advise and thanks in advance

  • 01-19-2012 07:37 PM In reply to

    Re: Infopath 2010 and Sharepoint 2007 web form will not publish

    In the publishing wizard, what "type" are you publishing as? Form library, content type, or admin approved template?

    Have you tried publishing a blank form and see if that works?

    Anson Hidajat
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™

  • 01-20-2012 05:10 AM In reply to

    Re: Infopath 2010 and Sharepoint 2007 web form will not publish

    I am publishing as a form library, I have tried another form as content type and still get the same message. I have not tried publishing a blank form yet. I will try that next thanks
  • 01-20-2012 06:17 AM In reply to

    Re: Infopath 2010 and Sharepoint 2007 web form will not publish

    I have tried publishing a new form and i still get the same error
  • 01-20-2012 06:58 AM In reply to

    Re: Infopath 2010 and Sharepoint 2007 web form will not publish

    I'd suggest checking the SharePoint logs or the event viewer logs to see more details about the error. Or have you checked that already?

    Jo-Anne Alfafara
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™
  • 01-20-2012 09:26 AM In reply to

    Re: Infopath 2010 and Sharepoint 2007 web form will not publish

    Activate NonAdminSolution failed with unhandled exception System.TypeLoadException: Method 'get_ServerInfo' in type 'Microsoft.Office.InfoPath.Server.SolutionLifetime.XmlFormProxy' from assembly 'Microsoft.Office.InfoPath.Server

    This is the error im getting

    Thanks

  • 04-18-2012 02:03 PM In reply to

    Re: Infopath 2010 and Sharepoint 2007 web form will not publish

     Has this issue been resolved? I am getting the same error "Could not verify the form template on the target server" , and it is preventing me from publish the form as web browser enabled.

    Note:  I am actually using SharePoint 2010.

    Thanks

  • 04-19-2012 04:57 AM In reply to

    Re: Infopath 2010 and Sharepoint 2007 web form will not publish

    Alberta,

    I did not correct this specific issue but i have seen this issue in a SharePoint 2010 and InfoPath 2010 form library. After working with Microsoft's support I discovered the problem to be in the xpath of my form. My form was using people pickers and querying the user profile service to pull in email address's of users. Is this your situation?  Here is the xpath:

    INCORRECT XPATH:

    xdXDocument:GetDOM("GetUserProfileByName")/dfs:myFields/dfs:dataFields/tns:GetUserProfileByNameResponse/tns:GetUserProfileByNameResult/tns:PropertyData/tns:Values/tns:ValueData/tns:Value[../../../tns:Name = "WorkEmail"]

    As you can see near the end of the statement there is tns:name

     The correct version replaced the tns:name with an s0:name

    CORRECT

    xdXDocument:GetDOM("GetUserProfileByName")/dfs:myFields/dfs:dataFields/s0:GetUserProfileByNameResponse/s0:GetUserProfileByNameResult/s0:PropertyData/s0:Values/s0:ValueData/s0:Value[../../../s0:Name = "WorkEmail"]

    Please understand I do not claim to be an XML expert as its a skill im learning in more depth so I cannot speak to the why or what of this error, just how I fixed it.

     If someone with more XML and Infopath knowledge would care to educate me I would appreciate it to further my knowledge.

    Please let me know if this helps you Alberta and if i can provide any more supporting details please let me know

    Good Luck

    SharePoint Kev

  • 04-19-2012 09:23 AM In reply to

    Re: Infopath 2010 and Sharepoint 2007 web form will not publish

    Interesting, we were not using that function, so my issue was different from yours it seems.

    Our issue occurred after we changed one of the data connections, so we went back to the form before the data connection change and redid the data connection and filter update etc, and we were luckier this time, and form still got warnings from Design Checker for these filters but the form was published without problem and now people could open it in browser.

    InfoPath for sure should give us clearer error message, an error message so generic is not helping us at all.

    Cheers

     

     

Page 1 of 1 (9 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.