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. General Programming
  3. Windows API
  4. Issues in Word Automation [modified]

Issues in Word Automation [modified]

Scheduled Pinned Locked Moved Windows API
2 Posts 2 Posters 4 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.
  • S Offline
    S Offline
    Sankara Narayana
    wrote on last edited by
    #1

    I am using Visual Studio .NET 2003 to develop the application. My issue is that i had to generate a Word Report with password from an ASP.NET web application. After much try i got the dll Microsoft Word 11.0 Object Library and with the help of which i could generate a word document with password from a trial application. When i tried to implement the same in our project, it was giving an error as 'Could not open Macro Storage'. The error code was 2146822307. While checked up with the windows task manager it was taking a lot of memory. When performed a search with this, i came to know the necessity of configuring the Word application with DCOMCNFG - as setting the word to be run under interactive user mode etc. But that is very risky as listed in the links, http://support.microsoft.com/kb/q288366/ -- (Explains how to configure with DCOMCNFG) http://support.microsoft.com/kb/257757/ Can any body tell me how to solve this without using DCOMCNFG ? Or at the least is there any solutions to overcome the security issues... Your suggestions might be of great value.... If anybody comes across any link or any thing please do reply .... I will be very grateful... Om -- modified at 4:33 Thursday 15th March, 2007

    V 1 Reply Last reply
    0
    • S Sankara Narayana

      I am using Visual Studio .NET 2003 to develop the application. My issue is that i had to generate a Word Report with password from an ASP.NET web application. After much try i got the dll Microsoft Word 11.0 Object Library and with the help of which i could generate a word document with password from a trial application. When i tried to implement the same in our project, it was giving an error as 'Could not open Macro Storage'. The error code was 2146822307. While checked up with the windows task manager it was taking a lot of memory. When performed a search with this, i came to know the necessity of configuring the Word application with DCOMCNFG - as setting the word to be run under interactive user mode etc. But that is very risky as listed in the links, http://support.microsoft.com/kb/q288366/ -- (Explains how to configure with DCOMCNFG) http://support.microsoft.com/kb/257757/ Can any body tell me how to solve this without using DCOMCNFG ? Or at the least is there any solutions to overcome the security issues... Your suggestions might be of great value.... If anybody comes across any link or any thing please do reply .... I will be very grateful... Om -- modified at 4:33 Thursday 15th March, 2007

      V Offline
      V Offline
      Vasudevan Deepak Kumar
      wrote on last edited by
      #2

      I have discussed this over here: http://lavanyadeepak.blogspot.com/2007/03/office-automation-for-aspnet.html[^]

      Vasudevan Deepak Kumar Personal Homepage Tech Gossips

      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