上傳后后的文件命名為:"createdocument-admin_2012\06\19.文件后綴".如:CreateDocument-Admin-6\15\2012_134.html。調(diào)試的時候報:An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.有人遇到過嗎?
2 回答

繁花如伊
TA貢獻2012條經(jīng)驗 獲得超12個贊
regarding the origin and location of the exception can be identified using the exception stack trace below.
找出原始的異常信息看。
從你的說明看,應(yīng)該是路徑CreateDocument-Admin-6\15\不存在,此時,應(yīng)該先判斷下路徑是否存在,不存在則先創(chuàng)建路徑再創(chuàng)建文件。
或者你把文件名中的\替換為-
- 2 回答
- 0 關(guān)注
- 383 瀏覽
添加回答
舉報
0/150
提交
取消