Window2008 64-bit system has no office component problem analysis and solution

  
The server is a windows server2008 64-bit system. My system needs to use the Microsoft.Office.Interop.Excel component to encounter an error when uploading an Excel document: Retrieve the component with the CLSID of {00024500-0000-0000-C000-000000000046} in the COM class factory. Time failed. There are countless solutions for uploading the web: Normal version Step 1. In the "Start"->"Run" enter dcomcnfg.exe to start "Component Services" 2. Double-click "Component Services"-> "Computer"->"My Computer"->"DCOM Configuration" 3. Find "Microsoft Excel Application" in "DCOM Configuration", right click on it Then click on "Properties", pop-up "Microsoft Excel Application Properties" Dialog 4. Click "Identify" Tab, select "Interactive User" 5.Click "Security" Label, at " ; start and activate permissions "click "custom", then click the corresponding "edit" button, add a "NETWORK SERVICE" user in the pop-up "Security" dialog box (note To select this computer name), and give it a "local startup" and "local activation" permission 6. remains the "security" tag, click "custom" on "access rights" ;, then click "Edit" In the pop-up "Security" dialog box, also add a "NETWORK SERVICE" user, and then give "local access" permissions. The problem is on the 64-bit version of the machine, because after opening DCOMCNFG, The item "Microsoft Excel Application" was not found, because DCOMcnfg ​​is a 32-configuration and can be fully supported on a 64-bit system, so it just happens to be hanging. So I checked out the way to open 32-bit DCOMCNFG: 1. Run: mmc -32 2. Open “File”-“Add or delete the management unit>-Select component service-click Add-OK. 3. You can find the Microsoft Excel Application in the DCOM component. So the configuration is done in the top way, running the website, the same mistake. Check again, and the content has not been set. Check the settings of IIS7, and finally determine that you need to set the identity of the application pool, set the AppPool logo of this website to LocalSystem or NetworkService, and solve the problem.
Copyright © Windows knowledge All Rights Reserved