Cannot create a form in a browser but can view edit - InfoPath Dev
in

InfoPath Dev

Cannot create a form in a browser but can view edit

Last post 08-01-2013 05:12 AM by claydevin. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 10-13-2012 02:24 PM

    Cannot create a form in a browser but can view edit

    When I click Add Document or  New Document in the ribbon I get:  Error: There has been an error while loading the form.

    I have the InfoPath form compatiblity set, the sharepoint form library set to open in browser and there are no errors in design checker nor logic inspector.  When I switch the library settings to open in Client and create a form it works fine. I can even edit that form in a browser.   The issue is solely around the creation of the fom in the browser.

    Variables:

    • SharePoint 2010 
    • Infopath 2010
    • Creating a form that is a Infopath 2007 Web Browser Form Template
    • 3 secondary data sources -  Receiving information and one is from the library itself (ID)

    Any ideas would be great!

    =================================================

    This is what I've pulled from the correlation idea in the logs:

    =================================================

    Name=Request (GET:http://exacnet.exac.com:80/Compliance/_layouts/FormServer.aspx?XsnLocation=http://exacnet.exac.com/Compliance/Form%20Library/Needs_Assessment.xsn&OpenIn=browser) cbaa7fb2-3c84-4fa3-90c0-633346933e80

    The form template failed to load. (User: COMPANY\CLAY.DEVIN, Form Name: Needs_Assessment, IP: , Request: http://COMPANY.sites.com/_layouts/FormServer.aspx?XsnLocation=http://COMPANY.sites.com/Compliance/Form Library/Needs_Assessment.xsn&OpenIn=browser, Form ID: urn:schemas-microsoft-com:office:infopath:Needs-Assessment:-myXSD-2011-07-06T13-01-25, Type: ArgumentException, Exception Message: Value does not fall within the expected range.) cbaa7fb2-3c84-4fa3-90c0-633346933e80
    Unhandled exception when rendering form System.ArgumentException: Value does not fall within the expected range.    

  • 10-15-2012 03:59 AM In reply to

    Re: Cannot create a form in a browser but can view edit

     Hi-

    I would check to see what's happening on load. Are there data connections that execute on load? Are there on load rules?

    If so, one of those is likely causing this. To troubleshoot, disable some of these so they don't execute on load. Republish the form and try. This will allow you to narrow down the error to a specific data connection or rule.

    Good luck!

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


  • 10-15-2012 06:34 AM In reply to

    Re: Cannot create a form in a browser but can view edit

    Okay, removed the on-loads and there is still the error. Correlation ID is pretty useless. 

  • 07-31-2013 02:08 PM In reply to

    Re: Cannot create a form in a browser but can view edit

    Bueller?  Bueller?

  • 07-31-2013 10:28 PM In reply to

    Re: Cannot create a form in a browser but can view edit

    Dude, it's been 8 months... why the sudden resurrection on this thread?

    Let's debug it tomorrow. We're scheduled to talk. I'll take a swing at the bat. No Alex Rodriguez here, but when I hit the ball, you know there are no Biogenetic compounds.... :)

    Patrick Halstead
    Project Manager at Qdabra
  • 08-01-2013 05:12 AM In reply to

    Re: Cannot create a form in a browser but can view edit

    Patrick, Thanks a ton for the response and yes, we need to discuss DBXL after I trial it today or tomorrow. This issue was resolved late last night. Removing the data connections one at a time, there was a connection that referenced the library the forms are stored. Not on Form Load, but the connection was meant to pull in the ID field and display as the form number. Worked in the client, not in a browser. Running Fiddler, the browser came back with a 401 Unauthorized, very confusing. Deleted the connection and all is working. Thanks again!
Page 1 of 1 (6 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.