Lỗi sample:
Mã:
Microsoft Office Excel cannot access the file 'C:\TKS\Logistics ERP\Bonded_Warehouse\v1.0.0\FileManagement\ImportExcel\Gia sat hop_06082014023415.xlsx'. 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.
Cách sửa:
Mã:
Create directory "C:\Windows\SysWOW64\config\systemprofile\Desktop " (for 64 bit Windows) or "C:\Windows\System32\config\systemprofile\Desktop " (for 32 bit Windows)
Set Full control permissions for directory Desktop (for example in Win7 & IIS 7 & DefaultAppPool set permissions for user "IIS AppPool\DefaultAppPool")