Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Request.BinaryRead, error 'ASP 0101 : 80004005'

Reply
Thread Tools

Request.BinaryRead, error 'ASP 0101 : 80004005'

 
 
F. Nolet
Guest
Posts: n/a
 
      02-07-2005
Hi,

With IIS 6 - ASP :

I try to upload a file of 125,000,000 bytes.
To do it, I use this code :

Request.BinaryRead(Request.TotalBytes)

I get this error :

Request object error 'ASP 0101 : 80004005'
Unexpected error
/test/test.asp, line 20
The function returned |.

I tried with multiple calls to Request.BinaryRead but with a lower amount of
bytes.

It Works BUT .... if you call Request.BinaryRead with a value lower than
67125217 it works, any values equal or above, I get the error described
before.

Is it a BUG ???

 
Reply With Quote
 
 
 
 
Mark Schupp
Guest
Posts: n/a
 
      02-07-2005
Offhand I would say that your system is choking on the memory allocation
request for a safearry with 67million elements.

I cannot find any restrictions in the binaryread documentation regarding the
size of the returned array but that seems like an awfully large bite to chew
at one time.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com


"F. Nolet" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> With IIS 6 - ASP :
>
> I try to upload a file of 125,000,000 bytes.
> To do it, I use this code :
>
> Request.BinaryRead(Request.TotalBytes)
>
> I get this error :
>
> Request object error 'ASP 0101 : 80004005'
> Unexpected error
> /test/test.asp, line 20
> The function returned |.
>
> I tried with multiple calls to Request.BinaryRead but with a lower amount

of
> bytes.
>
> It Works BUT .... if you call Request.BinaryRead with a value lower than
> 67125217 it works, any values equal or above, I get the error described
> before.
>
> Is it a BUG ???
>



 
Reply With Quote
 
 
 
 
Zam
Guest
Posts: n/a
 
      02-09-2005
Hello,

Not sure, but try "ASPMaxRequestEntityAllowed" in
\windows\system32\inetsvr\metabase.xml

With best regards,

"F. Nolet" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> With IIS 6 - ASP :
>
> I try to upload a file of 125,000,000 bytes.
> To do it, I use this code :
>
> Request.BinaryRead(Request.TotalBytes)
>
> I get this error :
>
> Request object error 'ASP 0101 : 80004005'
> Unexpected error
> /test/test.asp, line 20
> The function returned |.
>
> I tried with multiple calls to Request.BinaryRead but with a lower amount

of
> bytes.
>
> It Works BUT .... if you call Request.BinaryRead with a value lower than
> 67125217 it works, any values equal or above, I get the error described
> before.
>
> Is it a BUG ???
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x8fc Thread 0x934 DBC 0x437b94 Jet'. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr bazzer ASP .Net 1 03-24-2006 04:20 PM
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x8fc Thread 0x934 DBC 0x437b94 Jet'. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr bazzer ASP .Net 0 03-24-2006 02:22 PM
0101 FIND MODEL !! PLS HELP !!! INFO PURCHASE!! 0101 Astro Roadkill Computer Support 0 03-05-2004 02:25 AM
error 0101 "Function returned |" Sergey ASP General 2 12-19-2003 10:50 PM
007~ASP 0101~Unexpected error~The function returned | Robert May ASP General 2 10-09-2003 04:22 PM



Advertisments