views:

312

answers:

1

Hi to all ,

I am using ExcelPackage to create the excel sheet through .net.

I am taking the reference at codeplex for creating excel sheet.

It is giving me following error:

A required privilege is not held by the client.

at the line when creating object of FileInfo class as

FileInfo newFile = new FileInfo(@"C:\mynewfile.xlsx");

with the heading of Error "IOException was unhandled by user code."

How to resolve it ? Please help ....

Regards Girish

A: 

I'm using ExcelPackage in production environment and haven't got into any problem. Please give required permissions to on the folder to authenticated users or the user account (aspnet?) under which the process is running.

TheVillageIdiot