In my ASP.Net application I\'m generating a Excel file using MsExcel Object Libby (Com-InterOp) . The application worked fine in the VS dev. environment.
Just set the Identity to this User and enter the username and password of a user who has sufficient rights. In my case I entered a user of power user group.