Retrieve document count in document library

Guys, I'm trying to figure out how I can get the document count in a document library. I suspect we've reached the magical number of 5000 documents in a library which causes sync issues, and I need a way to find out if this is the case. I spend the last
45 minutes searching the web for a solution just to count the documents in a library, but apparently, Sharepoint does not offer an easy way to view this information. I've found custom webparts and even apps to get the document count, but they require some
in-depth Sharepoint knowledge I don't have.
One of the sites I found:
http://www.c-sharpcorner.com/UploadFile/anavijai/how-to-get-the-number-of-items-inside-the-folder-in-sharepoi/
Is there another "easy" way to view the amount of documents stored in the document library ona Sharepoint Online site? I tried to use the "Browse with explorer" button to count al the documents. It works, but it counts about 4800 documents,
so it probably does not count all the items stored.

Hi Tom,
According to your description, my understanding is that you want to retrieve the document count in document library.
I suggest you can query all document in all folders using Client Object Model. Before you use Client Object Model, you need to install the SharePoint Componments SDK firstly.
Here is a code snippet for your reference:
ClientContext clientContext = new ClientContext("your site");
Microsoft.SharePoint.Client.List spList = clientContext.Web.Lists.GetByTitle("Documents");
clientContext.Load(spList);
clientContext.ExecuteQuery();
if (spList != null && spList.ItemCount > 0)
Microsoft.SharePoint.Client.CamlQuery camlQuery = new CamlQuery();
camlQuery.ViewXml =
@"<View Scope='RecursiveAll'>
<Query>
<Where><Eq><FieldRef Name='FSObjType' /><Value Type='Integer'>0</Value></Eq></Where>
</Query>
</View>";
ListItemCollection listItems = spList.GetItems(camlQuery);
clientContext.Load(listItems);
clientContext.ExecuteQuery();
Console.WriteLine(listItems.Count);
Console.ReadKey();
Here are some detailed articles for your reference:
SharePoint Server 2013 Client Components SDK
Complete basic operations using SharePoint 2013 client library code
Best Regards
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Zhengyu Guo
TechNet Community Support

Similar Messages

  • Document Count

    Hello Gurus,
    I have a requirement to display the document count of Document numbers.
    I am querying on an infoset, which has a Cube and an DSO. The cube contains header data. Hence there is 1 count against the document number. The DSO holds item details, which would have more than 1 item per document number.
    When I execute the query I would like to see Count = 1, against Doc no. 10001, which has 3 line items in the DSO. Instead its showing the Count = 3.
    Is there a way around for this.
    Thanks in advance

    Hi,
        Just refer this document,
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/009819ab-c96e-2910-bbb2-c85f7bdec04a
    Hopefully this will work on Infoset also.
    Regards,

  • Create a new document in Sharepoint Document Library/OneDrive on iPad/Safari

    Hi,
    My users are having trouble creating a new document from OneDrive in Safari on their iPads. The screen goes grey like its going to show the popup to select the new file type, but the popup never comes up. If they clear their cache, it works for exactly 1
    time and then goes back to this behavior. I'm not exactly sure if it worked before and/or when it stopped working. The iPad I have tested was at the latest 8.2 version of IOS and my Sharepoint farm is an On-Prem install of 2013 with SP1 mark2. My WAC farm
    is also 2013 SP1.
    Any suggestions?
    Thanks,
    Matt

    Hi,
    I understand you are suffering the issue when create a document in Sharepoint Document Library/OneDrive on  iPad.
    According to the official article
    https://technet.microsoft.com/en-us/library/fp161353.aspx?f=255&MSPPError=-2147217396, the version of your iOS should be in the supported list. I guess the issue may start after you installed an update, and if there is any other version (low versions)
    of iPads in your company, please use a different version device to test the issue.
    Meanwhile, to determine whether the issue is related to your SharePoint environment, I suggest you just to register an Office 365 trail account, and test the issue with SharePoint Online. In case the same issue happens with SharePoint Online, the issue should
    be related to your client device, and my next suggestion is to contact support of your device manufacture.
    Once you need any help from SharePoint end, please don’t hesitate to come back, and we are always happy to support you.
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Error while programmatically adding a document to SharePoint document library

    Hello everyone,
    I have created a custom content type and modified the document template to use the quick parts inside the template.
    I have a document library which uses the custom content type. 
    I have a button inside a custom application page(created using visual studio). On click of this button I want to create a new document inside the document library using the custom content type and update other columns in the content type. I am able to create
    the document, but I get the below error when I open the document.
    public static void UpdateAndCreateFile(SPWeb web)
    try
    web.AllowUnsafeUpdates = true;
    string sList = "My Document Library";
    string sContentType = "My Custom Document";
    SPList list = web.Lists[sList];
    // this always uses root folder
    SPFolder folder = web.Folders[sList];
    SPFileCollection fcol = folder.Files;
    // find the template url and open
    string sTemplate =
    list.ContentTypes[sContentType].DocumentTemplateUrl;
    SPFile spf = web.GetFile(sTemplate);
    byte[] binFile = spf.OpenBinary();
    // Url for file to be created
    string destFile = fcol.Folder.Url + "/" + "test2.docx";
    // create the document and get SPFile/SPItem for
    // new document
    SPFile addedFile = fcol.Add(destFile, binFile, true);
    SPItem newItem = addedFile.Item;
    newItem["ContentType"] = sContentType;
    newItem.Update();
    addedFile.Update();
    web.AllowUnsafeUpdates = false;
    catch (Exception ex)
    // handle exception here
    The above code gives the same issue when I use the 'Document' content type instead of the "My Custom Document" content type. 
    The document looks/opens fine when I create it from the browser.
    Please let me know if you have any suggestions. Thanks.

    I could not figure out a proper solution, but here is what I did to get around the issue.
    I created a document using the document template and saved it to the library(same doc library) and named it as Sample.docx
    In my code, every time I had to create a document, I would just copy the Sample.docx file to the library, but make sure I rename the file when I copy it.
    Then I can use the url of the file I saved through my code and get the list item and update the other properties/columns of the content type
    Below is the code to use an existing file and create a new file
    public static void UpdateAndCreateFile(SPWeb web)
    try
    web.AllowUnsafeUpdates = true;
    string sList = "My Documents";
    SPList list = web.Lists[sList];
    // this always uses root folder
    SPFolder folder = web.Folders[sList];
    SPFileCollection fcol = folder.Files;
    SPFile file = fcol[sList + "/Sample.docx"] ;
    file.CopyTo(sList + "/" + "test1.docx", true);
    web.AllowUnsafeUpdates = false;
    catch (Exception ex)
    Thanks.

  • How to Restrict printing the document using IRM for a Single Document?Allow printing for some documents and restrict the printing for particular documents in same document library?

    Can we able to Configure the IRM in Document Level in SharePoint Document libraries?
    The document library contains multiple document sets , Can we restrict the printing according to document sets? Allow printing for some documents and restrict the printing for particular documents in same document library
     Is this possible?Please suggest.

    Yes, that can be done. But note that all administrators will have the same right to print, so you need to make sure the users are not administrators. You can include a macro to disable printing, but if the users disable macro, they can print the documents.
    Hence, there is no foolproof way to prevent printing documents. If you still need a foolproof security, PDF format provides password based security (viewing doesn't require a password) that can be implemented to prevent the document from printing,
    which doesn't require any special scripts and is tough.
    You can have a look at the following links:
    http://msdn.microsoft.com/en-us/library/office/ms458245(v=office.14).aspx
    http://msgroups.net/microsoft.public.word.docmanagement/prevent-printing-of-docum/91353
    http://www.go4sharepoint.com/Forum/prevent-printing-saving-documents-10150.aspx
    The following link explains about the security features in PDF. This is for information purpose only and not for promotion of any products:
    http://www.pdflib.com/knowledge-base/pdf-security/
    Balaji Kundalam

  • Moving documents to other document library using content organizer rule

    Hi Team,<o:p></o:p>
    I have created a content organizer rule to move documents from one document library to another.<o:p></o:p>
    I have two document libraries say Doc A and Doc B, where Doc A is a source library (where I will upload the documents) and a folder Fol 1 in Doc B is a target destination (where document should
    be moved). I got to know from one of the other posts is, Doc A should be involved in any of the content organizer rules to be able to move documents to Doc B.<o:p></o:p>
    Right now, I have not created any content organizer rule to involve Doc A. And, a folder Fol1 in Doc B is a target destination for my content organizer rule.<o:p></o:p>
    1. I have uploaded a document in Doc A and by using "Send To" command, I have send it to Doc B. This document properties fulfills content organizer rule condition. But still it stays
    inside Doc B only, and not moved to folder Fol1 automatically (which is expected, I hope so)<o:p></o:p>
    2. Now if I again update the properties of the document, it will still be inside Doc B only and not moved inside Fol1 <o:p></o:p>
    3. I have opened Doc B in File explorer using "Open with Explorer" command and copied a document inside Doc B. Now after refreshing Doc B, even though the newly added document fulfills
    the content organizer rule condition, it is not moved inside Fol1 automatically (which it should, I suppose)<o:p></o:p>
    Can you please help me with the queries above?<o:p></o:p>
    Many thanks up-front for your help and support.<o:p></o:p>
    Just for an FYI: The rule which I created is to check whether the document title is not Empty. If it is
    not, condition will be true.<o:p></o:p>
    Thanks,
    Vikas Mishra
    Vikas Mishra

    try these link:
    https://support.office.com/en-us/article/Configure-the-Content-Organizer-to-route-documents-b0875658-69bc-4f48-addb-e3c5f01f2d9a?ui=en-US&rs=en-001&ad=US
    http://www.boostsolutions.com/blog/how-to-create-content-organizer-rules-in-sharepoint-2010/
    http://community.office365.com/en-us/f/154/t/255043.aspx
    http://community.office365.com/en-us/f/176/t/252790.aspx
    https://support.office.com/en-in/article/Create-Content-Organizer-rules-to-route-documents-1e4d37a3-635d-4764-b0fc-f7c5356c1900

  • Restrict download of documents from a Document library

    Hi,
    I am working on a trial version of SharePoint online E3. I enabled IRM on it with a hope that it will restrict "DOWNLOAD" of documents from a document library itself. However to my bad, it seems it allows downloading... with imposed restrictions. 
    Can anybody help me in this? I need only some of the users to be able to download/print/copy documents from library and NOT all of them. Rest can only view the document. Is it possible in SP Online? 
    Is it possible in SharePoint 2010 or is it the same in here as well?

    Hi 
    yes,sharepoint online we can Use IRM. please refer yes, 
    http://office.microsoft.com/en-in/office365-sharepoint-online-enterprise-help/set-up-information-rights-management-irm-in-sharepoint-admin-center-HA102895193.aspx
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • PDF Document Counting Form Field

    I've searched and can't seem to find a solution to this - is there a way to include a document counter so that when a person opens or saves a pdf, it shows the number of that pdf. If I open it, it will show Doc #1 and the next person to open/save it, shows Doc #2 and so forth.
    Thank you!!!

    I know nothing about programing.  However, I was able to create a stamp following the directions at http://blogs.adobe.com/acrolaw/2009/05/add_dynamic_exhibit_stamps_in_ac.html,
    The problem is that I need the stamp value to increment each time I stamp something.  For example, if I have a binder with 40 emails, I want to be able to just go through the pages and stamp each one with the number on the stamp incrementing by one.  Can you or anyone tell me how to do this - in language suitable for a "dummie"?  Thank you.  My email is [email protected] Thanks again.

  • XSL variable-of document name from document library list does not render

    I'm currently building a custom XSL file that is to be linked to a webpart so I can create a custom view. I must say I am new to XSL coding though I have background in html, javascript, php.
    I'm able to render general columns that has been added (from document properties) in the document library I'm pulling data from but cannot seem to figure out how to render out the title. It is a document library so it is to be pulling the name of the document
    added to the library.
    In the aspx, I did try changing all name types (ones with links, without, with edit etc.) but no luck.
    Here is my xsl code so far:
    <xsl:template name="block.rowview">
    <style>
    .sktile{
    width:200px; height:200px; border:#000 solid thin;
    float:left; margin:5px; overflow:hidden
    </style>
    <div class="sktile">
    <xsl:value-of select="@LinkFilename" />
    <xsl:value-of select="@Description0" disable-output-escaping="yes"/>
    <xsl:value-of select="@Recording_x0020_Date" />
    <xsl:value-of select="@Presenter" disable-output-escaping="yes"/>
    <xsl:value-of select="@Tools" disable-output-escaping="yes"/>
    </div>
    </xsl:template>
    And here are the field references:
    <FieldRef Name="LinkFilename"/>
    <FieldRef Name="Recording_x0020_Date"/>
    <FieldRef Name="Presenter"/>
    <FieldRef Name="Tools"/>
    <FieldRef Name="Description0"/>
    So the field I'm struggling to show is the "LinkFilename" It would be great if someone can point out what I'm missing or what I'm doing wrong. Thanks in advance!

    Hi, Paul
    Here are two VIs. Local1 return an error while building and local2 works fine.
    Please let me know what's wrong!
    In previous messege I've asked for a list of bugs in 8.20 and 8.0.1, do you know if it is available?
    Thank you,
    Andrej
    Attachments:
    local1.vi ‏11 KB
    local2.vi ‏12 KB

  • Unable to add document to SP 2010 library

    In a SP 2010 library I'm unable to add a document to a specific library. When I try adding the document SP says that the file is checked out for editing by someone.  However, the file doesn't exist in the library and the require check-out option isn't
    turned on for that library either.  A file with the same name might have existed in that library at one time but it's currently not there.

    Thanks for your comments. Will recommend them to the product team.

  • How to retrieve image from a document

    Hi
    I am a beginner to Adobe InDesign SDK (CS4) and was needing some help. Here is the sceneario
    I have a simple InDesign document with an image in it. I am trying to retrieve the image and do some proprietory actions on it.
    I am wondering if there is an InDesign API which can retrieve image on a document. What is the return value from such an API. (e.g does the API return a pointer to the image object or maybe  location of the image on the filesystem ? ). What I am trying to do is once I can get a "handle" to the returned image, I would like to  manipulate it and save it in a proprietory format.
    Any pointers on this would be highly appreciated
    thanks!
    Sam

    Hi,
    You can get the path of the linked image file and then you can manipulate this image.
    I think ILinkUtils and ILink will certainly help.
    You can also check (for better understanding) CHM->PortingGuide->Links Archtecture.
    Thanks.

  • Posting a PDF document to the Content Library

    I am getting an error when I post a PDF document to the content library.
    The file posts ok, but when you click on the published link an error message comes up and the file does not open.
    "File does not begin with '%PDF-'."
    Anyone come across this?
    Thanks
    Anis

    I tested saving a PDF file to the content library in BPC 7M SP6.  The posting did not have any issues, as I have allowed the PDF file to be included in the list of approved files for BPC application set. I also assigned the file to the admin group and just the applicationset.
    I then went to gather the file from the library and did not have any issues.  But a couple of things to set, the ALLOW_EXTENSIONS, ALLOWEXTENSIONS and DefaultExtensions in the Admin web settings.  The ALLOWEXTENSIONS is actually a restriction parameter, that if loaded, should restrict the file.
    But that is all I can think of, execpt the security profile settings for the document.
    Hope this helps.

  • How can I access revisions of a document using OpenXML sdk library?

    How can I access revisions of a document using OpenXML sdk library?
    Thanks in advance.
    Regards,
    Akanksha.

    Hi Akanska
    The following articles should give you a basic understanding of how to work with Revisions:
    https://msdn.microsoft.com/en-us/library/office/cc536011.aspx
    https://msdn.microsoft.com/en-us/library/ee836138%28v=office.12%29.aspx?f=255&MSPPError=-2147217396
    http://blogs.msdn.com/b/ericwhite/archive/2009/09/28/source-code-available-complete-implementation-of-accept-all-changes-tracked-revisions-in-open-xml-documents.aspx
    Cindy Meister, VSTO/Word MVP,
    my blog

  • How to make New Document and Upload Document to have same Content Type in Document Library in Sharepoint 2010

    Hi,
    How to make 'New Document' and 'Upload Document' to have same content type(Custom) in Document Library in Sharepoint2010.
    Note : I have created custom Content Type since I have custom columns along with upload column..
    Regards, Shreyas R S

    go to library settings 
    Change new button order and default content type
    set your custom content type to be #1
    when you upload new document it will automatically have your custom content type
    Hope that helps|Amr Fouad|MCTS,MCPD sharePoint 2010

  • Failed to retrieve a schema URI (document namespace) for /userprofiles/emailNotification.usr; please see the following exception for details

    I get this exception (and long stack trace) when attempting to start my weblogic server. I'm running Weblogic 7 with Portal 7 (sp 1). I'm using Oracle 8.1.7. I upgraded this application from weblogic portal 4.0, and never had this problem there. As part of the migration process, I ran the tool to migrate all of the database tables, and I re-synched the EBCC project using version 7 of EBCC. I did a search for this problem and found a few mentions of it that seemed to be related to Oracle's handling of CLOB data. Apparently, there is a patch, but I can't seem to find this patch. I'm also not sure if this is indeed the problem since I didn't have this issue with the older version of weblogic using the same database. Any suggestions?

    If you have a support contract please open a case so we can work through
    this problem.
    Can you run an sqlplus session on your database, execute the commands
    "delete from data_sync_item" and "commit", then resync to see if it will
    get you around the problem. The data_sync_item table will be fully
    populated after you sync. This should get you running.
    Between 4.0 and 7.0 the DefaultRequestPropertySet.req file was reduced
    in size -- the CLOB would be smaller in the data_sync_item table.
    I would recommend using the Version Checker against your installation --
    find it on the dev2dev.bea.com site to see if the upgrade installer work
    ed properly. Also consider running the full installer to avoid possible
    problems that might occur with upgrade installers.
    As a result of that patch you referenced in 4.0 the CLOB handling logic
    was changed in 7.0 -- this is why it is strange you are seeing cleaving
    errors. In 7.0 SP2 to be release next week the data sync and
    persistence code was changed also.
    Are you using the OCI or Thin driver?
    -- Jim
    Rob Goldie wrote:
    Jim Litton <replyto@newsgroup> wrote:
    Rob,
    The CLOB issue was related to wlportal4.0 and should not be a factor
    in
    7.0.
    Could you post the entire stack trace?
    ####<Jan 27, 2003 4:21:47 PM EST> <Warning> <Data Synchronization> <PFIDEV5> <pfeAricept1Server>
    <main> <kernel identity> <> <000000> <Application: gmiAriceptApp; Failed to retrieve
    a schema URI (document namespace) for /request/DefaultRequestPropertySet.req;
    please see the following exception for details.>
    Exception[com.bea.p13n.management.data.doc.DocumentProcessingException: Unable
    to analyze and/or cleave document]
         at com.bea.p13n.management.data.doc.cleaver.CleavingDocumentProcessor.process(CleavingDocumentProcessor.java:94)
         at com.bea.p13n.management.data.repository.internal.DataItemImpl.getSchemaUri(DataItemImpl.java:136)
         at com.bea.p13n.management.data.repository.DataRepositoryFactory.createDataItem(DataRepositoryFactory.java:363)
         at com.bea.p13n.management.data.repository.persistence.JdbcDataSource.createDataItems(JdbcDataSource.java:523)
         at com.bea.p13n.management.data.repository.persistence.JdbcDataSource.refresh(JdbcDataSource.java:442)
         at com.bea.p13n.management.data.repository.persistence.ReadOnlyJdbcPersistenceManager.refresh(ReadOnlyJdbcPersistenceManager.java:107)
         at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.<init>(AbstractDataRepository.java:193)
         at com.bea.p13n.management.data.repository.internal.MasterDataRepository.<init>(MasterDataRepository.java:46)
         at com.bea.p13n.management.data.repository.DataRepositoryFactory.getMasterDataRepository(DataRepositoryFactory.java:255)
         at com.bea.p13n.placeholder.internal.PlaceholderServiceImpl.ejbCreate(PlaceholderServiceImpl.java:191)
         at com.bea.p13n.placeholder.internal.PlaceholderServiceImpl_9p0jz2_Impl.ejbCreate(PlaceholderServiceImpl_9p0jz2_Impl.java:117)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:151)
         at weblogic.ejb20.pool.Pool.createInitialBeans(Pool.java:188)
         at weblogic.ejb20.manager.StatelessManager.initializePool(StatelessManager.java:380)
         at weblogic.ejb20.deployer.EJBDeployer.initializePools(EJBDeployer.java:1472)
         at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1367)
         at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:864)
         at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:81)
         at weblogic.j2ee.Application.addComponent(Application.java:294)
         at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:164)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:303)
         at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:256)
         at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:207)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:732)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:714)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:417)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:926)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:470)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:198)
         at $Proxy9.updateDeployments(Unknown Source)
         at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:4060)
         at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:2259)
         at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:373)
         at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:235)
         at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:61)
         at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
         at weblogic.Server.main(Server.java:32)
    Caused by: org.xml.sax.SAXException: No message available. Resource not found:
    repository.cleaver.no.xsi.namespace.exception Resource bundle: com/bea/p13n/management/data/datasync
         at com.bea.p13n.management.data.doc.cleaver.DocumentCleaver.mapNamespaces(DocumentCleaver.java:135)
         at com.bea.p13n.management.data.doc.cleaver.DocumentCleaver.startElement(DocumentCleaver.java:235)
         at weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1384)
         at weblogic.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:1299)
         at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1821)
         at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:964)
         at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:396)
         at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:1119)
         at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
         at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:133)
         at com.bea.p13n.management.data.doc.cleaver.CleavingDocumentProcessor.process(CleavingDocumentProcessor.java:80)
         at com.bea.p13n.management.data.repository.internal.DataItemImpl.getSchemaUri(DataItemImpl.java:136)
         at com.bea.p13n.management.data.repository.DataRepositoryFactory.createDataItem(DataRepositoryFactory.java:363)
         at com.bea.p13n.management.data.repository.persistence.JdbcDataSource.createDataItems(JdbcDataSource.java:523)
         at com.bea.p13n.management.data.repository.persistence.JdbcDataSource.refresh(JdbcDataSource.java:442)
         at com.bea.p13n.management.data.repository.persistence.ReadOnlyJdbcPersistenceManager.refresh(ReadOnlyJdbcPersistenceManager.java:107)
         at com.bea.p13n.management.data.repository.internal.AbstractDataRepository.<init>(AbstractDataRepository.java:193)
         at com.bea.p13n.management.data.repository.internal.MasterDataRepository.<init>(MasterDataRepository.java:46)
         at com.bea.p13n.management.data.repository.DataRepositoryFactory.getMasterDataRepository(DataRepositoryFactory.java:255)
         at com.bea.p13n.placeholder.internal.PlaceholderServiceImpl.ejbCreate(PlaceholderServiceImpl.java:191)
         at com.bea.p13n.placeholder.internal.PlaceholderServiceImpl_9p0jz2_Impl.ejbCreate(PlaceholderServiceImpl_9p0jz2_Impl.java:117)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:151)
         at weblogic.ejb20.pool.Pool.createInitialBeans(Pool.java:188)
         at weblogic.ejb20.manager.StatelessManager.initializePool(StatelessManager.java:380)
         at weblogic.ejb20.deployer.EJBDeployer.initializePools(EJBDeployer.java:1472)
         at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1367)
         at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:864)
         at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:81)
         at weblogic.j2ee.Application.addComponent(Application.java:294)
         at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:164)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:303)
         at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:256)
         at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:207)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:732)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:714)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:417)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
         at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:926)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:470)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:198)
         at $Proxy9.updateDeployments(Unknown Source)
         at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:4060)
         at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:2259)
         at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:373)
         at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:235)
         at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:61)
         at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:806)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:295)
         at weblogic.Server.main(Server.java:32)
    Are you using a UTF-8 Oracle database?
    Yes
    If you create a new User Profile in the EBCC and compare it to your
    migrated .usr file do you see differences in the DTD's?
    I recreated a new version of the .usr in the EBCC, and still got the same error.
    I also tried deleting everything from the data-sync-item table and re-synching.
    What does the DocumentManager section of your application-config.xml
    look like?
    <DocumentManager
    ContentCacheName="documentContentCache"
    ContentCaching="true"
    DocumentConnectionPoolName="default"
    MaxCachedContentSize="32768"
    MetadataCacheName="documentMetadataCache"
    MetadataCaching="true"
    Name="default"
    PropertyCase="none"
    UserIdInCacheKey="false"
    />
    What does the document.jar Targets="" parameter look like in config.xml?
    <EJBComponent Name="document" Targets="pfeCluster" URI="document.jar"/>
    -- Jim
    Rob Goldie wrote:
    I get this exception (and long stack trace) when attempting to start
    my weblogic server. I'm running Weblogic 7 with Portal 7 (sp 1). I'm
    using Oracle 8.1.7. I upgraded this application from weblogic portal
    4.0, and never had this problem there. As part of the migration process,
    I ran the tool to migrate all of the database tables, and I re-synched
    the EBCC project using version 7 of EBCC. I did a search for this problem
    and found a few mentions of it that seemed to be related to Oracle's
    handling
    of CLOB data. Apparently, there is a patch, but I can't seem to find
    this patch. I'm also not sure if this is indeed the problem since I
    didn't have this issue with the older version of weblogic using the
    same database. Any suggestions?

Maybe you are looking for

  • Installing Solaris 7 - System hangs while determining bus Types

    Hi, I am trying to install Solaris 7 on my Compaq Presario. My system hangs immediately after the first screen. It hangs on the screen where it says "Bus Enumeration Determining Bus Type and gathering hardware configuration data. Not sure why it is d

  • Working with video clips

    Ok I obviously have some time on my hands and I'm getting ready to start using Motion more often the AE for projects so here is another question(s). In short how do you make a still frame in the middle of a video clip that will hold through the remai

  • Insert, Update, and Delete

    Can anybody tell me why I get an error with "ON DELETE RESTRICT" and "ON UPDATE CASCADE". I would also appreciate it if someone could tell me how to insert a null in a column. Thanks in advance, Ryan

  • Formula Node Troubles

    I'm a beginner with LabVIEW and I am working with the formula node.  My program is not running.  The error I am recieving is "array indexing expected".  What exactly does that mean?  All my input arrays are defined outside of the node.

  • How do I set up iMessage from my macbook pro?

    I am trying to se up imessage on my macbook pro, and I have been reading into Mobileme, but every time I go to set it up, it says my password is wrong and will not let me log in. I go to mobileme.com and it sends me to the icloud website. Am I doing