Error trying to Upload Files w/o a Component

Results 1 to 2 of 2

Thread: Error trying to Upload Files w/o a Component

  1. #1
    Join Date
    Dec 1969

    Default Error trying to Upload Files w/o a Component

    Hey Folks,<BR>I&#039;m trying to give people the chance to upload files to my page without me having to install any components. Well, I stumbled onto one way at and I&#039;m trying to get to to work.<BR><BR>Anyways, it fails on the following line, which I pretty much don&#039;t understand (other than assuming that it does what the comment says). <BR><BR>The code requires "ADO 2.5+ and vbScript 5.0+". I don&#039;t know if the code is the problem or my machine. How can I check if my machine makes the grade (Win 2000, IIS 5.0)?<BR><BR>My exact error is below the code. <BR><BR>&#060;%<BR>&#039;Save the binary data to file system<BR>&#039;Overwrites file if previously exists!<BR>Call lobjStream.SaveToFile(pstrFileName, adSaveCreateOverWrite)<BR>%&#062;<BR><BR>Error msg:<BR><BR> * Error Type:<BR> ADODB.Stream (0x800A0BBC)<BR> Write to file failed.<BR> /kbac/upload/clsField.asp, line 178<BR><BR> * Browser Type:<BR> Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8<BR><BR> * Page:<BR> POST 20555 bytes to /kbac/upload/ToFileSystem.asp<BR><BR> * POST Data:<BR> error &#039;80020009&#039;<BR><BR> Exception occurred.<BR><BR> /iisHelp/common/500-100.asp, line 223<BR>

  2. #2
    Join Date
    Dec 1969

    Default Yeah? And what is line 178?

    And where&#039;s the debug code surrounding the problem line?<BR><BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts