Exception Access denied , creating an excel object ASP .net C#
From: Hemant shastri (shastri_at_discussions.microsoft.com)
Date: 07/27/05
- Next message: Ken Schaefer: "Re: Redirecting http:// to https:/"
- Previous message: John _at_ X: "HTTPS design question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 27 Jul 2005 04:10:02 -0700
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.
- Next message: Ken Schaefer: "Re: Redirecting http:// to https:/"
- Previous message: John _at_ X: "HTTPS design question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|