.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

How to edit a word document located in sharepoint 2007 ?

Posted By:      Posted Date: October 13, 2010    Points: 0   Category :SharePoint

Hi all,

I would like to edit an existing Word document in sharepoint 2007 programmatically.

How can I do this ?



View Complete Post

More Related Resource Links

Converting Word Documents library to PDF document library in SharePoint Server 2007

My project requires me to create an event reciever such that when a word file is added to one library the same content pdf file should be added to other library also when a word file is updated,edited or checked in the respective pdf file in other document library should be replaced by a new pdf file with the edited word content . Can we do this in Sharepoint 2007 I have seen this can be done in Sharepoint 2010 http://msdn.microsoft.com/en-us/library/ff181518.aspx

Document is read-only in SharePoint, but user sees "check out" option in Office 2007 / Word / Excel

I am finding that when there is a document library in SharePoint with checkin/checkout required, if a user with read-only ("Visitor") permissions opens a document from that library, the document will open as read-only in Word, Excel, etc., but the user will see the "Server Document" bar with the message "To modify this document, you must check it out" and the "check out" button.  When the user tries to check the document out, they are asked to authenticate, and then receive the error "Cannot perform this operation.  The file has been deleted or someone else has it checked out."    How is it possible to prevent a user with read-only rights in SharePoint from seeing the "Check out" option in Word or Excel?

SharePoint 2007 Content Deployment Word Document URLs being changed


We created an application that leverages on SPExport and SPImport.

We noticed that when we export/import site, the links on the word documents pointing to same application on the target site seems to get truncated url, the url parameters (ie ?param1=a&param2=b) are truncated.

also the host header seems to get updated ie(http://my.shop.com/path1/path2 turns to like (http://hostheader/path1/path2) which is causing broken links.

need some help/advice/ suggestion.


Thanks a lot


Not able to edit the document in a SharePoint (Moss 2007) document library


Not able to edit the document (Office 2007) in a SharePoint document library, Its showing already checkout (locked for other users) by another user still that is checked-in and also if checked-out even the same user cheked-in. Please provide me the solution.




Blocking Edit Document for Read only users in SharePoint 2007

I'm trying to create a group in one of my sites that is Read only - truly read only.  Seems no matter what I do, the users can click on Edit Document, check out, check in, and the document is changed.  It doesn't show as changed in the Modified or Modified By columns, but the changes I make to test are there.  How do I create a group that can open a document, but can NOT check it out, can NOT Edit Document, and then check it back in?

Unable to edit and check out document in Sharepoint 2007


I am unable to edit document in SharePoint, and hit error with a message “The document could not be opened for editing. A Windows SharePoint Services compatible application could not be found to edit the document”.

When I try to check out a document it hits error with the message “object reference not set to an instance of an object.

Do you have any idea on these issues? As in the development server, I am able to check out and edit documents.



How to attach Custome Edit form to Document library using Sharepoint designer 2007



I have created lot  of costom .aspx page using  sharepoint desgner 2007 and attached to custome list successfully .   tha same  approach i followed for document library in moss 2007 . but i tried to attach that form to docment libarary  its giving error "The page you have selected does not contain a reference to the correct SharePoint list".  i ahve googled  to sort out the problem  and find out  content type should be 'Item' type. but this is document library  so  content  type is document . ther is no ther option  for Item.

Please help me to come out from this   problem.

I have created custom form using sharepoint designer 2007 .


Thanks and regards

Jandel Singh 



Display the Version of a MOSS 2007 Sharepoint document in Word 2007 and Excel 2007

Do somone have a step-by-step solution to this problem;   I have a liberary in SharePoint with version controll. In this liberary I have both Word and Excel documents.  Displaying the metadata from created columns are no problem, but  displaying the Version of the document generated by SharePoint is worse.  I do appreciate if someone can help me with this problem.

Word 2007 properties not syncronizing with the SharePoint 2007 document library


Hi everyone.

Anyone ever had trouble with document properties that does not syncronize between a Word 2007 document and the SharePoint library where it is stored?

I have a SharePoint library, that contains two content types. When I upload a pdf file, and set the property values everything is perfect. When I create a Word document and set the Properties using the DIP, the values are stored in the Word document (I see them in the DIP, inside the word xml files and in the fileds in the document where they are displayed (using quickparts)), but not transfered to SharePoint when I save the document to the library.

If I upload a Word document to the library, I am able to choose content type and set all the property values. But when I open the document for editing, all the property values in the DIP are empty. The DIP do show the correct property fields for that content type.

After creating new libraries, content types and creating, transfering and uploading files all day, I have not been able to locate what is causing this issue.

My users have been using this library for several months and use the documents on a daily basis, and this problem just got raised. My users are feeling scared that they have to recreate their library or site (which will involve manually updating all the document properties ). I hope someone are able to

Advanced Basics: Setting Word Document Properties the Office 2007 Way


The last time I wrote this column (March 2006), I shared an application that allows you to update all the Microsoft® Word documents in a folder and its subfolders. Each time the application finds a document in the specified path, it updates the document properties to match those you specified in the application.

Ken Getz

MSDN Magazine June 2006

Sharepoint 2007 Document Search and Highlight in Office 2007 and PDF


We will be implementing Document Search (DOC, DOCX, PDF, TIFF, PPT, PPTX, XLS, XLSX) for one of our customers. We were evaluating a few MOSS 2007 based solutions, and happened to visit your site.  What we intend to achieve are the following functionalities:


a.       User should be able to search through 1000s of documents which are in a Sharepoint Document Library

b.      The documents could be in English, International Languages.

c.       Each document is 70-100 pages, and therefore it is important that the Search Results show the relevant pages on which the Search Text appears (Get Highlighted) within each document . Clicking on the link will take the user to the right page.

d.      The additional requirement is Synonym search. So, I can search for

SharePoint 2007 uploading document limitation <=6 record ??

Dear Expert, I've 1 project of sharepoint which is involved a scanning solution + sharepoint (document library) People will scan a set of invoice thru scanning device and then export to sharepoint (document library) as a PDF file. 1 invoice may have many sheet, but our scanning solution will group it into 1 and save as 1 pdf. After upload to sharepoint (document library) my Workflow will start to running and routing for approval But if they upload more than 6 invoice then the 7th invoice will get a error on WF to start (intermittent case).  Isit sharepoint have a limitation number of uploading??  

How to use SharePoint Server 2007 SP2 to compare documents without opening one by one in Word ? (ver

Hi All, How to use / access the versiondiff.apsx feature ? I'm using SharePoint 2007 SP2 Enterprise but somehow i cannot use that features like in this website said: http://www.ssw.com.au/ssw/Standards/BetterSoftwareSuggestions/SharePointTeamServices.aspx for example: here's my document library - http://mossdev01/Correspondence/Forms/AllItems.aspx Diff - http://mossdev01/Correspondence/versiondiff.aspx --> FAILED 404 ? Any kind of help and suggestion would be greatly appreciated. Thanks, Albert/* Infrastructure Support Engineer */

SharePoint 2010 Office Web Apps "Word Web App cannot open this document for viewing because of an un

<label id="message" class="WACStandardDialogLabel">I have provisioned a SharePoint 2010 Server (RTM: 14.0.4762.1000)  with Office Web Apps.</label> <label class="WACStandardDialogLabel">It is a single server with a separate SQl 2008 Standard server.</label> <label class="WACStandardDialogLabel">I have seen that there were some issues in site that were configured with a port.  The Web Application I am having issues with is running on a port  and is extended on 443 as well.</label> <label class="WACStandardDialogLabel">I can view PPTX but Word docx files can't be viewed.  The word docx files howerver can be edited in the browser.</label> <label class="WACStandardDialogLabel">I get the following error when I try to view a word file in the browser:</label> <label class="WACStandardDialogLabel"></label> "Word Web App cannot open this document for viewing because of an unexpected error. To view this document, open it in Microsoft Word. Error Id: 7f644fec-c2d7-4387-b280-31a4647afea1, 20100509213834 " I am seeing an error in the event log that identifies the Application Service account (that includes the Word Viewer Service) can't access the portal site collection database.  -I am using the appl

Document Library Filtered by Document Type in Sharepoint 2007

Dear Friends, I have a doucment library where we uploade the word document, but when I uploade the document that time it show the all file type, Can I filtered those file type in sharepoint 2007, Its very urgent for me.  

Cannot create new document with word 2007

Hi!   I'm using WSS 3.0 for development on windows 7 64bit. I created a document library based on word 2003 template. Using Internet Explorer 8, when I click "New" button on the library word 2007 starts with "template.doc". Then word displays a nice error message "microsoft office word has not been installed for the current user. please run setup to install the application" and quits.   Things I tried and NOT working: - Adding sharepoint user to local admin - Giving Everyone full control to "C:\Users\All Users\Microsoft\OFFICE\DATA\OPA12.dat"  - deleting "C:\Users\All Users\Microsoft\OFFICE\DATA\OPA12.dat"   any suggestions ?

Sharepoint 2007 - 80GB Documents in 1 document library

Hi, My customer wants 'customer docs' in SharePoint. It is now stored on several disks and wants to move it to SharePoint 2007(!). It needs to go into a folder structure.....I'm now investigating the information that needs to move to SharePoint and it turns out a quick scan resulted in 210.000 documents with a total volume of 80GB. Off course this is raw data and thus containing archives, zips, access databases and a lost movie and the like (just like any normal network drive :-)). When I look at the limits and best practices: no folder should contain more then 2.000 items (OK) no doc lib should contain more then 2.000.000 items (more then OK) no file should be larger then 2GB (OK - we set it to a max of 150MB) It is all fine but my concern is the shear size of the total load. Let's say they don't migrate 80GB but 30-50GB. My Question: can a single MOSS 2007 document library hold this kind of documents and total size? What does this mean for overall performance, backup, search indexing, crawling etc etc?  Thnx for any tips!
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend