上传后后的文件命名为:"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 回答
![?](http://img1.sycdn.imooc.com/5333a0350001692e02200220-100-100.jpg)
繁花如伊
TA贡献2012条经验 获得超12个赞
regarding the origin and location of the exception can be identified using the exception stack trace below.
找出原始的异常信息看。
从你的说明看,应该是路径CreateDocument-Admin-6\15\不存在,此时,应该先判断下路径是否存在,不存在则先创建路径再创建文件。
或者你把文件名中的\替换为-
- 2 回答
- 0 关注
- 362 浏览
添加回答
举报
0/150
提交
取消