Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046}

帅比萌擦擦* 提交于 2019-12-01 22:02:46
  1. Goto Control panel -> Administrative Tools -> Component Services
  2. Expand Tree by clicking on Component Services -> Computers -> My Computer -> DCOM Config
  3. Search CLSId 00020906-0000-0000-C000-000000000046 (which is for word application) Note: If Search CLSId not finds then search by "Windows Word Application".
  4. By selecting 00020906-0000-0000-C000-000000000046 this CLSId now right click on Properties
  5. In the Propeties area, click on Security TAB.
  6. Select Customize option from all (Launch and Activations Permissions, Access Pemissions, Configuration Permissions).
  7. Add new name as NETWORK SERVICE in all, and Allow all permissions for this name.
  8. Go to Identity TAB in the same properties area, select option as a This user and then add username (which is administrator of this machine) and password. Click on Apply, Ok.
  9. Refresh Component Services and check your application is working fine or not.

Start Internet Information Services (IIS). Right-click your application's virtual directory, and then click Properties. Click the Directory Security tab. Under Anonymous access and authentication control, click Edit. Make sure the Anonymous access check box is not selected and that Integrated Windows authentication is the only selected check box. Configure ASP.NET to use Windows authentication with impersonation, use the following configuration

...
<authentication mode="Windows"/>
<identity impersonate="true"/>
...

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!