Microsoft made it clear that such server side Office automation is not supported,
Thus, you have to follow the advice in that article to switch to one of the feasible options.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have created an API in C#(.Net framework) to convert Word to PDf using interop.word.dll. I have installed MS Office 2013 on the server. But no one is logged on the server I am getting the below exception
"Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 8000401a The server process could not be started because the configured identity is incorrect. Check the username and password. (Exception from HRESULT: 0x8000401A"
Does anyone have any solution for this?
Based on the suggestion given Microsoft forum.i have tried the following
In the command line put DCOMCNFG
Component Services -> Computers -> My Computer -> DCOM Config
Right click -> Properties
Go To Tab Security and Edit the "Customize" radio buttons so that IIS_IUSRS could have rights for launch and access
Go to Tab Identity and choose "The interactive user"
STILL NO HOPE .
It failed when user logged out from remote connection.
Microsoft made it clear that such server side Office automation is not supported,
Thus, you have to follow the advice in that article to switch to one of the feasible options.
Office interop is for building desktop applications. Office interop is not intended or designed for use in web applications. See the following.
I recommend doing an internet or NuGet search to find a .NET Framework library that meets your needs.