Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: ASP.NET
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 at 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
0 OriginalGriff 449
1 Maciej Los 274
2 CPallini 160
3 Sergey Alexandrovich Kryukov 152
4 Richard MacCutchan 130
0 OriginalGriff 5,474
1 Sergey Alexandrovich Kryukov 4,713
2 Peter Leow 2,944
3 DamithSL 2,465
4 Maciej Los 2,434

Advertise | Privacy | Mobile
Web03 | 2.8.140718.1 | Last Updated 10 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid