none
PDF documents are not overwriting in sharepoint 2007 site

    Question

  • I have one staging sharepoint 2007 site and production sharepoint 2007 site. Users updating at the staging environment and we are using content deployment to change the content in the production site.We are mainly uploading and updating  PDF documents. Content deployment is scheduled every 15 minutes. PDF are uploading but not updating, the production is still displaying the older version of the pdf files.

    We have set up no check out for the document edit at the production environment. We cant overwrite any pdf file in this production environment.

     

    Any help really appreciated.

     

    Thanks


    Developer
    • Moved by Mike Walsh FIN Tuesday, June 08, 2010 6:50 AM not general (From:SharePoint - General Question and Answers and Discussion (pre-SharePoint 2010))
    Tuesday, June 08, 2010 4:24 AM

Answers

  • Thanks a lot. That worked!!

     

    Actually i spent a lot of time for this one, trying to use some kind of custom solution and all.

    But this is a great suggestion and really appreciated!.

     

    Thanks

     

     


    Developer
    • Marked as answer by Stanfford Liu Monday, July 05, 2010 4:02 AM
    Wednesday, June 30, 2010 2:49 PM

All replies

  • Hi,

    are you planing to append the text in exisiting pdf file?


    ullasjoshi
    Tuesday, June 08, 2010 9:20 AM
  • Yes. I am planning to append the text in the existing pdf file. I checked out the file first and then saved to my local folder and upload again with the overwritten checkbox enabled, then finally i didnt get the changes in the pdf.

    I am checking different ways to get this work done, but no hope.

     

    Any help greatly appreciated!

     

    Thanks

     


    Developer
    Tuesday, June 08, 2010 1:32 PM
  • Hi,

     

    I assume you have two pdf files and they have different contents.

    Let’s say 1.pdf and 2.pdf.

    Please try to check it as following:

    1.      Upload 1.pdf to SharePoint site

    2.      Delete 1.pdf in local

    3.      Change the name of 2.pdf to 1.pdf

    4.      Upload 1.pdf to SharePoint site

    5.      And then could you get the two version of this document with different contents?

     

    Please let me know the result.

     

    Hope this helps

     

    Thanks!

    Stanfford

     

    Thursday, June 10, 2010 8:24 AM
  • HI,

    Thanks for the reply.

    Actually I have one pdf file and I uploaded to Sharepoint site, then i want to update the same pdf , i uploaded it again with overwriting option enabled, but i am not getting the changes i made to the pdf.

    Thanks

     


    Developer
    Thursday, June 10, 2010 1:40 PM
  • i know you have only one pdf file.

    because i have no pdf eidt tool, so i didn't change the content of pdf.

    in order to reproduce your issue, i use the way i said in previous reply.

    please have a try and let me know the result.

    Friday, June 11, 2010 3:07 AM
  • Thanks for the reply.

    In the second step you are saying i need to delete the document from my local folder but not from the share point right?

     

     


    Developer
    Friday, June 11, 2010 4:18 AM
  •  

    yes.

    1.      Upload 1.pdf in local to SharePoint site

    2.      Delete 1.pdf in local

    3.      Change the name of 2.pdf in local to 1.pdf

    4.      Upload 1.pdf in local to SharePoint site

    5.      And then could you get the two version of this document with different contents?

    Friday, June 11, 2010 7:33 AM
  • Hi,

    Sorry, I tried the above workaround and didnt even update the document. Its still showing the same content.

     

    Thanks

     

     

     

     


    Developer
    Friday, June 11, 2010 5:35 PM
  • after you finished updating the document, can you check the Event View and ULS logs.

    i can't reproduce your issue in my local.

     

    Monday, June 14, 2010 2:03 AM
  • I am not getting any error message. The document is still the older version, we cant see the changes we made to the document. This is only for PDF documents. Is that some thing with Cache or Alternate Access Mapping or any thing like that.?
    Developer
    Monday, June 14, 2010 10:09 PM
  • I have recently resolved an issue like this. Not sure if this is the case you're facing. In my case, this is just a disk-based caching enabling. Just open the web.config of the web application and check if the BLOBCACHE setting is enabled and if the pdf file type is specified in. For more information, take a look here http://msdn.microsoft.com/en-us/library/bb727371%28office.12%29.aspx#MOSS2007OptPerfWCM_ServerResponseTimes

     

    Hope this helps,

    tvpham

    Tuesday, June 29, 2010 11:53 AM
  • yes i checked my web.config and looks like pdf is in that list. I just removed pdf from web.config and tried it, but didnt change the document. actually i didnt make a iisreset, but i need to do that too.

    But i noticed one thing my site has alternate access mapping when i checked the site with servername:port/sitename/doclib/s1.pdf, i was able to see the update, but when i use that alternate name like alternateaccessmappingname/sitename/doclib/s1.pdf i couldnt see the update.

     


    Developer
    Tuesday, June 29, 2010 9:12 PM
  • Seems like you are working on a couple of sites that have different web applications (e.g. internal & internet site). So my suggestion is to scan all web.config files of all relevant web applications and change the setting as you did
    Wednesday, June 30, 2010 9:59 AM
  • Thanks a lot. That worked!!

     

    Actually i spent a lot of time for this one, trying to use some kind of custom solution and all.

    But this is a great suggestion and really appreciated!.

     

    Thanks

     

     


    Developer
    • Marked as answer by Stanfford Liu Monday, July 05, 2010 4:02 AM
    Wednesday, June 30, 2010 2:49 PM
  • can you post how did you resolve your problem, is it  BLOBCACHE setting?

    Thursday, July 01, 2010 2:06 AM