The NoteBook of EricKong

            BlogJava :: 首頁 :: 聯(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.



          簡單來說,就是說你使用了這個(gè)組件 就不要再使用 Request.Form or Request.QueryString 來獲取參數(shù),都要用Upload.Form來獲取,不然就報(bào)錯(cuò)這個(gè)錯(cuò)
          posted on 2010-06-22 12:07 Eric_jiang 閱讀(2330) 評論(0)  編輯  收藏 所屬分類: ASP
          主站蜘蛛池模板: 噶尔县| 宜君县| 太原市| 河源市| 阿勒泰市| 都江堰市| 湘阴县| 崇礼县| 日土县| 正定县| 兰考县| 江油市| 石景山区| 无为县| 奉节县| 仪陇县| 西吉县| 邯郸市| 阜新市| 台安县| 阿瓦提县| 棋牌| 景东| 吴旗县| 隆子县| 正安县| 高密市| 卓资县| 青海省| 梁平县| 穆棱市| 融水| 云阳县| 通辽市| 越西县| 德清县| 增城市| 丁青县| 海原县| 定襄县| 双辽市|