Adding data connection causes "Form has been closed" error in browser - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Adding data connection causes "Form has been closed" error in browser

Last post 11-19-2008 12:07 AM by hietaval. 8 replies.
Page 1 of 1 (9 items)
Sort Posts: Previous Next
  • 11-13-2008 04:10 AM

    Adding data connection causes "Form has been closed" error in browser

    Hi,

    I have faced strange behaviour with my Infopath 2007 project. The form worked fine untill I added new data connection of type 'receive data'. Even if I hadn't actually used the data connection in any field in the form this message prompts right after I click the first 'Submit' button in the form. The most strange thing is that the dataconnection I added and caused this error, doesn't have anything to do with the first submit button in the form. The other interesting thing is, that I have other 'Receive data' dataconnections to almost identical lists in the Sharepoint, which work fine.

    I have also tested opening infopath form in the Infopath client. This way the form works as it is expected to. The problem arises only when I open the form in browser. Design checker doesn't give me any errors.

     Can you please give me some ideas of what causes this error?

    Best regards,

    Valtteri

  • 11-13-2008 09:01 AM In reply to

    • Shiva
    • Top 25 Contributor
    • Joined on 04-15-2005
    • India
    • Posts 694

    Re: Adding data connection causes "Form has been closed" error in browser

    Hello Welcome to the Forums,

    Whichever you took the receive connection in InfoPath it is giving error while submitting the form. Can you check once again where you are using that receives connection in your form? If you want to check the receive connection is working correctly or not, while taking the receive connection you have to check the "Automatically retrieve data when form is opened" check box. Try to open the form then it will open successfully with out giving any error then your receive connection is correct.

  • 11-14-2008 07:25 AM In reply to

    Re: Adding data connection causes "Form has been closed" error in browser

    Hi,

    The form opens correctly, but when I click first button in the form (which includes actions: 'set field value' and ,'switch view'), the form prompts 'The form has been closed' message.

    This must be somehow connected to the receive data connection, because the form works fine when I delete this data connection. This is very strange because this dataconnection is not conected to any fields or rules in the form.

    I dont have a clue about what is the reason for this... Does anybody have? 

    BR,

    Valtteri

  • 11-15-2008 12:04 AM In reply to

    Re: Adding data connection causes "Form has been closed" error in browser

    Hi,

    Here the problem may be because of cross domian. Try changing your new receive data connection to udcx connection.

  • 11-17-2008 04:30 AM In reply to

    Re: Adding data connection causes "Form has been closed" error in browser

    Thanks for your idea, but it didn't help. Any other ideas?

    BR,

    Valtteri

  • 11-17-2008 05:48 AM In reply to

    • Anuma
    • Top 25 Contributor
      Female
    • Joined on 07-20-2005
    • India
    • Posts 525

    Re: Adding data connection causes "Form has been closed" error in browser

    Hi,

    I would recommend checking the log file to see exactly what the problem is first:
    Go to "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\LOGS" (or wherever your SharePoint logs are)
    Repeat the operation that causes a failure in IPFS and check the latest entry in the log (it should have "Forms Server" in it). It should give you a clue to what specifically is wrong. You can also use the Application Event Viewer to get some more details.

    You can see more information in this link: http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=4349

    Anuma Chinthapalli /
    http://www.GGKTech.com
  • 11-18-2008 05:50 AM In reply to

    Re: Adding data connection causes "Form has been closed" error in browser

    The description for Event ID 5000 from source Office SharePoint Server Error Reporting cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event. The following information was included with the event:  ULSException12w3wp.exe7.0.6001.1800047919ed8System.Xml2.0.0.047577dd0172839XmlException82ft the message resource is present but the message is not found in the string/message table

    Does this tell anything to anybody?

    -V

  • 11-18-2008 06:33 AM In reply to

    Re: Adding data connection causes "Form has been closed" error in browser

    Hi hietival,

    Were you able to approve the udcx connection on the SharePoint site? If not, you need to approve it by doing the following steps:

    1. Navigate to your data connection library.
    2. Click the down arrow of the udcx file you just created.
    3. Click the toggle for Approve/reject.
    4. Select Approve in the next page.
    5. Click OK.

    You need to make sure that all requirements for IPFS are set for you to start submitting from browser.

    Thanks,

    Jo-Anne Alfafara
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™
  • 11-19-2008 12:07 AM In reply to

    Re: Adding data connection causes "Form has been closed" error in browser

    Been there, done that :) So I have approved the UDC files. I have done +100 hours of work with this project and tackled many hard issues, but this bug makes me crazy.

    It seems that any secondary data connection I add to the form template will not work anymore. Not even the one I had already in use and which worked fine. If I delete that and create it again, it will not work. No matter how I try (in XSN or converted to UDCX)

    Does the fuctioning of dataconnections depend on the way the form template is published (to document library / as site content type)?

    -V

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