Wrox Programmer Forums
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 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 July 15th, 2003, 02:44 AM
Registered User
 
Join Date: Jul 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default EXCEL in .NET

Hi,
I want to use MS-Excel sheet in my .Net Application. I want it to be opened as a separate tab on taskbar(not embedded in the ASP.Net page). I included reference of excel and tried to create application similar to the sample at "C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Samples\Technologies\Interop\App lications\Office\Excel\cs".
But at run time I am getting error saying "Access is Denied" for Application app = new Application();

Please help me..
Thanks in advance

 
Old January 31st, 2005, 01:06 AM
Registered User
 
Join Date: Sep 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

   Type dcomcnfg in Run.Select Microsoft Excel application and click

properties.In this go to security tab.U can see 3 Radio button.

Checked "Use custom access permissions" and go to edit button.Here u

have to add systemname/ASPNET(asp_wp account)(It will be populate

when u click show users) and Administrator.

Same way u have to follow remaining 2 radio buttons.

After that u go to Identity tab and check the "The launching

user".Then run your application.Still if u get access denied or

system throw error change the "The launching user" to "The

interactive user".
 
Old October 14th, 2005, 06:37 AM
Registered User
 
Join Date: Oct 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to aliinal Send a message via MSN to aliinal
Default

Arimanenjan you're great!

I've spent hours of time and then you're post solved my problem :)

Thanks again...
@li






Similar Threads
Thread Thread Starter Forum Replies Last Post
Asp.NET And Excel Theone84 ASP.NET 2.0 Professional 1 July 10th, 2008 03:22 PM
ADO.NET and Excel Theone84 ADO.NET 0 July 7th, 2008 05:20 AM
Excel in .NET SaiCharan ASP.NET 1.0 and 1.1 Basics 0 May 8th, 2006 07:02 AM
vb.net and excel - HELP! vbnetgeek Pro VB.NET 2002/2003 3 May 10th, 2005 09:38 PM
Excel to ASP.Net mahulda General .NET 5 October 4th, 2004 08:47 AM





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