I am writing a C# program that will run on a task scheduler 3 - 4 times a day. It will be installed on a server that is also used as a terminal server w/ folks using Remote Desktop to access it numerous times a day. That being said, I can't just arbitrarily install Excel on it b/c Microsoft requires different licensing if the server is used as a terminal server. When I test my program on the server, it acts like it is running successfully but the spreadsheet never gets created. I have plenty of logging, so I know that it has gotten past the new XLWorkbook() line and has went through a WHILE loop populating the cells (supposedly). I don't need to open the spreadsheet on the server, rather it will just be created and then used as an import file into 3rd party web application. Will it only work if Excel is installed on the server? I don't get any errors telling me that it can't find Excel or anything to point me in the right direction.
↧