Author: Chaplain Doug | Posted on: 7/22/2008 5:55:55 PM | Views : 353

I am getting the following error when users try to run the code I created that accesses the Excel library.  The line that croaks is in red.  The class module has the following at the top:

Imports MSExcel = Microsoft.Office.Interop.Excel

I am told that I need to add the user to have access to EXCEL.EXE (is this the right file to add the access to??).  First, I am using impersonate, so I added IUSR_GNSERVER with proper access, but the error still occurred.  Second, I tried adding a particular user to have the proper access and the error still occurred when I logged in as him.  Can anyone tell me what I need to do?  Is EXCEL.EXE the file I need to be giving permissions to??  Thanks for the help.  Here is the error I get:

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity ( ...

Go to the complete details ...