The file is in use by another application or user.

J

johnmsanchez

I know there are a few posts on the same topic, but I have tried all
the suggested solutions and nothing works so here is my exact
scenario:

I am using forms built in InfoPath 2003, now running in InfoPath 2007,
and submitting to SharePoint 2003.

I had to create a form approval process. I have InfoPath forms
published to a web server. Users click on a link, which opens the
form, and then submits the form, through code, to a SharePoint
library. The users are not allowed to access the SharePoint site,
hence why they access it via the web server. The approvers open the
form from the SharePoint library and attempt to approve the form, but
on the submit, through rules, they get this error:

InfoPath cannot submit the form.
An error occurred while the form was being submitted.
The form cannot be submitted to the following location: <form
location>
The file is in use by another application or user.

The strange thing is that the form does get submitted although they
receive this error, and when the user closes the form, they get a
message asking if they want to save the form. If the user clicks yes,
then the form saves over the existing, already approved form. I know
this because we have alerts set up and they receive two alerts during
this time. If they click no, the form closes accordingly, but the form
was still submitted initially on the "error-ed" submit.

Any and all suggestions are appreciated.
 
J

johnmsanchez


The steps in the link did not solve anything. I followed the steps
and I was able to successfully save the new name. I have been able to
establish that the form isn't "locked' by any user prior to this test,
the users simply get that warning and it has become a nuisance. It
would be nice to find the cause of this problem and fix it for my end
users. Thanks though!

-John S.
 
D

Dan Draney

In our system the problem is due to different "aliases" for the SharePoint host name. 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 gives the "intranet:66666" hostname that no one uses. Anyone have an "easy" fix for that?

MOSS 2007 / InfoPath 2007



johnmsanche wrote:

Re: The file is in use by another application or user.
18-Jul-07

On Jul 14, 1:38 am, Kalyan G Reddy MVP (GGK Tech

The steps in the link did not solve anything. I followed the step
and I was able to successfully save the new name. I have been able t
establish that the form isn't "locked' by any user prior to this test
the users simply get that warning and it has become a nuisance. I
would be nice to find the cause of this problem and fix it for my en
users. Thanks though

-John S.

Previous Posts In This Thread:

The file is in use by another application or user.
I know there are a few posts on the same topic, but I have tried al
the suggested solutions and nothing works so here is my exac
scenario

I am using forms built in InfoPath 2003, now running in InfoPath 2007
and submitting to SharePoint 2003

I had to create a form approval process. I have InfoPath form
published to a web server. Users click on a link, which opens th
form, and then submits the form, through code, to a SharePoin
library. The users are not allowed to access the SharePoint site
hence why they access it via the web server. The approvers open th
form from the SharePoint library and attempt to approve the form, bu
on the submit, through rules, they get this error

InfoPath cannot submit the form
An error occurred while the form was being submitted
The form cannot be submitted to the following location: <for
location
The file is in use by another application or user

The strange thing is that the form does get submitted although the
receive this error, and when the user closes the form, they get
message asking if they want to save the form. If the user clicks yes
then the form saves over the existing, already approved form. I kno
this because we have alerts set up and they receive two alerts durin
this time. If they click no, the form closes accordingly, but the for
was still submitted initially on the "error-ed" submit

Any and all suggestions are appreciated.

RE: The file is in use by another application or user.
Hello

Read the link belo
http://www.infopathdev.com/blogs/su.../Determine-Who-Has-a-SharePoint-Form-Open.asp

-
Kalyan G Reddy - INFOPATH MVP 200
http://www.ggktech.com

Re: The file is in use by another application or user.
On Jul 14, 1:38 am, Kalyan G Reddy MVP (GGK Tech

The steps in the link did not solve anything. I followed the step
and I was able to successfully save the new name. I have been able t
establish that the form isn't "locked' by any user prior to this test
the users simply get that warning and it has become a nuisance. I
would be nice to find the cause of this problem and fix it for my en
users. Thanks though

-John S.


Submitted via EggHeadCafe - Software Developer Portal of Choice
What's New for Developers in SharePoint 2010 Object Model?
http://www.eggheadcafe.com/tutorial...d8-3e2773fa29b5/whats-new-for-developers.aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top