Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"Access denied" error when trying to instanciate Excel

Status
Not open for further replies.

JCruz063

Programmer
Feb 21, 2003
716
US
C'mon people, don't leave me hanging here (I beg you!) I need to create an Excel object from an ASP.NET application. I'm getting the error:
"Access denied."
when my code tries to execute the line
Excel.ApplicationClass app = new Excel.ApplicationClass();


Please, oh masters of this forum, I beg you! I've given Administrator rights to the ASP user account in my Windows 2000 machine and still doesn't work. What is it that I should do?

Jose
 
Hi,
As I know this belongs to rigths to execute remote applications. Check the .NET policy files.
See : Control Panel->Settings->Administrative Tools -> Local Security Policy and
Control Panel->Settings->Administrative Tools ->.NET Framework Configuration.
It should help you.

-obislavu-
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top