亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

An unhandled exception 。。有關文件夾中含有日期格式 asp.net

An unhandled exception 。。有關文件夾中含有日期格式 asp.net

翻過高山走不出你 2018-08-02 05:10:32
上傳后后的文件命名為:"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\不存在,此時,應該先判斷下路徑是否存在,不存在則先創建路徑再創建文件。

或者你把文件名中的\替換為-


查看完整回答
反對 回復 2018-08-06
?
慕的地10843

TA貢獻1785條經驗 獲得超8個贊

系統不允許建立這樣名稱的文件,修改下格式就行了,例如:*****_2012_06_19.文件后綴

查看完整回答
反對 回復 2018-08-06
  • 2 回答
  • 0 關注
  • 775 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號