473,804 Members | 3,509 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error on Request.BinaryR ead in IIS 6.0 (Win 2003)

I have a VBscript that I use to upload files onto the
server. The script works fine on IIS 5.0 but on IIS 6.0 on
Windows 2003 I get an error when uploading certain files.
I believe its because the file is larger than what is
normally uploaded. Average file size is 15KB this file is
490Kb.

The error that I get is

Request object error 'ASP 0104 : 80004005' Operation not
Allowed

The code on the line is
biData = Request.BinaryR ead(Request.Tot alBytes)

Also the totalbytes on the two systems are different. Any
idea why this is happening. Is there any solution?
Jul 19 '05 #1
1 7341
I'm not a network guru or anything, but isn't there a setting that can be
set on the server to limit the size of a file upload like the size of an
attachment that can be sent through email? Or you need to make sure you have
write privileges to the location where you are uploading the files inside
the web server setup as well as Windows write privileges.

"Nikhil" <ni******@yahoo .com> wrote in message
news:1c******** *************** *****@phx.gbl.. .
I have a VBscript that I use to upload files onto the
server. The script works fine on IIS 5.0 but on IIS 6.0 on
Windows 2003 I get an error when uploading certain files.
I believe its because the file is larger than what is
normally uploaded. Average file size is 15KB this file is
490Kb.

The error that I get is

Request object error 'ASP 0104 : 80004005' Operation not
Allowed

The code on the line is
biData = Request.BinaryR ead(Request.Tot alBytes)

Also the totalbytes on the two systems are different. Any
idea why this is happening. Is there any solution?

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4505
by: Roberto | last post by:
Sometimes when loading binary files with Request.BinaryRead IIS on the log gives me the following Error (I have analyzed IIS Log with Web Trend Analyzer and the error isn't frequent): POST .../WZUpload.asp |59|ASP_0101_:_80004005|Unexpected_error... I don't have information on the file inserted because it was inserted by other people (Web Candidates that inserts their curricula on our Web Site) I have tried with large files and I...
1
2736
by: Vince C. | last post by:
Hi. I'm trying to put upload results from an HTML form into an ADO stream. I thought I could code the following (JavaScript): var s = Server.CreateObject("ADODB.Stream"); s.Type = adTypeBinary; s.Open(); s.Write( Request.BinaryRead() )
1
11934
by: P Cooper | last post by:
(Posted in multiple groups...Apologies) Why does the error below occur whenever the statement Request.BinaryRead(Request.TotalBytes) is executed for uploads larger than 100K? I thought the 100K limit applied only to Request.Form. This does not occur with smaller uploads. This is running on an IIS 6 server with full FP2002 extensions. ERROR: Request object error 'ASP 0104 : 80004005'
2
11681
by: F. Nolet | last post by:
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 :
2
1625
by: Davie | last post by:
I had an ASP page which implemented a file upload feature. However, after moving this application from NT4 to Windows 2003 I receive an error which is caused by the Request.BinaryRead read. The error says this operation in not allowed. Anyone any idea, I presume it will be an IIS setting, but not sure what! Any help greatly appreciated.
4
1818
by: Larry Tate | last post by:
I am wanting to get those cool html error pages that ms produces when I hit an error in asp.net. For instance, when I get a compilation error I get an html error page that shows me the Description: Compiler Error Message: Source Error: Source File: The main thing I want is the Source Error. This give me a few lines of the
1
2266
by: Lau Lei Cheong | last post by:
Hello, I'm trying to build an application that will use Request.BinaryRead() to save a number of uploads with progress display. However, since there is little information on MSDN about this function, I would like to seek some help here. In the MSDN page, the function remark states that Request.Form will fail once I used Request.BinaryRead(), so would it have effect on objects like HtmlControls and Webcontrols, such as some properties...
2
1768
by: Rabbit | last post by:
Dear All, I've been tried various configuration and did install SP1 on Windows 2003 Server. The problem now that I have is an aspx page located on the web site for taking the file post by client side. It was working perfect on testing platform(Win XP IIS) and previous production server(Win 2000). Recently when I'd upgrade the server to Win 2003, my web server of it keeps
2
8980
by: Griff | last post by:
Bizarre problem here.... I have a classic ASP web page that exists in one project. I have copied this code file into another web project and it errors! The code has not been altered in any way, so I'm not sure why its errored. In more details: The page starts by validating the user, so reads from the request object,
0
9588
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10589
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10327
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10085
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9161
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7625
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6857
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3828
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2999
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.