Microsoft Excel Application entry missing in DCOMCNFG

VeryDOC DOC to Any Converter Home Page,

https://www.verydoc.com/doc-to-any.html

Hi I'm using windows 7 home premium. I have an application in ASP.Net which uses Excel Application Object. It used to work fine in XP but in Windows 7 I'm getting an error as mentioned below:

Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.

I need to give permissions to Microsoft Excel Application in DCOM config but I can't seem to find this in windows 7. It used to be there in earlier versions but now its not there. I tried to reinstall Office 2007 but still I couldn't find it in DCOM config. Please suggest where I can give permissions to MS Excel Application so that my application runs without errors.
----------------------------------------------------------------------
1. Control Panel -> Administrative Tools -> Component Services
2. Console Root -> Component Services -> Computers -> My Computer -> DCOM Config
3. Right-Click 'Microsoft Excel Application' and choose Properties
4. Click 'Security' tab
5. Customize 'Launch and Activation Permissions'
6. Add the local ASPNET user and give it all permissions

----------------------------------------------------------------------
Thanks for the reply.. the problem is that there is no "Microsoft Excel Application" in dcomcnfg.. I'm not able to find it there. I reinstalled Office 2007 also, but still I couldn't find it there.
----------------------------------------------------------------------
I have the same problem. I took a look in the registry to find the correct CLSID from the appID but I did not found anything. Is there any workaround or solution ?

Best regards
----------------------------------------------------------------------
I found a solution to this problem by giving permissions at system level by following the steps below
1. go to DCOMCNFG
2. In the left tree structure, right click on My Computer and select Properties
3. Click on COM SECURITY tab
4. Give Permissions to Network Service and Users in the "Access Permissions" and "Launch and Activation Permissions" by clicking the Edit Default buttons.

Now check your application.
----------------------------------------------------------------------
This does not fully work. Having changed the settings according to your solution, I could create excel reports (via asp.net, iis and office). however, a day later, this no longer worked although the permissions are still assigned to the network account (and the account of the iis pool). There must be another setting that affects using Office/Excel in IIS 7.5 on Windows Server 2008/Windows 7

Any help is appreciated
----------------------------------------------------------------------
Use MMC comexp.msc /32 on Windows 7 x64
----------------------------------------------------------------------
This solution is ...

- Windows 2008 Server x64
Please make this folder.
C:\Windows\SysWOW64\config\systemprofile\Desktop

- Windows 2008 Server x86
Please make this folder.
C:\Windows\System32\config\systemprofile\Desktop
----------------------------------------------------------------------

We faced similar kind of issues and found some workarounds ...

1. Issue in opening word document (from DCOM component, in windows 2008 64 bit machines)
create folder called "Desktop" under "C:\Windows\SysWOW64\config\systemprofile" or "C:\Windows\System32\config\systemprofile" as mentioned in http://social.msdn.microsoft.com/Forums/en/innovateonoffice/thread/b81a3c4e-62db-488b-af06-44421818ef91

2. Issue in printing
configure word to run as "Interactive user"

Steps to configure word to run as “Interactive User”
1. open registry editor (regedit)
2. Search for winword.exe, copy the AppId/Guid for word from “HKEY_CLASSES_ROOT\AppID\WINWORD.EXE”
3. Open Compent Services (dcomcnfg), Go to Computers->MyComputer->DCOM Cnfg
4. Select the application with the guid copied from registry.
5. Right click on it, select properties, select Identity tab, select “Interactive User”, click on “Apply” button.
----------------------------------------------------------------------

See Also:

Windows Service Running Word via DCOM
http://social.msdn.microsoft.com/forums/en-US/windowscompatibility/thread/742e4b7c-594d-4c10-8bae-f8d398d0e190/

VN:F [1.9.20_1166]
Rating: 7.7/10 (6 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Microsoft Excel Application entry missing in DCOMCNFG, 7.7 out of 10 based on 6 ratings

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!