Updating form gives error - InfoPath cannot submit the form... The file is in use by another application or user - InfoPath Dev
in

InfoPath Dev

Now you can find InfoPathDev on YouTube and Twitter!
Find Qdabra on Facebook

Updating form gives error - InfoPath cannot submit the form... The file is in use by another application or user

Last post 02-15-2010 03:29 PM by DanDraney. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 02-04-2010 10:55 PM

    • SimonHall72
    • Not Ranked
    • Joined on 02-05-2010
    • Brisbane, Australia
    • Posts 4

    Updating form gives error - InfoPath cannot submit the form... The file is in use by another application or user

    I've seen a few messages about this error around the place and nobody seems to know how to fix it.

    I've got users who are updating infopath forms stored on a form library.  Every now and then they get the following error:

    'InfoPath cannot submit the form.An error occurred while the form was being submitted.

    The form cannot be submitted to the following location: http://internalurl/MyForm.xml

    The file is in use by another application or user. 

    The files are not being used by other people.

    Anybody found a fix fo this problem?

    Cheers.

  • 02-04-2010 11:49 PM In reply to

    Re: Updating form gives error - InfoPath cannot submit the form... The file is in use by another application or user

    first error "Infopath cannot submit the form. an error occurred while the form was being submitted" can be caused by various things. e.g. submit code failing, adequate permissions not available on server, server too busy, server not available...

    "the file is in use by another application or user" some times the forms get checked out and are not checked in, that is when these sort of errors come, or the form could be actually used by someone else...

     

    Qazi Anis
    Programmer Analyst
    Bitwise Solutions
    my blog
  • 02-07-2010 04:53 PM In reply to

    • SimonHall72
    • Not Ranked
    • Joined on 02-05-2010
    • Brisbane, Australia
    • Posts 4

    Re: Updating form gives error - InfoPath cannot submit the form... The file is in use by another application or user

    The form does actually submit and a workflow runs sending notifications that the form has been updated.  The modified, and modified by fields are even updated correctly.

    So its none of the problems you've suggested.  It's a random error that is not possible to reproduce with certainty.

  • 02-07-2010 09:16 PM In reply to

    Re: Updating form gives error - InfoPath cannot submit the form... The file is in use by another application or user

    you mean to say that even if the user recieves the error message, the form gets updated in the doc lib. that sounds sort of strange.

    are you using managed code to submit the forms,

    can you attach (reply -> options ->add/update)  the template so that we can have a look at it and might be find out what might be going wrong.

    Qazi Anis
    Programmer Analyst
    Bitwise Solutions
    my blog
  • 02-15-2010 03:29 PM In reply to

    Re: Updating form gives error - InfoPath cannot submit the form... The file is in use by another application or user

    Are you using alternate access mapping for the site?

    For example, "intranet:66666" and "myhost.mydomain.local" and "myhost" all point to the same site collection. If the form's dataconnection points to "myhost," and user accesses a previously submitted form with IE at the hostname "intranet:66666" the form will open, but the new Submit opperation will fail. Saving the changes still works. If the user accesses the same form with IE using hostname "myhost" the re-submit works fine.

    In my case, I'm emailing the second user a link with a SharePoint Designer workflow. The workflow link ("Encoded Absolute URL") gives the "intranet:66666" hostname that no one uses. Anyone have an "easy" fix for that? I can build a dynamic string in the Designer workflow with the correct URL, but it would be nicer if Designer fetched the friendly hostname.

    MOSS 2007 / InfoPath 2007

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