Retrieving the COM class factory for component with CLSID Error: 8000401a

后端 未结 4 989
你的背包
你的背包 2021-02-06 19:01

from last so many times I am getting the below error.As I am using the Microsoft Word dlls to create word files which further attached to the mail.

Server Error          


        
相关标签:
4条回答
  • 2021-02-06 19:28

    you can create another user , then login with that and create remote to 121.0.0.1 and main user (loopback to rpc!!!) then diconnect from new user and you will have interactive user

    0 讨论(0)
  • 2021-02-06 19:48

    My idea would be to get rid of Com all together if I can find a better solution I would use it

    Check this out

    http://docx.codeplex.com/

    0 讨论(0)
  • 2021-02-06 19:49

    One thing I did on my server was to open Microsoft Word on the machine and this seemed to cause the error to go away.

    0 讨论(0)
  • 2021-02-06 19:52

    I found the solution,

    using DCOMCNFG.exe open it and go to Component Service ->Computers->My Computer->DCOM Config-> check for Microsoft Office Word option and select tab Security.Here you will get the options for Launch and Activation Permission->select Customize and click on edit and the add the user that will runs your Application with full access.

    That's all ,this resolve my problem hop this will help.

    0 讨论(0)
提交回复
热议问题