Can submit form, but not resubmit - InfoPath Dev Sign in | Join | Help in SharePoint Integration InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » SharePoint Integration » Can submit form, but not resubmit Having trouble finding a blog or post that answers your question? Check out our Custom Search Page Can submit form, but not resubmit Last post 10-06-2012 09:36 PM by Gennady Vanin (Геннадий Ванин, Новосибирск). 10 replies. Page 1 of 1 (11 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 06-21-2009 10:23 PM greenant Joined on 04-23-2009 Posts 17 Can submit form, but not resubmit Reply Contact Hi guys,Having a really annoying issue here.I have created an InfoPath 2007 form, and it is published to SharePoint (WSS3)I can create a new form and submit it to the Form Library, and can open and view the form afterwards.But when I go to resubmit the form, it fails.It gives me 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: https://sharepoint/Form_Library/Filename.xmlThe file is in use by another application or user.Any ideas? Filed under: infopath 2007, WSS 3.0, InfoPath Form Library, Form Submit 06-21-2009 11:30 PM In reply to greenant Joined on 04-23-2009 Posts 17 Re: Can submit form, but not resubmit Mark as Not AnswerMark as Answer... Reply Contact Some further info.I can open the form, make changes to it, save the form to my desktop, and then use the Upload function in SharePoint to upload it back to the form library (Allowing overwrites) and this will work.I do not want the user to have to do this though. 06-22-2009 03:15 AM In reply to ErnestoM Joined on 08-27-2007 Posts 3,056 Re: Can submit form, but not resubmit Mark as Not AnswerMark as Answer... Reply Contact When you created the data connection to submit to SharePoint, did you select the option to allow overwriting if the filename already exists? Ernesto MachadoQdabra® Software/ InfoPathDev.comThe InfoPath Experts – Streamline data gathering to turn process into knowledge.™ 06-22-2009 10:25 AM In reply to warrtalon Joined on 12-14-2007 Denver, CO Posts 980 Re: Can submit form, but not resubmit Mark as Not AnswerMark as Answer... Reply Contact That's strange, but it's likely being caused by your submit data connection as Ernesto was asking. Can you type out the specifics of your submit operation? You may need to spend time making your submit create a dynamic, automated filename such as in my blog post: Auto-Generating Filenames for InfoPath Forms Clayton Cobb || SharePoint MVP || Clayton's SharePoint MadnessPlanet Technologies || Federal Partner of the Year (2005-2010) || SLG Partner of the Year (2010) 06-22-2009 03:34 PM In reply to greenant Joined on 04-23-2009 Posts 17 Re: Can submit form, but not resubmit Mark as Not AnswerMark as Answer... Reply Contact Thanks for the replies.The Data Connection does allow for overwriting. That was one of the first things I checked, but I understand it was a question that needed to be asked, since I forgot to include that in my orignal (and second) posts! ;)I had tried two different submit methods.The first was a button with the default Submit action.The second was using rules. (Just a simple submit to data connection rule)I am doubting that this is an InfoPath issue now. I have discovered that my other forms have also stopped working as well.One of these I know for sure used to work. Now it too has come up with the same error as above, and I have not edited that form recently.It also turns out that the form does actually save, but still throws that error.I will do some checking to see if there have been any updates done to that server recently.Any other ideas would still be appreciated though. 06-22-2009 06:40 PM In reply to greenant Joined on 04-23-2009 Posts 17 Re: Can submit form, but not resubmit Mark as Not AnswerMark as Answer... Reply Contact Hi again,I have found the solution.The Data Connection in the InfoPath form submits to https.The SharePoint site used to default to https, but is now using http.When submitting a form opened in http, it tries to submit to https. It counts this as two separate people accessing the file.So, there's something to keep in mind for any others experiencing the problem 06-22-2009 07:05 PM In reply to warrtalon Joined on 12-14-2007 Denver, CO Posts 980 Re: Can submit form, but not resubmit Mark as Not AnswerMark as Answer... Reply Contact Hah, I was referring to your thread when I replied on MSDN. I hadn't noticed the same screen name on both. Clayton Cobb || SharePoint MVP || Clayton's SharePoint MadnessPlanet Technologies || Federal Partner of the Year (2005-2010) || SLG Partner of the Year (2010) 07-09-2009 01:39 PM In reply to jasonmmiller Joined on 07-08-2009 Posts 6 Re: Can submit form, but not resubmit Mark as Not AnswerMark as Answer... Reply Contact I would like to add that I experienced this same frustrating scenario. This thread make it click for me that the server address in the browser URL didn't exactly match the URL in the SharePoint submit rule. One was using the server name (server1) and the other the fully qualified name (server1.domain.net). Once I matched them up, it works flawlessly! 12-06-2010 09:54 PM In reply to Anna Marie Joined on 12-03-2010 Philippines Posts 1 Re: Can submit form, but not resubmit Mark as Not AnswerMark as Answer... Reply Contact I have quite the same problem... My goal is: I will save my form for now,then submit it to my boss later...You see, I have this SharePoint Library for Save: Infopath Forms... After reopening and completing filling-out the form, I cannot submit it to a different SharePoint Library (transfer). What should I do? Thanks.Anna 10-06-2012 11:32 AM In reply to Shaun789 Joined on 03-04-2012 Posts 4 Re: Can submit form, but not resubmit Mark as Not AnswerMark as Answer... Reply Contact I had this same issue and read some of the answers on this post, and none of them fit my situation. However, as I read that the name of the link had to match, I noticed that the list I was working with had spaces in the name. Here is an example: Address in web browser http://server/My List Name/Forms/AllItems.aspx Address in submit connection in Infopath http://server/My%20List%20Name Now, this should work, since %20 merely means spaces. But here is the error message in Infopath: InfoPath cannot submit the form. An error occurred while the form was being submitted. The form cannot be submitted to the following location: https://server/My List Name/Filename.xml The file is in use by another application or user. Notice there are spaces in the Infopath error message, and it does not include the %20. So I deleted the list, and recreated it on the same Sharepoint site, this time without spaces, and it works. The name was also shorter, so this could have been the problem as well. 10-06-2012 09:36 PM In reply to Gennady Vanin (Геннадий Ванин, Новосибирск) Joined on 06-12-2012 Novosibirsk (Новосибирск), S.Iberia, Russia Posts 408 Avoiding Spaces, Sharp, etc. symbols in names used by MS products Mark as Not AnswerMark as Answer... Reply Contact Shaun789: So I deleted the list, and recreated it on the same Sharepoint site, this time without spaces, and it works. The name was also shorter, so this could have been the problem as well. I always avoid spaces and some other symbols like #.And not only in names of Infopath or Sharepoint entities but also in directory paths, filenames used for Infopath forms and templates locallyI am not in MS testing team to report and describe all the problems, just a must that I always follow Gennady Vanin (Novosibirsk) --- Геннадий Ванин (Новосибирск) Page 1 of 1 (11 items) Copyright © 2003-2012 Qdabra Software. All rights reserved.View our Terms of Use.
Hi guys,Having a really annoying issue here.I have created an InfoPath 2007 form, and it is published to SharePoint (WSS3)I can create a new form and submit it to the Form Library, and can open and view the form afterwards.But when I go to resubmit the form, it fails.It gives me 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: https://sharepoint/Form_Library/Filename.xmlThe file is in use by another application or user.Any ideas?
Some further info.I can open the form, make changes to it, save the form to my desktop, and then use the Upload function in SharePoint to upload it back to the form library (Allowing overwrites) and this will work.I do not want the user to have to do this though.
When you created the data connection to submit to SharePoint, did you select the option to allow overwriting if the filename already exists?
That's strange, but it's likely being caused by your submit data connection as Ernesto was asking. Can you type out the specifics of your submit operation? You may need to spend time making your submit create a dynamic, automated filename such as in my blog post:
Auto-Generating Filenames for InfoPath Forms
Thanks for the replies.The Data Connection does allow for overwriting. That was one of the first things I checked, but I understand it was a question that needed to be asked, since I forgot to include that in my orignal (and second) posts! ;)I had tried two different submit methods.The first was a button with the default Submit action.The second was using rules. (Just a simple submit to data connection rule)I am doubting that this is an InfoPath issue now. I have discovered that my other forms have also stopped working as well.One of these I know for sure used to work. Now it too has come up with the same error as above, and I have not edited that form recently.It also turns out that the form does actually save, but still throws that error.I will do some checking to see if there have been any updates done to that server recently.Any other ideas would still be appreciated though.
Hi again,I have found the solution.The Data Connection in the InfoPath form submits to https.The SharePoint site used to default to https, but is now using http.When submitting a form opened in http, it tries to submit to https. It counts this as two separate people accessing the file.So, there's something to keep in mind for any others experiencing the problem
Hah, I was referring to your thread when I replied on MSDN. I hadn't noticed the same screen name on both.
I would like to add that I experienced this same frustrating scenario. This thread make it click for me that the server address in the browser URL didn't exactly match the URL in the SharePoint submit rule. One was using the server name (server1) and the other the fully qualified name (server1.domain.net). Once I matched them up, it works flawlessly!
I have quite the same problem... My goal is: I will save my form for now,then submit it to my boss later...
You see, I have this SharePoint Library for Save: Infopath Forms... After reopening and completing filling-out the form, I cannot submit it to a different SharePoint Library (transfer). What should I do?
Thanks.
Anna
Shaun789: So I deleted the list, and recreated it on the same Sharepoint site, this time without spaces, and it works. The name was also shorter, so this could have been the problem as well.
I always avoid spaces and some other symbols like #.And not only in names of Infopath or Sharepoint entities but also in directory paths, filenames used for Infopath forms and templates locallyI am not in MS testing team to report and describe all the problems, just a must that I always follow