Open excel print Times "can not use the Object Linking and Embedding"

Solutions:

1, WIN + R to open the command line, type dcomcnfg command line, open Component Services.

2. In the Component Services window, click to root [control] -> [Component Services] -> [Computer] -> [My Computer] -> [DCOM configuration].

3, in the DCOM configuration, locate the [Microsoft Excel Application node].

4, right-click the node [Microsoft Excel Application] attribute, open the Properties window.

5. In the Properties window, click on the tab [logo], select [Interactive User] or [] to start the user.

6. Click on the OK button to open the excel again, the problem is solved.

Assume 64-bit machine can not find the [Microsoft Excel Application]

7、

the first method:

1. Since Dcomcnfg and is a 32-bit configuration, are not to be fully supported in the system 64, it is necessary to configure DCOM WIN2008 X64 system, as follows:
1.1 Run: -32 MMC
1.2 menu select File-> Add / Remove Snap
Add component Services, and then find the Excel and then configure the under component Services, and on 32-bit systems can be seen as a Microsoft Excel Appliction components.

2. Because the user does not have permission to excel, you need to be licensed through Microsoft Excel Appliction follows.
2.1 Run: dcomcnfg.exe
2.2 "Component Services" -> "computer" -> "My Computer" -> "DCOM Configuration" -> find word-> Properties -> "Identification" tab, select "Interactive User" 
2.3 -> security "tab" -> in the "launch and activation permissions" click "customize" and then click on the corresponding "edit" button in the pop-up "security" dialog box filling a "NETWORK SERVICE" user ( Note to select this computer name), and it gives "local launch" and "local activation" permission.
2.4 -> "security" tab, click "custom" in the "access", then click "edit" in the pop-up "security" dialog box is also filling a "NETWORK SERVICE" user, and then give "local access" so, we configured the appropriate DCOM permissions for Excel. 
the second method:

<system.web>

<identity impersonate="true" userName="administrator" password="186"/>           //创建用户名

</system.web>

DCOM configuration still can not find Microsoft Excel Appliction.

8、

8.1 In Run, type: regedit, into the registry editor, view HKEY_LOCAL_MACHINE \ if there are other registry excel, word and other Microsoft under Software \ \ Office, if there is no second step.

8.2. To see if there {00020812-0000-0000-C000-000000000046} HKEY_CLASSES_ROOT \ AppID \ under, this is excel registration key, if not the DCOM configuration is not found in Microsoft Excel Appliction. (This system depends on each person, some after installing office will be shown to have this key, but the machine does not show some, as to why I did not find out.)

8.3 manually export the key: I use the solution is: found on the win8 64-bit machine have installed another version of the same office whether there {00020812-0000-0000-C000-000000000046} HKEY_CLASSES_ROOT \ AppID \ Down, Right click, click on the "export", after generating .reg extension file, then copy it onto your computer (that is, to carry out the DCOM configuration can not be found on Microsoft Excel Appliction computer), and finally double-click the registration file, automatically import the registry. View go to HKEY_CLASSES_ROOT \ AppID \ under, then there will be a {00020812-0000-0000-C000-000000000046}.

8.4 Finally, type MMC -32: File -> Add / Remove Unit Management -> select the last ie Component Services -> Add -> OK -> Double-click Component Services -> Computers -> My computer -> DCOM configuration, then you will find be able to find Microsoft Excel Appliction.

Assuming that this is not enough

9, to see whether it gives local administrator privileges.

10, none of the above works, then it is they want to approach it!

Guess you like

Origin www.cnblogs.com/BruceKing/p/11578311.html