问题
The entry for "Microsoft Excel Application" is not there in DCOM Config (tried in both 32-bit and 64-bit). How can I make it shows up there? I have Microsoft Office installed.
回答1:
If you cannot find 'Microsoft Excel Application' in either 32-bit or 64-bit DCOMCNFG, you might go into registry to HKEY_CLASSES_ROOT/AppID and find the CLSID for your version of Excel (Excel 2013 has an AppID of {00020812-0000-0000-C000-000000000046})
Check that the (Default) REG_SZ for this key has a value set for it.
If not, change the default value to "Microsoft Excel Application" and after relaunching DCOMCNFG you should see "Microsoft Excel Application" in the DCOM tree.
回答2:
Assuming you have restarted since the install, this page explains how to attempt to re-register the COM server: TechNet Entry on Excel DCOM Config.
From a command prompt, navigate to where the Excel.exe is located and re-register the application. On a 64-bit machine, this is located (by default) under C:\Program Files (x86)\Microsoft Office\Office14 for Office 2010 and C:\Program Files (x86)\Microsoft Office\Office12 for Office 2007.
- Open a command prompt – START, RUN, type CMD.EXE but don’t hit ENTER just yet
- Find CMD.EXE in the ‘All Programs” list. Right click it and left click on “Run as administrator”
This should open a command prompt. Now, type the following:
CD\
And hit ENTER. Then type:
CD C:\Program Files (x86)\Microsoft Office\Office14
And hit ENTER. Then type:
EXCEL.EXE –REGSERVER
And hit ENTER
* Note, for Microsoft Word the CMD would be:
WINWORD.EXE –REGSERVER
回答3:
Start DCOMCNFG in 32-bit Mode:
DCOMCNFG -32
Then located under:
Component Services \ My Computer \ DCOM Config \ Microsoft Excel Application
来源:https://stackoverflow.com/questions/17710299/microsoft-excel-application-entry-is-missing-in-dcom-config