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