The NoteBook of EricKong

            BlogJava :: 首頁(yè) :: 聯(lián)系 :: 聚合  :: 管理
            611 Posts :: 1 Stories :: 190 Comments :: 0 Trackbacks

          Article PS02022586

          800A0001 Unspecified error

          Problem Description

          When uploading files with AspUpload 3.0 (and higher), the following error may be thrown by the Save method:

          Persits.Upload.1 (0x800A0001)
          Unspecified error

          Solution

          In most cases it means that your upload script uses Request.Form or Request.QueryString prior to calling Upload.Save . As a result, the BinaryRead method of the Request object fails.

          You must never use Request.Form in your upload script because the ENCTYPE="multipart/form-data" attribute of your form makes this collection unusable. Use Upload.Form instead. Remeber, however, that the Upload.Form collection is populated by a call to Upload.Save, therefore you can only use Upload.Form after a successful call to Upload.Save.



          簡(jiǎn)單來(lái)說(shuō),就是說(shuō)你使用了這個(gè)組件 就不要再使用 Request.Form or Request.QueryString 來(lái)獲取參數(shù),都要用Upload.Form來(lái)獲取,不然就報(bào)錯(cuò)這個(gè)錯(cuò)
          posted on 2010-06-22 12:07 Eric_jiang 閱讀(2342) 評(píng)論(0)  編輯  收藏 所屬分類: ASP
          主站蜘蛛池模板: 漾濞| 包头市| 北宁市| 青海省| 江门市| 博野县| 吉林市| 南雄市| 托克逊县| 三亚市| 盐城市| 英吉沙县| 淮滨县| 蒲城县| 响水县| 太和县| 达孜县| 晋州市| 和林格尔县| 静安区| 金门县| 沂水县| 盈江县| 沾益县| 太原市| 上思县| 景东| 宁南县| 察雅县| 潜山县| 石柱| 石泉县| 宿州市| 邻水| 成都市| 满城县| 河池市| 广丰县| 府谷县| 寿阳县| 南陵县|