Word does not work on server side if I have not logged in

When I tried to open a text application on the server

 Application ap = new Application();

I got this error

Getting the factory COM class for a component with CLSID {000209FF-0000-0000-C000-000000000046} failed because of the following Error: 8000401a The server process could not start because the authentication was configured incorrectly. Verify username and password. (Exception from HRESULT: 0x8000401A).

If I logged in to the remote connection and tried, it will work, but when I disconnect it, it will not happen.

He believes this is a security and permission issue, but I don’t know where. I am using IIS 8 and a Windows 2012 server.

Do not try to suggest using OpenXml or saying that Microsoft does not recommend this; I want to use Microsoft Office 2013.

+3
source share

All Articles