Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 20th, 2006, 10:46 AM
Registered User
 
Join Date: Apr 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to lagyossarian
Default 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.
 
Old July 21st, 2006, 02:36 AM
Registered User
 
Join Date: Jul 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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






Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel Interop Issue geomar .NET Framework 2.0 0 February 10th, 2007 09:21 PM
Help needed regarding excel interop livehed ASP.NET 2.0 Basics 0 November 26th, 2006 10:31 AM
Help needed regarding Excel Interop livehed C# 0 November 20th, 2006 02:25 PM
Problem Using CAPICOM, CDOSYS and EXCEL Interop wi ParthaChoudhury General .NET 0 May 3rd, 2004 03:59 PM





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