ASP.Net Com-InterOp Excel Generation issue when hosting

后端 未结 9 1415
野性不改
野性不改 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:47

    Thanks for @Rofans.Net, based on the points provided by him we identified that the server, which the app was hosted was in a 3rd party data center and there is no user logged on to the server all the time. Only logged on users are the RDC users.

    So we managed to have a user all ways logged in and and put the computer in the locked stated so that all ways it has a logged in user.

    This is the only way we found and if anyone found a better way please add.

    Thanks.

提交回复
热议问题