Microsoft Office Excel cannot access the file 'c:\inetpub\wwwroot\Timesheet\App_Data\Template.xlsx'

前端 未结 7 1612
死守一世寂寞
死守一世寂寞 2020-11-27 12:35

I have my code as follows :-

Microsoft.Office.Interop.Excel.Application oXL = null;
Microsoft.Office.Interop.Excel.Sheets sheets;
Application excel = new Mic         


        
7条回答
  •  无人及你
    2020-11-27 13:20

    I was previously attempt this problem then i resolved.

    Solution:

    I put the full permission to particular folder(Sub folder and files) and checked working fine.

提交回复
热议问题