Workaround: 1. (Applies to. NET) 1). Add the administrator privilege through Webconfig, <identity impersonate= "true" username= "system Administrator" password= "system Administrator Password"/> 2). This will enable you to start the application process, Excel, create new Excel, export Excel, but still not open the server-side Excel file
2. (The following applies to all languages) in Component Services, DOCM sets the properties of Microsoft Excel application because it is operating on a 64-bit system, and the default in Component Services docom is not, because Microsoft Excel applicat Ion is a 32 DCOM configuration and is therefore resolved as follows (see step three)
3. (Add 32Bit of Management of Excel, Word, etc. in DCOM management in 64bit System) 1). Start--〉 run--〉cmd 2) at the command prompt, enter "mmc-32" and open the 32 console 3). File menu, add Delete snap-in-- "Component Services" (at the bottom), after confirmation, close. 4). Start-management tools-Component Services, in DCOM configuration, you can find the "Microsoft Excel application". Locate the Microsoft Excel application, right-click on it, and then tap properties to bring up the Microsoft Excel Application Properties dialog box 5). Click on the "Identification" tab and select "Interactive User" * * : This is not required on the 32Bit 2003 or XP, but it is needed here. 6). Click on the "Security" tab, click "Customize" on "Launch and Activation Permissions", then click on the corresponding "edit" button to add a "NETWORK SERVICE" user in the "Security" dialog box (note To select this computer name) and give it "local start" and Local Activation permission 7). Remain the "Security" tab, click "Customize" on "Access", then click "Edit" and add a "NETWORK SERVICE" user to the "Security" dialog box that appears, then give "Local access" permission.
4. Restart IIS