473,804 Members | 2,257 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

aspSmartUpload Download Problem

I am getting the following error:

Error Type:
ADODB.Field (0x800A0BB9)
Arguments are of the wrong type, are out of acceptable range, or are
in conflict with one another.
When this code snippet is executed.

<%
Set mySmartUpload =
Server.CreateOb ject("aspSmartU pload.SmartUplo ad")

mySmartUpload.D ownloadField objRS("FileData ")
%>

objRS("FileData ") is an 'Image' datatype field in a sql server
database. It contains the image of a Microsoft Word document.

This code works perfectly when that word document is a relatively
small document. When the doc gets to be larger than 10 mb, the
download produces the error shown above.

Does anybody know of a work around or how to configure for larger
files?

Jun 6 '07 #1
4 6262
da***@davesacon sulting.com wrote:
I am getting the following error:

Error Type:
ADODB.Field (0x800A0BB9)
Arguments are of the wrong type, are out of acceptable range, or are
in conflict with one another.
When this code snippet is executed.

<%
Set mySmartUpload =
Server.CreateOb ject("aspSmartU pload.SmartUplo ad")

mySmartUpload.D ownloadField objRS("FileData ")
%>

objRS("FileData ") is an 'Image' datatype field in a sql server
database. It contains the image of a Microsoft Word document.

This code works perfectly when that word document is a relatively
small document. When the doc gets to be larger than 10 mb, the
download produces the error shown above.

Does anybody know of a work around or how to configure for larger
files?
You could try to tweak this value:
http://technet2.microsoft.com/Window...05cf91033.mspx

In fact, the aspSmartUpload documentation advises this on IIS6.

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.
Jun 6 '07 #2

"Dave Anderson" <NP**********@s pammotel.comwro te in message
news:es******** ******@TK2MSFTN GP05.phx.gbl...
da***@davesacon sulting.com wrote:
I am getting the following error:

Error Type:
ADODB.Field (0x800A0BB9)
Arguments are of the wrong type, are out of acceptable range, or are
in conflict with one another.
When this code snippet is executed.

<%
Set mySmartUpload =
Server.CreateOb ject("aspSmartU pload.SmartUplo ad")

mySmartUpload.D ownloadField objRS("FileData ")
%>

objRS("FileData ") is an 'Image' datatype field in a sql server
database. It contains the image of a Microsoft Word document.

This code works perfectly when that word document is a relatively
small document. When the doc gets to be larger than 10 mb, the
download produces the error shown above.

Does anybody know of a work around or how to configure for larger
files?

You could try to tweak this value:
http://technet2.microsoft.com/Window...05cf91033.mspx
>
In fact, the aspSmartUpload documentation advises this on IIS6.
That setting affects the maximum size of upload whereas in this case the
SmartUpload component is being used to perform a download.

It's more likely this one is needed:-

http://technet2.microsoft.com/window....mspx?mfr=true

AspBufferLimit controls the size of the response buffer. OTH assuming
aspSmartUpload chunks the output to the response simply using
Response.Buffer = false may fix it.


>

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message.
Use
of this email address implies consent to these terms.


Jun 7 '07 #3
Anthony Jones wrote:
That setting affects the maximum size of upload whereas in this
case the SmartUpload component is being used to perform a download.
So it is. In either case, a metabase setting seems a likely factor.

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.
Jun 7 '07 #4
I have tried changing both ASPMaxRequestEn tityAllowed and
ASPBufferingLim it. I also set Response.Buffer ing = false.

Unfortunately this has not resolved the problem.

Jun 8 '07 #5

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

Similar topics

3
6942
by: cam | last post by:
Hi: How can I rename the file being uploaded using ASPSmartUpload? I can set the other parameters ok, just looking for the syntax to rename the file. E.G. User uploading GIF file. I'd like to rename the file 'test.gif' ********
2
13848
by: Jake | last post by:
Hi group, I am trying to build a page that allows uploading My ISP only supports Smartupload I am testing on a small hubbed local network, with PWS Any help is appreciated. --------------------- 'rqstupl.asp contents <HTML>
0
2417
by: Jake | last post by:
Hi All, > Hi experts, > > I am trying to build a page that allows file uploading from a browser > My ISP where the page will be located, only supports Smartupload > I am testing on a small hubbed local network, with PWS > Any help is appreciated. > --------------------- > 'rqstupl.asp contents
2
6113
by: SayMyName | last post by:
Due to my browser being danishm the error message will not mean much t most of you. It is an "Unspecified problem" with "Provide (0x80004005)" POST Data: error '80020009' The error only arrives with some apperently random files bein uploaded. Please Help
2
2586
by: SayMyName | last post by:
Due to my browser being danishm the error message will not mean much to most of you. It is an "Unspecified problem" with "Provider (0x80004005)" POST Data: error ''80020009'' The error only arrives with some apperently random files being uploaded. Please Help The codes being used for the upload is: Response.Write "<form method=""post"" action=""./item/upload.asp"""
0
1404
by: AdrianG | last post by:
Hi there, Does ASPSmartUpload work with the MacOSX Safari browser? One of my clients uses the Safari browser and the upload never works. The scripts work fine with IE and FireFox. Thanks
1
2160
by: pook | last post by:
Error Type: Server object, ASP 0177 (0x800401F3) Invalid class string <% set up = Server.CreateObject("aspsmartupload.smartupload") up.upload '---------temp data %>
2
6027
by: MitchellEr | last post by:
Hi, I've seen various forum posts that mention the ability to set ASPSmaryUpload's Codepage property in order to handle UTF-8 and other character encodings. Example: http://www.thescripts.com/forum/thread102044.html I'd like to set this property so that foreign characters in form submissions are posted correctly especially for text fields. When I try doing it, I receive the following message: Microsoft VBScript runtime (0x800A01B6)...
4
5276
by: =?Utf-8?B?VG9kZA==?= | last post by:
I am using Windows XP and have registered the aspsmartupload dll and moved it into the system32 directory. I get the following error Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80070005) General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x918 Thread 0xa90 DBC 0x96768d4 Jet'.
0
9594
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
10599
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...
0
10346
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10347
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
9173
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...
0
6863
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();...
0
5531
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5673
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3001
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.