开发者

"A required privilege is not held by the client" error when using ExcelPackage

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."

开发者_如何学JAVAHow to resolve it ? Please help ....

Regards Girish


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜