ASP.Net Com-InterOp Excel Generation issue when hosting

后端 未结 9 1444
野性不改
野性不改 2021-01-04 10:08

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.

But when I

9条回答
  •  盖世英雄少女心
    2021-01-04 10:52

    I have the same situation when try to read an uploaded Excel file. Let try these steps. It works for me.

    1. Create a local account (set password and tick never expired)
    2. Add created account in step 1 to group IIS_IUSRS
    3. Modify your web config ...
    4. Logoff your server and try.

    Hope it is helpful for you.

提交回复
热议问题