Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Problem in uploading word document in share point server

  Asked By: Tameka    Date: Jul 21    Category: Sharepoint    Views: 1779

I am doing an application that will watch a particular directory
/folder (FileSystemWatcher) and upload the files and folder that are
added or modified in that directory to the share point server.

Here when the word document in client machine is opened even then it
is saved in the watching directory,the file is not uploaded to the server.

Sometimes it takes ~$test.doc as the filename .Even if got the
filename test.doc as correctly,the server returns an error 'The file
is used by another process'

Can any one suggest me what the actuall problem is,Whether we can
overcome this or not.If so how to overcome.

Share: 

 

6 Answers Found

 
Answer #1    Answered By: Shara Johnson     Answered On: Jul 21

Such a file  name means that somebody has currently opened  the file and
is reading it. You should let the user release the file lock before
trying to upload  it.

 
Answer #2    Answered By: Victoria Bell     Answered On: Jul 21

Initially i dont how to unlock the file.Now ,I have done it by using the
fileshare property of System.io.FileShare in VB.Net

 
Answer #3    Answered By: Cassidy Sharpe     Answered On: Jul 21

Actually I dont know how to release the file  lock.Plz do help me.

 
Answer #4    Answered By: Linda Mason     Answered On: Jul 21

Initially ,i dont know how to unlock the file.Now I have used the
fileshare property (VB.Net) to overcome this problem.

 
Answer #5    Answered By: Hans Weiss     Answered On: Jul 21

i get this error  in SPS when i try to add document  to
document libarary:
=====================
This form is not available for this list, discussion
board, survey, or document library.
If this problem  persists, please contact your
administrator.
======================

i check in the internet for solution but all what i
get is to delete that web part and recreated and that
is not solution.

and i read that the reson for this problem is :

======================
The issue may occur if the Upload.aspx file  is deleted
from the document library.
======================

 
Answer #6    Answered By: Alison West     Answered On: Jul 21

That's correct. If you tend to delete any files  within the folder  'FORMS' in a
doc library you will get the below error  message.

The only workaround is to move the files and recreate a new doc  library and
upload it.

 
Didn't find what you were looking for? Find more on Problem in uploading word document in share point server Or get search suggestion and latest updates.




Tagged: