Hi
I'm using a simple wrapper class which I orginally developed with .NET 1.1.
I've recently added it to a .NET 2.0 class library which is then referenced
from an ASP.NET 2.0 "project"
Although the code compiles without any problem, I get the following
exception message when creating a new instance of Excel.Application:
Retrieving the COM class factory for component with CLSID
{00024500-0000-0000-C000-000000000046} failed due to the following error:
80070005.
I've check and repair the Office 2003 PIA numerous times. The project is
under source control (VSS 6.0).
The CLSID is present in the registry and has a Default of Microsoft Office
Excel Application.
Can anybody give me information as to how I can solve this problem?
Thanks in advance
Al
Willy Denoyette [MVP] - 16 Feb 2006 16:52 GMT
| Hi
|
[quoted text clipped - 20 lines]
| Thanks in advance
| Al
It's gonna hurt, but check this:
http://support.microsoft.com/default.aspx?scid=kb;en-us;257757
Willy.
AL - 21 Feb 2006 16:04 GMT
Thanks for the pointer.
I managed to get it to run by changing the ASP.NETV2 application pool user
identity. I know it's not ideal and should probably find a better solution,
this is however a quick fix until a more robust solution could be found.
Will investigate your link a little more.
Thanks
Al
> | Hi
> |
[quoted text clipped - 28 lines]
>
> Willy.
rox.scott - 16 Jun 2006 17:01 GMT
That is "Access Denied".
See the following link for instructions to grant Excel Application
permissions to your ASP.NET app:
http://www.devcity.net/Articles/239/2/article.aspx
-- scott
> Hi
>
[quoted text clipped - 20 lines]
> Thanks in advance
> Al