View Complete Post
I have a situation where i need to move the document form one library(LB1) to another library (LB2) thorugh event handler code. For documents which are not available in LB2 it is working fine but a case where document is already existing in LB2 i need to
maintain the version instead , whereas my code is replacing the document already present.
Can anybody help me getting the versioning done through code?
We have a two server (WFE + DB) MOSS 2007 installation with MOSS Enterprise version on it.
We had uploaded about 7000 documents amounting to a total of about 2 GB of file size into a document library. We then ran a tool to update several metadata columns for all those 7000 in the library. However we had forgotten to turn off versioning.
This seems to have caused the document library size and thereby the content database size to expand massively and we dont need that to happen. So we turned off the versioning and assumed that the previous versions would be purged by SharePoint and our document
library size would reduce back to about 2 GB (total size of the documents uploaded into the library).
However the document library/content database has still not gone down in size. Can anyone suggest any ideas to make SharePoint purge / clean / delete the previous versions for all the documents - The worst part is we dont even see them in the version
history anymore, but they seem to be present in the background thereby causing the content database to increase in size significantly.
Please help !
recently I encountered a problem with Sharepoint 2007 versioning. As we known that, Sharepoint 2007 provides versioning capabilities which is a good thing. However, it will increase the version number every time the file is modified and checked in.
But my question is whether there is a way to let the user check in the file without increasing the version number or let the user specifiy the version number. Otherwise, it is not that flexible. Or is there a way to customize the versioning capability to support
manual version update? I appreciate if anybody can provie some hints on this. Thanks!
in my asp.net web application i am dynamically generating a word documnet out of a sql data. I have set the char set UTF-8 during the doument creation in code but still when i open the generated document and check it char set .. it is always windows-1252 not the one that i have set. My sql data in the document have special characters whihc can only be understandable using the UTF-8 charset otherwise its always ?T written in place of an apostrophy . Pasting my code here..
HttpContext.Current.Response.ContentType = "application/msword";
HttpContext.Current.Response.ContentEncoding = System.Text.UnicodeEncoding.UTF8;
HttpContext.Current.Response.Charset = "utf-8";
string strFileName = "Details" + ".doc";
HttpContext.Current.Response.AddHeader("Content-Disposition", "inline;filename=" + strFileName);
StringBuilder strHTMLContent = new StringBuilder();
string strMessage = " ";
DataView abstractview = (DataView)dsAbstract.Select(DataSourceSelectArguments.Empty);
foreach (DataRowView row1 in abstractview)
strMessage += "<table border='1' cellspacing='0' cellpadding='5' width
I am using ASP.NET and C# 2.0 and working on web application.
I want to embed a word document inside a excel sheet.
How to embed word document inside excel.
Developers often struggle with versioning workflows and their related classes. Matt Milner discusses the core issues related to workflow versioning and provides recommendations for making changes to workflow definitions, activities, and workflow services.
MSDN Magazine May 2009
Here the author uses Document Information Panels in the Microsoft 2007 Office system to manipulate metadata from Office docs for better discovery and management.
MSDN Magazine April 2008
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.
MSDN Magazine June 2006
At the beginning of another lovely day of writing courseware in mad pursuit of unrealistic deadlines, I received a frantic call from a business partner. He was at the end of a long consulting project and had several hundred MicrosoftÃÂ® Word documents, all of which required their document properties to be set identically, except the Title property of the document, which was to be based on the document file name, minus the .
MSDN Magazine March 2006