p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 2.0 Basics (http://p2p.wrox.com/forumdisplay.php?f=136)
-   -   Problem activating Excel Interop (http://p2p.wrox.com/showthread.php?t=41533)

lagyossarian April 20th, 2006 10:46 AM

Problem activating Excel Interop
I have an ASP.NET 2.0 web application that opens and prints Excel files. It works fine on my development machine; however, I've deployed it to my test server and I get the following error when I try to use the Excel Interop object:

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

I've already gone into Component Services and added the ASPNET user to the Excel DCOM object's users and given it full permissions; but, I'm still getting the same error.

I'm stuck here and any help/guidance would be greatly appreciated. thanks in advance.

Srikkanthan July 21st, 2006 02:36 AM

For ASP.NET 2.0, You need to add NETWORK SERVICE account to the DCOMCONFIG - Microsoft Excel application. Then it will work.

All times are GMT -4. The time now is 02:51 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.