Http://blog.sina.com.cn/s/blog_9323b3a50101qrxm.html
"Solution 1" 1: Excel software that installs Office on the server. 2: Enter Dcomcnfg.exe in Start, run, start Component Services 3: Double-click Component Services, computer, my Computer, DCOM Configuration "4: Find" MicrosoftExcel application "in" DCOM Config ", right-click on it, then click" Properties ", pop Up" Microsoft Excel Application Properties "dialog box 5: Click" Identity "tab, select" Interactive User "6: Click on the "Security" tab, click "Customize" on "Launch and Activation Permissions", then click on the corresponding "edit" button, add a "NETWORK SERVICE" user in the "Security" dialog box (note To select this computer name) and give it "local launch" and "Local activation" permission . 7: Remain the "Security" tab, click "Customize" on "Access", then click "Edit" and add a "NETWORKSERVICE" user to the "Security" dialog box that appears, then give "Local access" permission. So, We configured the appropriate DCOM permissions for Excel. Note: This is configured on WIN2003, on 2000,XP, the Network service user is changed to an ASP. win2008, Win7 the network The service user changes to the DCOM configuration in the IIS_IUSRS WIN7 component service cannot find a Microsoft Excel application that is primarily a 64-bit system problem, and Excel is a 32-bit component. So in the normal system component service is not visible can be run inside the input comexp.msc-32 to open 32-bit Component Services, you can see the Excel component
Win7 64-bit DCOM configuration (about export Excel configuration Computer Component Services) (GO)