IIS Server Security - Exception Access denied , creating an excel object ASP .net C#

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server Security > July 2005 > Exception Access denied , creating an excel object ASP .net C#





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Exception Access denied , creating an excel object ASP .net C#
Hemant shastri

2005-07-27, 7:51 am

In my web application i am reading the data from excel file and inserting the
records into the database.(In ASP.net C#)

for some users i am getting exception "Access denied" at the following line
of the code.
Excel.Application=new Excel.Application();
for some user it is working fine.
In IIS -->properties-->directory security-->Authentication mode is
"Integrated Authentication" , needed to find the login id of the user.
Web.config file identity impersonate option is also true.
How can i avoid this error message?
Please help...Thanks to all of you for investing the time and replying.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com