上傳后后的文件命名為:"createdocument-admin_2012\06\19.文件后綴".如:CreateDocument-Admin-6\15\2012_134.html。調試的時候報: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 回答

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