473,397 Members | 2,099 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

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.CreateObject("ADODB.Command")
spudateAll.ActiveConnection = MM_RORACsql_STRING
spudateAll.CommandText = "spUpdateAllFacilities"
spudateAll.CommandType = 4
spudateAll.CommandTimeout = 0
spudateAll.Prepared = true
spudateAll.Parameters.Append spudateAll.CreateParameter("RETURN_VALUE", 3, 4)
spudateAll.Parameters.Append spudateAll.CreateParameter("@ID1", 3,
1,4,spudateAll__ID1)

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

spudateAll.Execute()

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

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

-- bruce (sqlwork.com)

"ACase" <AC***@discussions.microsoft.com> wrote in message
news:3C**********************************@microsof t.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.CreateObject("ADODB.Command")
spudateAll.ActiveConnection = MM_RORACsql_STRING
spudateAll.CommandText = "spUpdateAllFacilities"
spudateAll.CommandType = 4
spudateAll.CommandTimeout = 0
spudateAll.Prepared = true
spudateAll.Parameters.Append spudateAll.CreateParameter("RETURN_VALUE", 3,
4)
spudateAll.Parameters.Append spudateAll.CreateParameter("@ID1", 3,
1,4,spudateAll__ID1)

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

spudateAll.Execute()

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***@discussions.microsoft.com> wrote in message
news:3C**********************************@microsof t.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.CreateObject("ADODB.Command")
spudateAll.ActiveConnection = MM_RORACsql_STRING
spudateAll.CommandText = "spUpdateAllFacilities"
spudateAll.CommandType = 4
spudateAll.CommandTimeout = 0
spudateAll.Prepared = true
spudateAll.Parameters.Append spudateAll.CreateParameter("RETURN_VALUE", 3,
4)
spudateAll.Parameters.Append spudateAll.CreateParameter("@ID1", 3,
1,4,spudateAll__ID1)

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

spudateAll.Execute()

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
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...
4
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...
7
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...
13
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...
0
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...
2
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...
1
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
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...
3
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...
0
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
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...
0
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...
0
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,...

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.