Microsoft Excel Application entry missing in DCOMCNFG

irfangani

New member
Local time
6:31 AM
Messages
3
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.

Thanks
Irfan
 

My Computer

Computer Manufacturer/Model Number
Gateway NVSeries
OS
windows 7
CPU
T6600
Memory
4GB
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
 

My Computer

OS
Windows 7 Ultimate x64 Service Pack 1 (Build 6.1.7601)
CPU
Intel Core 2 Quad Q6600 (G0 Kentsfield) LGA775 (FC-LGA6)
Motherboard
GIGABYTE GA-EP35C-DS3R (Rev. 2.1)
Memory
Corsair TW3X4G1333C9A 4GB PC-10600 (2x XMS3 2GB)
Graphics Card(s)
ASUS nVIDIA GeForce 560
Sound Card
RealTek ALC885/889A/890
Monitor(s) Displays
ChiMei CMV CT-730D 17inch (LCD Monitor)
Screen Resolution
1280-1024 60Hertz (Ture Colour 32bit)
Hard Drives
2x Barracuda 7200.10 SATA 3.0Gb/s 160-GB Hard Drive ST3160815AS (AHCI)
PSU
ANTEC 750w Earthwatts
Case
Thermaltake Shark (VA7000SWA ATX) Full Tower
Cooling
Front 120mm fan (1400 RPM) /Rear 120mm (1400 RPM) blue LED
Keyboard
Labtec Media Desktop Y-SAD65
Mouse
Razer DeathAdder 3G Infrared Sensor (1800DPI)
Internet Speed
Telstra BigPond Elite Liberty ADSL2+ 24Mbps/256kbps
Other Info
ASUS PCE-N13 802.11n Wireless LAN card
Re:

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.
 

My Computer

Computer Manufacturer/Model Number
Gateway NVSeries
OS
windows 7
CPU
T6600
Memory
4GB
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
 

My Computer

OS
Windows 7 Profesionnal 64bits
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.
 

My Computer

Computer Manufacturer/Model Number
Gateway NVSeries
OS
windows 7
CPU
T6600
Memory
4GB
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
 

My Computer

OS
Windows 7 64Bit
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
 

My Computer

OS
windows 7 64
Back
Top