Click here to Skip to main content
13,087,566 members (85,418 online)
Rate this:
Please Sign up or sign in to vote.
See more:
i am running a program in which i am saving the data in an excel file. But while running it i am facing the following error:-

Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.
Posted 10-Jan-13 0:44am
ryanb31 10-Jan-13 8:08am
Without seeing anything else, I would guess you don't have the Excell dlls, or some other dll, on the server.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

The error code you have:

HRESULT: 0x80070005 (2147942405)
Description: Access is denied
Severity code: Failed
Facility Code: FACILITY_WIN32 (7)
Error Code: 0x0005 (5)

Possible solution:
Initialize COM security.
Helpful links:
CoInitializeSecurity function (COM)[^][^]


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170813.1 | Last Updated 10 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100