System.UnauthorizedAccessException: Retrieving the COM class factory for Word Interop fails with error 80070005

后端 未结 10 1205
无人及你
无人及你 2020-11-27 16:01

I have a problem with a C# ASP .NET project in Visual Studio 2008 This problem started when I reinstalled my computer with Windows 7 Ultimate (x64). To this I\'m also using

10条回答
  •  日久生厌
    2020-11-27 16:38

    Fix to Tomas answer, correct command on Windows Server 2k8 x64 is: "dcomcnfg /32" (slash instead of -)

    Also I had to customize all security options by adding IIS_IUSRS with full rights to Lunch and Activation Permissions, Access Permissions and Configuration Permissions. And Interactive user in Identity tab as well. Then it worked for me.

    I had this problem with Word 2010 opening doc files and I had to set it for Microsoft Word 97-2003 Document Properties.

提交回复
热议问题