none
Retrieve Page Count for Office documents Without MS Office RRS feed

  • Question


  • Hi,

    I am using the following interop library to retrieve page count for Office documents like doc, xls and ppt.
      
        1. Microsoft.Office.Interop.Word.dll
        2. Microsoft.Office.Interop.PowerPoint.dll
        3. Microsoft.Office.Interop.Excel.dll
        4. Interop.Microsoft.Office.Core.dll

    It Works fine in the development machine, Where the MS Office XP Professional has been installed.

    It throws Exception in Production Server [MS Office software was not installed], that exception  like COM object with CLSID {00024500-0000-0000-C000-000000000046} is either not valid or not registered.

    In Production Server Primary Interop Assembly had Installed, that package provided Dependant libraries were registered in the GAC and Registries were imported into Server. Still I got the above Error.

    Please let me know, How Can i get the page Count for the above documents without installing MS Office software in the production Server.


    Thanks and Regards,
    Ganeshkumar
    Thursday, July 24, 2008 5:02 AM

Answers

  • Hi Ganeshkumar,


    This forum is for software developers who are using the Open Protocol Specification documentation to assist them in developing systems, services, and applications that are interoperable with Windows.

    The Open Protocol Specifications can be found at: http://msdn2.microsoft.com/en-us/library/cc203350.aspx.

    Since your post does not appear to be related to the Open Protocol Specification documentation set but rather to an implementation question, I suggest you post your question on the following forum: 

    For future reference, I find the Innovate on Office forum (http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=1851&SiteID=1) more adequate for your question.

    Thanks and regards,

    SEBASTIAN CANEVARI - MSFT SEE Protocol Documentation Team
    Thursday, July 24, 2008 3:46 PM