Excel Automation Windows Service
问题 I have a Windows Service that runs the Excel Interop in order to automate the execution of various macros. However, I am running in a peculiar issue when I try to run a macro which access a database using Windows Authentication ... If the macro is run through the Windows Service , the workbook is opened and the macro is execution is started but the application hangs (presumably at the data access portion). If, however, the macro is run through the Visual Studio debugger , using the same