473,796 Members | 2,669 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP->Stored Procedure Properties

Hello;

I am having an interesting problem.

I have an application which allows a user to enter data on the front end
(Broswer HTML/ASP), click on a button and using the entered data runs some
calculations and returns the data.

Everything works fine, all the fields all the calulcations up to a certain
amount of entered characters. Not sure why.

As soon as I reach the breaking point, any additional character, number will
make the applicatino fail. The application will not even reach the stored
procedure.

I am dealing with 120 possible input boxes, so the data entered can get
pretty big.

My question: Is there a property, either in the browser, in the stored
procedure or in asp which allows for only a certain size limit.

I enclosed the code connection me to the Stored Procedure.

set spudateAll = Server.CreateOb ject("ADODB.Com mand")
spudateAll.Acti veConnection = MM_RORACsql_STR ING
spudateAll.Comm andText = "spUpdateAllFac ilities"
spudateAll.Comm andType = 4
spudateAll.Comm andTimeout = 0
spudateAll.Prep ared = true
spudateAll.Para meters.Append spudateAll.Crea teParameter("RE TURN_VALUE", 3, 4)
spudateAll.Para meters.Append spudateAll.Crea teParameter("@I D1", 3,
1,4,spudateAll_ _ID1)

<-- There is another 100 Parameter lines, which I am not including -->

spudateAll.Exec ute()

Any help, and I mean any would be much appreciated.

Thanks
Feb 2 '06 #1
2 1086
check that you are doing form posts, not gets. a get will limit you to about
2k.

-- bruce (sqlwork.com)

"ACase" <AC***@discussi ons.microsoft.c om> wrote in message
news:3C******** *************** ***********@mic rosoft.com...
Hello;

I am having an interesting problem.

I have an application which allows a user to enter data on the front end
(Broswer HTML/ASP), click on a button and using the entered data runs some
calculations and returns the data.

Everything works fine, all the fields all the calulcations up to a certain
amount of entered characters. Not sure why.

As soon as I reach the breaking point, any additional character, number
will
make the applicatino fail. The application will not even reach the stored
procedure.

I am dealing with 120 possible input boxes, so the data entered can get
pretty big.

My question: Is there a property, either in the browser, in the stored
procedure or in asp which allows for only a certain size limit.

I enclosed the code connection me to the Stored Procedure.

set spudateAll = Server.CreateOb ject("ADODB.Com mand")
spudateAll.Acti veConnection = MM_RORACsql_STR ING
spudateAll.Comm andText = "spUpdateAllFac ilities"
spudateAll.Comm andType = 4
spudateAll.Comm andTimeout = 0
spudateAll.Prep ared = true
spudateAll.Para meters.Append spudateAll.Crea teParameter("RE TURN_VALUE", 3,
4)
spudateAll.Para meters.Append spudateAll.Crea teParameter("@I D1", 3,
1,4,spudateAll_ _ID1)

<-- There is another 100 Parameter lines, which I am not including -->

spudateAll.Exec ute()

Any help, and I mean any would be much appreciated.

Thanks

Feb 2 '06 #2
Your a genius. Thank You.

Amazing that one little piece of code, was the source of so much confusion.
"Bruce Barker" wrote:
check that you are doing form posts, not gets. a get will limit you to about
2k.

-- bruce (sqlwork.com)

"ACase" <AC***@discussi ons.microsoft.c om> wrote in message
news:3C******** *************** ***********@mic rosoft.com...
Hello;

I am having an interesting problem.

I have an application which allows a user to enter data on the front end
(Broswer HTML/ASP), click on a button and using the entered data runs some
calculations and returns the data.

Everything works fine, all the fields all the calulcations up to a certain
amount of entered characters. Not sure why.

As soon as I reach the breaking point, any additional character, number
will
make the applicatino fail. The application will not even reach the stored
procedure.

I am dealing with 120 possible input boxes, so the data entered can get
pretty big.

My question: Is there a property, either in the browser, in the stored
procedure or in asp which allows for only a certain size limit.

I enclosed the code connection me to the Stored Procedure.

set spudateAll = Server.CreateOb ject("ADODB.Com mand")
spudateAll.Acti veConnection = MM_RORACsql_STR ING
spudateAll.Comm andText = "spUpdateAllFac ilities"
spudateAll.Comm andType = 4
spudateAll.Comm andTimeout = 0
spudateAll.Prep ared = true
spudateAll.Para meters.Append spudateAll.Crea teParameter("RE TURN_VALUE", 3,
4)
spudateAll.Para meters.Append spudateAll.Crea teParameter("@I D1", 3,
1,4,spudateAll_ _ID1)

<-- There is another 100 Parameter lines, which I am not including -->

spudateAll.Exec ute()

Any help, and I mean any would be much appreciated.

Thanks


Feb 2 '06 #3

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

Similar topics

7
9013
by: Bill Kellaway | last post by:
Hi there - this should be fairly simple for someone. Basically I can't figure out how to pass the parameters from ASP to a Stored Procedure on SQL. Here's my code: I just need to help in learning how to pass these varibables from ASP to the SP.
4
1554
by: Andrew J Durstewitz | last post by:
Hi! I'm not sure if you can do this but what I want to do it execute a stored procedure but query it with dynamic ASP data. Basically, exex StoredProc where id = 2 I am using a set of dynamic data and I truly belive looping trought the dataset would be too much overhead on the server.
7
1625
by: Douglas Buchanan | last post by:
I can't seem to open SQLS2k Stored Procedures in the IDE I am running MDE 2003 Version 7.1.3088 I have a MSDN professional subscription and did a complete install of vs.net Help explains how to do it: 1. In Server Explorer, expand the Stored Procedures folder. 2. Double-click the name of the stored procedure you want to open.
13
3140
by: Patrick * | last post by:
Reading a book on .ASP .NET I am getting a bit mixed up as to the difference between "property" and "attribute" as the terms don't seem to be used consistently in the book I am reading. Can anyone give two good definitions? Both with respect to controls.
0
4250
by: Anonieko Ramos | last post by:
ASP.NET Forms Authentication Best Practices Dr. Dobb's Journal February 2004 Protecting user information is critical By Douglas Reilly Douglas is the author of Designing Microsoft ASP.NET Applications and owner of Access Microsystems. Doug can be reached at doug@accessmicrosystems.com. --------------------------------------------------------------------------------
2
3883
by: kennethgrice | last post by:
Hi, I am new to ASP.net and visual studio.net. I have created a new ASP.NET Web Application and have started with a simple form. I have created a simple test database that will store a person's first and last name and their SSN. The primary key is an autonumbered field.
1
1181
by: teddy | last post by:
i have some stored procedures written in asp can i use the same stored procedures in my .net web application.
1
1301
by: amnai | last post by:
Procedure 'p_list_cases' expects parameter '@user_name', which was not supplied. Code for the Stored Procedure ============================= CREATE PROCEDURE dbo.p_list_cases @case_no int =9999999
3
3745
by: mgsmario | last post by:
Hi Guys I have an ASP application that connects to an Oracle database, right now I'm trying to connect this same ASP application to a DB2 database (Express-C, version 9.5.0). I'm in the process of trying to translate all the programing withing asp pages, so, can interact smoothly with db2. Now, I have problems trying to use a stored procedure (db2) and call it from my asp application. Here's part of my procedure:
0
2113
by: mgsmario | last post by:
Hi Guys I have an ASP application that connects to an Oracle database, right now I'm trying to connect this same ASP application to a DB2 database (Express-C, version 9.5.0). I'm in the process of trying to translate all the programing withing asp pages, so, can interact smoothly with db2. Now, I have problems trying to use a stored procedure (db2) and call it from my asp application. Here's part of my procedure:
0
9673
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9525
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
10452
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
10003
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
6785
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
5440
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
5569
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4115
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2924
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.