When submitting to SharePoint I receive the error message: There has been an error while processing the form - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

When submitting to SharePoint I receive the error message: There has been an error while processing the form

Last post 09-30-2010 09:59 PM by sukumarsb. 13 replies.
Page 1 of 1 (14 items)
Sort Posts: Previous Next
  • 06-15-2007 08:13 AM

    When submitting to SharePoint I receive the error message: There has been an error while processing the form

    Hello,

    I've developed an Infopath invoice form which receives customer data from a SharePoint list and a invoice id from a WebService.

    I've also added a button to be able to submit the filled out form with the desired naming convention to SharePoint.

    When I try to fill out and submit the form before it is published to SharePoint it works 100% fine. Needed data is received from SharePoint and if I use my submit button,

    the file is transfered correctly to SharePoint.

    But, as soon as I try to fill out the publish ed invoice on SharePoint via WebBrowser I receive a popup telling me: There has been an error while processing the form.

    When I click on error-details the following is written:

    Unexpected end of file has occurred. The following elements are not closed: dfs:dataFields, dfs:myFields. Line 1, position 516.

    System.Xml.XmlException: Unexpected end of file has occurred. The following elements are not closed: dfs:dataFields, dfs:myFields. Line 1, position 516.
    at System.Xml.XmlTextReaderImpl.Throw(Exception e)
    at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
    at System.Xml.XmlTextReaderImpl.ThrowUnclosedElements()
    at System.Xml.XmlTextReaderImpl.ParseEndElement()
    at System.Xml.XmlTextReaderImpl.ParseElementContent()
    at System.Xml.XmlTextReaderImpl.Read()
    at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
    at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
    at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
    at System.Xml.XmlDocument.Load(XmlReader reader)
    at Microsoft.Office.InfoPath.Server.Xml.InfoPathXmlDocument.Load(XmlReader reader)
    at Microsoft.Office.InfoPath.Server.DocumentLifetime.DataObject.<>c__DisplayClass3.<.ctor>b__0()
    at Microsoft.Office.Server.Diagnostics.FirstChanceHandler.ExceptionFilter(Boolean fRethrowException, TryBlock tryBlock, FilterBlock filter, CatchBlock catchBlock, FinallyBlock finallyBlock)
    at Microsoft.Office.Server.Diagnostics.ULS.SendWatsonOnExceptionTag(ULSTagID tagID, ULSCat categoryID, String output, Boolean fRethrowException, TryBlock tryBlock, CatchBlock catchBlock, FinallyBlock finallyBlock)
    at Microsoft.Office.InfoPath.Server.DocumentLifetime.DataObject..ctor(EnhancedBinaryReader reader, Solution solution)
    at Microsoft.Office.InfoPath.Server.DocumentLifetime.DataObjects.<>c__DisplayClass2.<.ctor>b__0(EnhancedBinaryReader innerReader, DataObject& newObject)
    at Microsoft.Office.InfoPath.Server.Serialization.EnhancedBinaryReader.ReadObjectMap[KeyT,ValueT](Dictionary`2 map, ItemReaderDelegate`1 readKey, ItemReaderDelegate`1 readValue)
    at Microsoft.Office.InfoPath.Server.Serialization.EnhancedBinaryReader.ReadObjectMap[ValueT](Dictionary`2 map, ItemReaderDelegate`1 readValue)
    at Microsoft.Office.InfoPath.Server.DocumentLifetime.DataObjects..ctor(EnhancedBinaryReader reader, Solution solution)
    at Microsoft.Office.InfoPath.Server.DocumentLifetime.DocumentSessionState.DesterilizeVersion1(EnhancedBinaryReader reader, Solution solution)
    at Microsoft.Office.InfoPath.Server.DocumentLifetime.DocumentSessionState..ctor(EnhancedBinaryReader reader, Solution solution)
    at Microsoft.Office.InfoPath.Server.DocumentLifetime.DocumentSessionState.CreateFromByteArray(Byte[] serializedSessionState, Byte[] serializedVersionState, Solution solution)
    at Microsoft.Office.InfoPath.Server.DocumentLifetime.DocumentSessionStateManager.GetSessionState(HttpContext context, String editingSessionID, Solution solution)
    at Microsoft.Office.InfoPath.Server.DocumentLifetime.Document.LoadFromSession(HttpContext context, SPSite contextSite, EventLogStart eventLogStart, Solution solution)
    at Microsoft.Office.InfoPath.Server.Controls.PostbackPage.<>c__DisplayClass1.<ProcessRequest>b__0()

    The form is fully trusted.

    I don't know how I can resolve the error.

    Any advices would be great! Thank's in advance. 

    Greets!

  • 06-15-2007 11:49 AM In reply to

    Re: When submitting to SharePoint I receive the error message: There has been an error while processing the form

    Hi Peter,

    This is a weird error - did you try re-publishing the form to see if maybe something got corrupted on upload? That's really the only thing I can think of.

    You say from the web browser - does that mean you are filling it out from a computer that does not have InfoPath installed or are you simplying opening the form from a URL and then editing in InfoPath? If the latter is the case, then I will be really perplexed.

    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 06-15-2007 01:25 PM In reply to

    Re: When submitting to SharePoint I receive the error message: There has been an error while processing the form

    Thanks for your reply!

     I reedit and republished the form several times. Perhaps I should try to publish the form on another MOSS installation...

    The computer has Infopath installed, but I want to fill it out using the Infopath Forms Services via browser.

     

  • 06-16-2007 09:03 AM In reply to

    Re: When submitting to SharePoint I receive the error message: There has been an error while processing the form

    Ah, so it's a browser compatability problem.  Did you make sure to run the browser-compatability inspector? Or the Design Inspector?
    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 06-18-2007 05:30 AM In reply to

    Re: When submitting to SharePoint I receive the error message: There has been an error while processing the form

    Thanks for your support!

    Compatibiltiy is set to browser-compatability.

    Also the Design Inspector doesn't report any errors / warnings.

    I tried to deselect the "open in browser" within the document library and also get an error when opening the form from SharePoint in Infopath.

    I rechecked all settings and I found an error - I've selected "full trust" as security option but didn't select a certificate.

    So, I've set the security for this form to "domain trust" and now, I can open the form from SharePoint in Infopath and correctly save the xml data from the filled out form to SharePoint.

    But I still have the problem, that I get an error when trying to save the opened Infopath form within the browser (using forms services).

    The following error message I receive:

    Unexpected end of file while parsing Name has occurred. Line 1, position 684.

    System.Xml.XmlException: Unexpected end of file while parsing Name has occurred. Line 1, position 684.
    at System.Xml.XmlTextReaderImpl.Throw(Exception e)
    at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
    at System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res, String arg)
    at System.Xml.XmlTextReaderImpl.ParseQName(Boolean isQName, Int32 startOffset, Int32& colonPos)
    at System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag)
    at System.Xml.XmlTextReaderImpl.ParseEndElement()
    at System.Xml.XmlTextReaderImpl.ParseElementContent()
    at System.Xml.XmlTextReaderImpl.Read()
    at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
    at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
    at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
    at System.Xml.XmlDocument.Load(XmlReader reader)
    at Microsoft.Office.InfoPath.Server.Xml.InfoPathXmlDocument.Load(XmlReader reader)
    at Microsoft.Office.InfoPath.Server.DocumentLifetime.DataObject.<>c__DisplayClass3.<.ctor>b__0()
    at Microsoft.Office.Server.Diagnostics.FirstChanceHandler.ExceptionFilter(Boolean fRethrowException, TryBlock tryBlock, FilterBlock filter, CatchBlock catchBlock, FinallyBlock finallyBlock)
    at Microsoft.Office.Server.Diagnostics.ULS.SendWatsonOnExceptionTag(ULSTagID tagID, ULSCat categoryID, String output, Boolean fRethrowException, TryBlock tryBlock, CatchBlock catchBlock, FinallyBlock finallyBlock)
    at Microsoft.Office.InfoPath.Server.DocumentLifetime.DataObject..ctor(EnhancedBinaryReader reader, Solution solution)
    at Microsoft.Office.InfoPath.Server.DocumentLifetime.DataObjects.<>c__DisplayClass2.<.ctor>b__0(EnhancedBinaryReader innerReader, DataObject& newObject)
    at Microsoft.Office.InfoPath.Server.Serialization.EnhancedBinaryReader.ReadObjectMap[KeyT,ValueT](Dictionary`2 map, ItemReaderDelegate`1 readKey, ItemReaderDelegate`1 readValue)
    at Microsoft.Office.InfoPath.Server.Serialization.EnhancedBinaryReader.ReadObjectMap[ValueT](Dictionary`2 map, ItemReaderDelegate`1 readValue)
    at Microsoft.Office.InfoPath.Server.DocumentLifetime.DataObjects..ctor(EnhancedBinaryReader reader, Solution solution)
    at Microsoft.Office.InfoPath.Server.DocumentLifetime.DocumentSessionState.DesterilizeVersion1(EnhancedBinaryReader reader, Solution solution)
    at Microsoft.Office.InfoPath.Server.DocumentLifetime.DocumentSessionState..ctor(EnhancedBinaryReader reader, Solution solution)
    at Microsoft.Office.InfoPath.Server.DocumentLifetime.DocumentSessionState.CreateFromByteArray(Byte[] serializedSessionState, Byte[] serializedVersionState, Solution solution)
    at Microsoft.Office.InfoPath.Server.DocumentLifetime.DocumentSessionStateManager.GetSessionState(HttpContext context, String editingSessionID, Solution solution)
    at Microsoft.Office.InfoPath.Server.DocumentLifetime.Document.LoadFromSession(HttpContext context, SPSite contextSite, EventLogStart eventLogStart, Solution solution)
    at Microsoft.Office.InfoPath.Server.Controls.PostbackPage.<>c__DisplayClass1.<ProcessRequest>b__0()

    Any ideas?

  • 01-11-2008 04:26 AM In reply to

    • gurudatt
    • Not Ranked
      Male
    • Joined on 11-22-2007
    • Gurgaon,India
    • Posts 2

    Re: When submitting to SharePoint I receive the error message: There has been an error while processing the form

    I am facing exactly same problem. If you have found any resolution. Please let us know at my Email ID sushil.saini@globrin.com

     

    Thanks in advance

     

    Sushil Saini

     

  • 01-21-2008 12:40 PM In reply to

    • zullu
    • Not Ranked
    • Joined on 06-23-2007
    • Posts 6

    Re: When submitting to SharePoint I receive the error message: There has been an error while processing the form

    The may be if you have a secondary data connections that is not used anywhere in your main data source.

    Try to remove that and publish it again.

    HTH.

    Zullu

  • 02-18-2008 12:34 AM In reply to

    Re: When submitting to SharePoint I receive the error message: There has been an error while processing the form

    The tip with the 'secondary data connections' helped me out of trouble. Thank you!

  • 08-26-2008 07:12 AM In reply to

    • Aaron
    • Not Ranked
      Male
    • Joined on 08-25-2008
    • Newberg, OR
    • Posts 1

    Re: When submitting to SharePoint I receive the error message: There has been an error while processing the form

    The "Secondary Data Connections" issue also helped me.

    I was getting this error when I tried to close a form. Creating a new form, filling it out, and saving it caused no issues, but if you re-opened the form and tried to do anything else (save or close) you received the error. I ended up deleting a data connection to a SharePoint list that I wasn't using and that fixed the issue immediately.

  • 07-13-2009 10:29 PM In reply to

    Re: When submitting to SharePoint I receive the error message: There has been an error while processing the form

    hi,

    There seems to be a bug with infopath that is

    if you use a secondary data connection, Then you have to assign value of selected columns to some variables otherwise it can create problems in saving and submitting in browser

    thanks

    qazi

    Qazi Anis
    Technical Architect
    Bitwise Inc
  • 07-13-2009 10:31 PM In reply to

    Re: When submitting to SharePoint I receive the error message: There has been an error while processing the form

    easiest way of getting rid of it is to drop the secondary data connection on to your form in the form of a repeating table and hide it using conditional formatting

    Qazi Anis
    Technical Architect
    Bitwise Inc
  • 10-01-2009 07:26 AM In reply to

    Re: When submitting to SharePoint I receive the error message: There has been an error while processing the form

    Qazi Anis:

    easiest way of getting rid of it is to drop the secondary data connection on to your form in the form of a repeating table and hide it using conditional formatting

    I'm sorry, what?  I'm getting the same issue. I am importing data from Active Directory into my form, and I'm assuming that's the issue.  How can I import it without getting an error.

  • 10-01-2009 10:16 AM In reply to

    Re: When submitting to SharePoint I receive the error message: There has been an error while processing the form

    hi dtewfik, often when we use a secondary data connection, we dont often explicitly use (assign to some field)all the columns returned. This is not okay with infopath. We should make sure to use all the columns returned. we dont need to display them or any thing like that. we can just assign them to some dummy fields, As for you are concerned just make sure that such kind of problem is not there. The easiest way out for this is to just drag the secondary data connection on the form as a repeating table and hide it. But that often hampers speed

    Qazi Anis
    Technical Architect
    Bitwise Inc
  • 09-30-2010 09:59 PM In reply to

    Re: When submitting to SharePoint I receive the error message: There has been an error while processing the form

     Hi

    I am getting the same problem i tried a lot to debug but isnt working its givin me this error:

    Microsoft JScript runtime error: 'View DataNode.GetContent(...).2' is null or not an object

    and if i try to debug it its opening some code which i am not able to understand.Plz help me

    Thankyou in advance

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