aspnet account dcom permisson for MS Word

Question to doc2any Converter Command Line,
https://www.verydoc.com/doc-to-any.html

I have a win 2000 webserver. Any thoughts on how to grant ASPNET account permission to run Microsoft Word using DCOM. I know this can be done using dcomcnfg but not sure what is the right way.I do not want to mess up a production server.

------------------------------------------------------------------------------
Under DCOM Config locate “Microsoft Word Application” right click on it and go to Properties.

Under the “Security” Tab, in the “Launch & Activation Permissions” select “Customize” and Click on Edit.

Give All Permissions to the following Account
      IUSR_<Machine_Name>
      IWAM_<Machine_Name>
      ASPNET

Now try your application.

If this does not work, then create a New Windows Account on the Server, say "Word_User" and put it in Admin Group, give it Admin Permissions. Alternatively use the existing Admin account (The account Admin uses to log into the Web Server Machine). Now add this account to the List above, i.e. in DCOMConfg give this account all permissions as well.

Now Impersonate using this account for you app. For this Modify your Web.Config  and Add these Configurations

      <identity impersonate="true" userName="domain\admin_user_account" password="xyz" />

Where admin_user_account is the Login Account of Admin on the Server or the "Word_User" that you created on the Server with Admin Previlages.

------------------------------------------------------------------------------

See Also:

How to configure Office applications to run under a specific user account
http://theether.net/download/Microsoft/kb/288367.html

Microsoft Excel Application entry missing in DCOMCNFG
https://www.verydoc.com/blog/microsoft-excel-application-entry-missing-in-dcomcnfg.html

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!