Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. COM Problem

COM Problem

Scheduled Pinned Locked Moved ASP.NET
helpcomsysadmin
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JC KaNNaN
    wrote on last edited by
    #1

    Hi, i just upload a ms document file from my local system. when i clicking on go button. its automatically convert into pdf format using pdf995. its working fine in my local system. But its not working in server suddenly displayed the foolowing error: {Retrieving the COM class factory for component with CLSID {16AA0B9E-79AC-43B5-86CA-AB961FBEED5F} failed due to the following error: 80040154. } could you please give me the possible answer

    Yours, KaNNaN ----------------------------------------------------------------- "Success is When Ur Signature Becomes An Autograph"

    B 1 Reply Last reply
    0
    • J JC KaNNaN

      Hi, i just upload a ms document file from my local system. when i clicking on go button. its automatically convert into pdf format using pdf995. its working fine in my local system. But its not working in server suddenly displayed the foolowing error: {Retrieving the COM class factory for component with CLSID {16AA0B9E-79AC-43B5-86CA-AB961FBEED5F} failed due to the following error: 80040154. } could you please give me the possible answer

      Yours, KaNNaN ----------------------------------------------------------------- "Success is When Ur Signature Becomes An Autograph"

      B Offline
      B Offline
      Brij
      wrote on last edited by
      #2

      have a look to the following links. Link 1 Link2

      Cheers!! Brij

      J 1 Reply Last reply
      0
      • B Brij

        have a look to the following links. Link 1 Link2

        Cheers!! Brij

        J Offline
        J Offline
        JC KaNNaN
        wrote on last edited by
        #3

        PDF CONVERSION Dim filesource As Object ="\\192.168.0.1\d\kannan\document\test.doc" Dim app As New Word.Application Dim missingValue As Object = Type.Missing Dim ac As New Word.Application() Dim myTrue As Object = True Dim myFalse As Object = False Dim document As New Word.Document app = ac.Application app.DisplayAlerts = Word.WdAlertLevel.wdAlertsMessageBox document = app.Documents.Open(filesource, myTrue, missingValue, missingValue, missingValue, missingValue, missingValue, missingValue, missingValue, missingValue) app.ActivePrinter = "PDF995" 'app.ActivePrinter = "PrimoPDF" app.ActiveDocument.PrintOut(myFalse, myFalse, missingValue, missingValue, missingValue, missingValue, missingValue, missingValue, missingValue, missingValue, myFalse, missingValue, missingValue, missingValue, missingValue, missingValue, missingValue, missingValue) document.Close(missingValue, missingValue, missingValue) app.Quit(missingValue, missingValue, missingValue) OPEN WORD DOCUMENT Dim WordApp As New Word.ApplicationClass() Dim missing As Object = System.Reflection.Missing.Value Dim fileName As Object = TextBox2.Text Dim newTemplate As Object = False Dim docType As Object = 0 Dim isVisible As Object = True Dim aDoc As Word.Document = WordApp.Documents.Add(fileName, newTemplate, docType, isVisible) WordApp.Visible = True aDoc.Activate() this function all r working fine in local system. if i can using in iis showing COM errors....

        Yours, KaNNaN ----------------------------------------------------------------- "Success is When Ur Signature Becomes An Autograph"

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups