In my C#.net application, I am creating excel file and it is working fine at my local system but its give below error when deployed the application in IIS
- My Web server don't have office installed.
Error:
ExceptionMessage> Microsoft Excel cannot access the file '\............xltm'. There are several possible reasons: • The file name or path does not exist. • The file is being used by another program. • The workbook you are trying to save has the same name as a currently open workbook. System.Runtime.InteropServices.COMException