.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

Document IDs errors when using two separate SCs

Posted By:      Posted Date: September 19, 2010    Points: 0   Category :SharePoint

I have two site collections. The first (source) is a Document Centre, the second (target) is a records centre. I am trying to send a document from the source to the target. I have setup the connection and have also set the source as a content type hub. I have also setup the SCs so that they have different Document ID prefixes.

I create a document in source and check to ensure the doc ID is correct, and it is.

I send it to the RC. It lands up in the drafts folder which applies a content organiser rule and sends it to the Records Library.

This all works fine.

I note that the record from the source is using the source prefix as the document ID, i.e. the document ID has persisted from one SC to the next, which is what I want.

Problem 1: If I search on the document id in the reords center i get no result and the message is No documents with the ID source-39-5 were found in this site collection. The search does work if i search for IDs with the prefix that belongs to the SC.

Problem 2: I send a document from source to target and a content organiser rul does not automatically send the document to the records library - i.e. it sits in the drop off library. The connection I am using uses the "move and leave a link". I test the link in the source and it works. I then add a rule, edit the properties on the document in the drop-off a

View Complete Post

More Related Resource Links

Moss 2007 Document check out and check in errors


Users are receiving errors when trying to check in documents.


"The Web server is busy. Try again later."


"This document was checked out to your local drafts folder but the local copy could not be checked in to the site. Close any application that is editing the document and try to check in again, or discard the checkout."


"There is a problem with the Web server. Try again later, or contact the server administrator."

Workstation has office 2007, upgraded from 2003. Documents are being checked out, edited, and checked in properly. Any help appreciated. Thanks.

Shared document errors

I'm a rank amateur with Sharepoint (and IIS and SQL), but I've been tasked with getting a 2010 installation up and going, so I'm sure I'm going to have a lot of .... interesting questions over the next few weeks and months.   So a couple weeks ago I installed a fresh 2010 Foundation server with it's very own fresh copy of SQL server. As I'm working through the "How To use" books I'm trying out the features.   My current issue is with the Shared document library.  I have successfully uploaded a file, and I can download it, but I can't check it out, or edit it.  (That might be due to using Word 2007, I'm not sure)   Regardless, when I try to check it out, it gives me the local directory prompt.  Then it gives the error.    "This document could not be checked out.  You may not have permission to check out the document or it is already check out or locked for editing by another user."   I'm the only one using this installation, and I'm a site/farm administrator so I'm not sure what it's problem is.   So I go into Manage Permissions -> Check permissions ->  Put in my name ->  Click Ok.   Which gives me:   Error File not found Correlation ID XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx Date and time : blah   So going to the ULS viewer, and checking the log (figur

SharePoint 2010 Document Center and Search Errors



I have created a new site collection based on the Document Center template and it was created properly. However, im getting couple of errors , such as:

Error 1: When I click on the Document ID settings (Site Settings--> Site Actions--> Site Collection Administration--> Document ID Settings) I get the following error msg:  An unxpected error has occured.

Error 2: After uploading a document into the Document Center, trying to search for that documnent (by the Document ID) using the search at the root site of the document center, I get the following error msg:

Could not look up Docment ID "xxxxxxxxxx" due to an error encountered in Microsoft Search Server,

Error HRESULT E_FAIL has been returned from a call to a COM component.

I have check all the services required for the Document Center including the Search Service and everything seems to be working properly.

I also traced the error (Error 2)exc in the logs through the Correlation ID, and this was the exception (Level: High):

SearchServiceApplicationProxy::Execute--Error occured: System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Error HRESULT E_FAIL has been returned from a call to a COM component. (Fault Detail is equal to An ExceptionDetail, likel

Errors with Using Document Library




I added a Document Library, as a web part in the header section of a SharePoint 2007/Microsoft Dynamics GP Business Portal 4.0 (32-bit) page.  I do not get any issues with actually adding this Document Library web part.  But, depending on how I use this web part, I get the "Server Error in '/' Application" error.  The remainder of the error does not offer any details.


Again, this web part is in the header of the web page and the page itself is the Purchase Request Details page of GP Requisition Management.  The error that I speak of appears in the Middle Column of the page where users view requisitioned items that they have entered.


Working with SharePoint document libraries

Document libraries are collections of files that you can share with team members on a Web based on Microsoft Windows SharePoint Services. For example, you can create a library of common documents for a project, and team members can use their Web browsers to find the files, read them, and make comments. Users with Microsoft Office 2003 can check out and edit the files as if they resided on a local or network drive.

By default, your team Web site comes with a built-in document library named Shared Documents, which is listed on the Quick Launch bar as well as on the Documents and Lists page.

jQuery $(document).ready() and ASP.NET Ajax asynchronous postback

Many call it the ASP.NET jQuery postback problem, but using the technique below should make it no problem anymore. $(document).ready() isn't called after an asynchronous postback. What this means? You lose the functionality that should be executed within $(document).ready() after an UpdatePanel rendered its contents after an asynchronous postback.

SharePoint Document Workspaces for Developers

Office 2003 is being released this month, and a cast of supporting applications is already available. One of these is Windows SharePoint Services 2.0, the free team add-on for Windows Server 2003. If you're not familiar with SharePoint Services basics, take a look at What Developers Need to Know About Windows SharePoint Services. In this article, I'm going to drill into one key place where SharePoint and Office 2003 overlap: document workspaces

Upload a File to a SharePoint Document Library - Part I

The following helper class demonstrates a few techniques that allow documents to be uploaded to a SharePoint document library programmatically without using the API or a custom web service. You don't need to specify a document library name, and it will create any folders specified in the URL as required. File meta data will be updated if any properties are passed.

SharePoint document migration challenges when migrating files and folders

There are several challenges when migrating documents to Microsoft SharePoint. While these challenges can be overcome, they are a real pain if the migration source, content and file systems are not SharePoint friendly.

How can I be sure that my entire project is up-to-date and free of errors in VS2010?


Seems like a stupid question, but I will go to Build > Build Solution many many times and the build will succeed many many times, then I will put in a minor syntax error and the build will fail, BUT the build will not fail because of the minor syntax error; it will fail because of an unresolved type that I put in about twenty compiles ago. And then I will fix the minor syntax eror, and the compiler will still complain about the unresolved type. Here is my code:

<%@ Register TagPrefix="FTB" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
  <form runat="server">
  Hello World!!  

Pretty simple, really. I go to Buld > Build WebApplication1 and it runs OK. Now, if I put in a minor syntax error, such as substitute "forrrrrrrm" for "form" and then try to Build Solution, it complains not about the misspelled word, but about the FreeTextBox. And then if I correct the misspelled wird, it still complains about the FreeTextBox. Which leads me to believe that Building the Solution does not check absolutely 100% everything that needs to be checked. Is there a more thorough way of compiling a program that I need to use?

Reference HttpApplication from a separate HttpApplication


I want to create a website that can monitor the status of other websites running on the same server. Is this possible? How do I get a reference to a site's HttpApplication context from a separate HttpApplication?

Word Automation - Multiple DCOM Errors/Behavior

Before I get started, I already know that Microsoft does not support and highly discourages server-based MS Office automation.  I've read a multitude of posts and smarmy "*wink*, here's a link" replies, so I'm looking for actual help here, not condescending reprimands.

That notwithstanding, here is my problem.  I have developed a simple method that will open a local Word document, modify some header information, and then save the document as a new file.  As expected, it works great as a console/windows app, but as soon as I went to ASP.NET, DCOM jacked my world up when accessing the app remotely from a different domain account (that has access to the ASP.NET app.  For reference, my method is shown below:


1    public static string ModifyAndSaveBuildDocument(string localFilePath, BuildDocumentType docType, string buildNumber, DateTime buildDate, string projectName)
2            {
3                try
4                {
5                    ProjectConfiguration config = (ProjectConfiguration)ConfigurationManager.GetSection("ProjectConfiguration");

Charset Problem with dynamically generated Word Document


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

Embed word document inside excel



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.

Thank you



Office Development: Manage Metadata with Document Information Panels


Here the author uses Document Information Panels in the Microsoft 2007 Office system to manipulate metadata from Office docs for better discovery and management.

Ashish Ghoda

MSDN Magazine April 2008

Toolbox: Logging Web App Errors, Learning LINQ, and More


See how to log Web application errors for better health monitoring, what to read if you're thinking about LINQ, and which blog Scott recommends reading this month.

Scott Mitchell

MSDN Magazine April 2008

Enterprise Library: Take Exception To Critical Errors With Custom Application Blocks


Enterprise Library is a collection of application functionality blocks that you can re-use in your application for common functionality you'd otherwise have to write again and again. Here Jay Hilyard explains how to use them.

Jay Hilyard

MSDN Magazine September 2006

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