Does anyone know how to access MS Office libraries MS Office 2007.NET C # for working with Vista?
I have a .NET C # application that I have installed to work as a Windows service. This program will open a Word or Excel template, depending on the situation, and change its contents, and then save the document. All of this worked great when I did this on a computer running Windows Server 2003 or XP using Office 2007. When I moved everything to the Server 2008 window, everything stopped working. For example, in Excel, I get a COM exception telling me that the Excel file cannot be opened when the file is explicitly there, and I can open it just fine when I do it manually. The Windows service runs under the same user account with which I am logged in, and this account is the administrator.
Does anyone know what to do?
source
share