Component Services-> Computers-> My Computer-> DCOM configuration, locate the Identity tab, word-> properties, select Interactive User
Note: (If an error occurs after unregistering the server "error:8000401a the system cannot start the server process because the configuration ID is incorrect. Please check the user name and secret ... "To change the interactive user to" the following user "and then enter the Administrator account password, the problem!!!! )
Security label, click on "Customize" on "Launch and Activation Permissions" and click on the corresponding "edit" button to add a "NETWORK SERVICE" user to the "Security" dialog box (note To select this computer name) and give it "local start" and " Local Activation permission.
"Security" tab, click "Customize" on "access rights", then click "Edit" to add a "NETWORK SERVICE" user to the "Security" dialog box, and then give "Local access" permission. This allows us to configure DCOM permissions for the corresponding Excel.
Office components are not found under 64-bit systems, workaround:
1. Run: mmc-32
2. Open "File"-"Add or remove Snap-in"-Select Component Services-click Add-OK.
3. Microsoft Excel application can be found in the DCOM component.
Finally in the settings:
Check the settings of the IIS7, and finally determine that you also need to set the identity of the application pool, the AppPool of this site to be set to LocalSystem or NetworkService, problem resolution.
This problem will be solved
Reprint Address: http://www.cnblogs.com/lxiang/p/3268448.html
Reference Address: http://www.poluoluo.com/server/201310/243735.html
Windows 2008 under C # calls Office component Access denied workaround (failed due to the following error:80070005 denied access)