D:\AppServ\www\test_excelMyXls/MyExcelDB.xlsMicrosoft Excel
Fatal error: Uncaught exception 'com_exception' with message '<b>Source:</b> Microsoft Office Excel<br/><b>Description:</b> Microsoft Office Excel cannot access the file 'D:\AppServ\www\test_excel\MyXls\MyExcelDB.xls'. 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.' in D:\AppServ\www\test_excel\phpReadExcel.php:16 Stack trace: #0 D:\AppServ\www\test_excel\phpReadExcel.php(16): variant->Open('D:\AppServ\www\...') #1 {main} thrown in D:\AppServ\www\test_excel\phpReadExcel.php on line 16
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.'
จัดไปตามนี้ครับ
ให้สร้างโฟเดอร์ตามนี้
・Windows 2008 Server x64
C:\Windows\SysWOW64\config\systemprofile\Desktop
・Windows 2008 Server x86
C:\Windows\System32\config\systemprofile\Desktop
อย่าลืมกำหนด Permission ให้โฟเดอร์ด้วย โดย User จะชื่อว่า IUSR หรือ IWAM เลือก Full Control