|
Microsoft Office Excel 不能訪(fǎng)問(wèn)文件“XXXXX.xls”。 可能的原因有: 文件名稱(chēng)或路徑不存在。
此代碼在2003的服務(wù)器上運(yùn)行的沒(méi)有問(wèn)題,在給工作目錄加上了相應(yīng)的權(quán)限后發(fā)現(xiàn)問(wèn)題依舊。無(wú)奈,上網(wǎng)去轉(zhuǎn)了一圈,找到了一個(gè)解決方法,以下是其中關(guān)鍵的部分: This solution is ... Windows 2008 Server x64 C:/Windows/SysWOW64/config/systemprofile/Desktop Windows 2008 Server x86 Please make this folder. C:/Windows/System32/config/systemprofile/Desktop ...instead of dcomcnfg.exe. This operation took away office automation problems in my system. A Desktop folder seems to be necessary in the systemprofile folder to open file by Excel. It disappears from Windows2008, Windows2003 had the folder, 即在C:/Windows/System32/config/systemprofile和C:/Windows/SysWOW64/config/systemprofile目錄下創(chuàng)建名為Desktop目錄即可解決問(wèn)題。 |
|
|
來(lái)自: 憶幽 > 《我的圖書(shū)館》