473,811 Members | 2,190 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What type of error is this ?

MFA
Hi All

Thanks to all who replied to my question dated 16/10/2003 with the same
subject..

In all replies I got every one is saying that I am using cint() etc. But i
am not using any convert method.

What I am using.

I have one application veriable defined in global.asa that contain server
address and that variable I am using as below.
src =
"<%=Application ("Server")%>/gimages/Media_Temp/Templat3/images/template3_r19
_c41.jpg"

I am using so many times same variable in same page.

I tried to add the variable one by one and error is coming some where in
mid.
If I am not using this variable and giving the server address as hard coded
there is no error.

This thing is giving me a real big problem...
Error is below.
Error Type:
Microsoft VBScript runtime (0x800A0006)
Overflow: '[number: 33362]'
Kind Regards
Fayyaz
---------------------------------Previous
text-------------------------------------------

I'll bet you a dollar. Are you using a function that expects an integer as
an argument? How about showing your relevant code and we'll figure it out
more easily.

Ray at work

"MFA" <MFA@MFA> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Thanks for your reply.

No I am not converting using any variable in that page..
"Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
news:ut******** ******@TK2MSFTN GP10.phx.gbl...

"MFA" <MFA@MFA> wrote in message
news:ec******** ******@TK2MSFTN GP10.phx.gbl...
I am getting this error below. (Its not integer related or variable

related
error)


What makes you say that?

Are you trying to CInt a variable that has a value of 33,362? You can't

go
over 32,767 (or under -32,768).

Ray at work


Error Type:
Microsoft VBScript runtime (0x800A0006)
Overflow: '[number: 33362]'

Jul 19 '05 #1
12 6497
Unless you can show the actual line where the error is occurring or show all
of your code no one is going to be able to help you much.

I would recommend that you put the value from Application("Se rver") into a
local string variable if you are using it more than once.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"MFA" <MFA@MFA> wrote in message
news:OT******** ******@tk2msftn gp13.phx.gbl...
Hi All

Thanks to all who replied to my question dated 16/10/2003 with the same
subject..

In all replies I got every one is saying that I am using cint() etc. But i
am not using any convert method.

What I am using.

I have one application veriable defined in global.asa that contain server
address and that variable I am using as below.
src =
"<%=Application ("Server")%>/gimages/Media_Temp/Templat3/images/template3_r19 _c41.jpg"

I am using so many times same variable in same page.

I tried to add the variable one by one and error is coming some where in
mid.
If I am not using this variable and giving the server address as hard coded there is no error.

This thing is giving me a real big problem...
Error is below.
Error Type:
Microsoft VBScript runtime (0x800A0006)
Overflow: '[number: 33362]'
Kind Regards
Fayyaz
---------------------------------Previous
text-------------------------------------------

I'll bet you a dollar. Are you using a function that expects an integer as an argument? How about showing your relevant code and we'll figure it out
more easily.

Ray at work

"MFA" <MFA@MFA> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
Thanks for your reply.

No I am not converting using any variable in that page..
"Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
news:ut******** ******@TK2MSFTN GP10.phx.gbl...

"MFA" <MFA@MFA> wrote in message
news:ec******** ******@TK2MSFTN GP10.phx.gbl...
> I am getting this error below. (Its not integer related or variable
related
> error)

What makes you say that?

Are you trying to CInt a variable that has a value of 33,362? You
can't go
over 32,767 (or under -32,768).

Ray at work


Error Type:
Microsoft VBScript runtime (0x800A0006)
Overflow: '[number: 33362]'


Jul 19 '05 #2
"MFA" <MFA@MFA> wrote in message
news:OT******** ******@tk2msftn gp13.phx.gbl...
Hi All

Thanks to all who replied to my question dated 16/10/2003 with the same
subject..

In all replies I got every one is saying that I am using cint() etc. But i
am not using any convert method.

What I am using.

I have one application veriable defined in global.asa that contain server
address and that variable I am using as below.
src =
"<%=Application ("Server")%>/gimages/Media_Temp/Templat3/images/template3_r19 _c41.jpg"

I am using so many times same variable in same page.

I tried to add the variable one by one and error is coming some where in
mid.
If I am not using this variable and giving the server address as hard coded there is no error.


Perhaps you should try debugging using Response.Write. For example, replace
the code above with this:

<%
If Len(Application ("Server")) > 0 Then
Response.Write( "<div>Applicati on(""Server"") =[" & Application("Se rver")
& "]</div>" )
Else
Response.Write( "<div>ERROR : Application(""S erver"") has a length of " &
Len(Application ("Server")) & "</div>" )
End If
%>

Watch for line wraps in the code above.
-Peter Foti
Jul 19 '05 #3
An overflow results when you try to assign a number to a space in memory
that is not configured to contain the number of bytes required to represent
the number. For example, you may have a variable that is defined as Integer.
This variable will only be able to contain a number up to 32,768. If you try
to assign a larger number, such as 33362, to the variable, it will generate
an overflow error.

This can also happen when you are adding two Integers together, if the
result of the addition is greater than 32,768. When vbscript adds two
numbers together, it creates a space in memory to store the result
temporarily. It uses the largest datatype of the two numbers being added to
create that space. So, if you add two Integers, it will create a temporary
space that is configured to store an Integer. If the two integers being
added are 21000 and 22000, the result, 43000 will be too big to put into the
temporary storage location, causing the overflow error. The solution is to
use CLng to convert at least one of the addends to a Long, so that the
temporary storage location will be configured to store a Long result.

HTH,
Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

Jul 19 '05 #4
We're still waiting for you to show us the code, so we can help you.
(Sorry if this message is double-posted.)

Ray at work

"MFA" <MFA@MFA> wrote in message
news:OT******** ******@tk2msftn gp13.phx.gbl...
Hi All
I have one application veriable defined in global.asa that contain server
address and that variable I am using as below.
src =
"<%=Application ("Server")%>/gimages/Media_Temp/Templat3/images/template3_r19 _c41.jpg"

I am using so many times same variable in same page.

I tried to add the variable one by one and error is coming some where in
mid.
If I am not using this variable and giving the server address as hard coded there is no error.

This thing is giving me a real big problem...
Error is below.
Error Type:
Microsoft VBScript runtime (0x800A0006)
Overflow: '[number: 33362]'
Kind Regards
Fayyaz

Jul 19 '05 #5
WHAT LINE IS THE ERROR ON? THIS FILE IS 719 LINES LONG.

Ray at home

"MFA" <MFA@MFA> wrote in message
news:Ok******** ******@TK2MSFTN GP11.phx.gbl...
Thanks for your detail replies and help.

I have attached source file.
When I am using <%=Application( "Server")%> it giving me error when I am
using http://127.0.0.1 its working fine, and I tried this assigning
<%=Application( "Server")%> value to a local variable but problem is same.

I have many other .asp files on above of this file. I am using this file as include file..

Kind regards
Fayyaz



"Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
news:Ow******** ******@TK2MSFTN GP11.phx.gbl...
We're still waiting for you to show us the code, so we can help you.
(Sorry if this message is double-posted.)

Ray at work

"MFA" <MFA@MFA> wrote in message
news:OT******** ******@tk2msftn gp13.phx.gbl...
Hi All
I have one application veriable defined in global.asa that contain server address and that variable I am using as below.
src =

"<%=Application ("Server")%>/gimages/Media_Temp/Templat3/images/template3_r19
_c41.jpg"

I am using so many times same variable in same page.

I tried to add the variable one by one and error is coming some where in mid.
If I am not using this variable and giving the server address as hard

coded
there is no error.

This thing is giving me a real big problem...
Error is below.
Error Type:
Microsoft VBScript runtime (0x800A0006)
Overflow: '[number: 33362]'
Kind Regards
Fayyaz



Jul 19 '05 #6
MFA
Its giving error in any of parent file where I have included this file.

And again let me tell u when I am doing the (below) changes in this file
error is coming.
If you want to see the parent code thats not possible as I am including it
in different files dynamiclly.
And I searched my whole project no where I am using Cint(), I am using
Clng() and cdbl() and even I changed cdbl() to clng() but no success.

I think there is any limit or something towards using variables or specially
application() variables its not materr on converting interger or adding
integers.

Any how thanks for your help.

Regards
Fayyaz

"Ray at <%=sLocation% >" <myfirstname at lane 34 . komm> wrote in message
news:OF******** ******@tk2msftn gp13.phx.gbl...
WHAT LINE IS THE ERROR ON? THIS FILE IS 719 LINES LONG.

Ray at home

"MFA" <MFA@MFA> wrote in message
news:Ok******** ******@TK2MSFTN GP11.phx.gbl...
Thanks for your detail replies and help.

I have attached source file.
When I am using <%=Application( "Server")%> it giving me error when I am
using http://127.0.0.1 its working fine, and I tried this assigning
<%=Application( "Server")%> value to a local variable but problem is same.

I have many other .asp files on above of this file. I am using this file as
include file..

Kind regards
Fayyaz



"Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
news:Ow******** ******@TK2MSFTN GP11.phx.gbl...
We're still waiting for you to show us the code, so we can help you.
(Sorry if this message is double-posted.)

Ray at work

"MFA" <MFA@MFA> wrote in message
news:OT******** ******@tk2msftn gp13.phx.gbl...
> Hi All
> I have one application veriable defined in global.asa that contain

server
> address and that variable I am using as below.
> src =
>

"<%=Application ("Server")%>/gimages/Media_Temp/Templat3/images/template3_r19
> _c41.jpg"
>
> I am using so many times same variable in same page.
>
> I tried to add the variable one by one and error is coming some where in
> mid.
> If I am not using this variable and giving the server address as

hard coded
> there is no error.
>
> This thing is giving me a real big problem...
>
>
> Error is below.
> Error Type:
> Microsoft VBScript runtime (0x800A0006)
> Overflow: '[number: 33362]'
>
>
> Kind Regards
> Fayyaz



Jul 19 '05 #7
When you get this error, does the page look like this in your browser?
Microsoft VBScript runtime error '800a0006'

Overflow: 'cint'

/PATH/FILE.ASP, line 3

Notice that it tells you the file in which the error is occurring and the
line number in that file. It doesn't matter if it's in an include, or if
you have the code sitting on a floppy disk. WHAT FILE. WHAT LINE NUMBER.
WHAT IS ON THAT LINE IN THAT FILE?

Ray at work


"MFA" <MFA@MFA> wrote in message
news:eU******** ******@TK2MSFTN GP09.phx.gbl...
Its giving error in any of parent file where I have included this file.

And again let me tell u when I am doing the (below) changes in this file
error is coming.
If you want to see the parent code thats not possible as I am including it
in different files dynamiclly.
And I searched my whole project no where I am using Cint(), I am using
Clng() and cdbl() and even I changed cdbl() to clng() but no success.

I think there is any limit or something towards using variables or specially application() variables its not materr on converting interger or adding
integers.

Any how thanks for your help.

Regards
Fayyaz

Jul 19 '05 #8
> you have the code sitting on a floppy disk. WHAT FILE. WHAT LINE NUMBER.
WHAT IS ON THAT LINE IN THAT FILE?


I gave up a few days ago. Not worth being frustrated about... however maybe
MFA could benefit from reading http://www.aspfaq.com/2081

And also doing this at the beginning of the file:

<%
srv = srv
response.Write srv
%>

And then replacing all 221 calls to <%=Application( "Server")%> to <%=srv%>

(Reduces file size from 67k to 43k)
Jul 19 '05 #9
MFA
Here is the error exactly

Error Type:
Microsoft VBScript runtime (0x800A0006)
Overflow: '[number: 33362]'
"Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
news:Ou******** ******@TK2MSFTN GP11.phx.gbl...
When you get this error, does the page look like this in your browser?
Microsoft VBScript runtime error '800a0006'

Overflow: 'cint'

/PATH/FILE.ASP, line 3

Notice that it tells you the file in which the error is occurring and the
line number in that file. It doesn't matter if it's in an include, or if
you have the code sitting on a floppy disk. WHAT FILE. WHAT LINE NUMBER.
WHAT IS ON THAT LINE IN THAT FILE?

Ray at work


"MFA" <MFA@MFA> wrote in message
news:eU******** ******@TK2MSFTN GP09.phx.gbl...
Its giving error in any of parent file where I have included this file.

And again let me tell u when I am doing the (below) changes in this file error is coming.
If you want to see the parent code thats not possible as I am including it in different files dynamiclly.
And I searched my whole project no where I am using Cint(), I am using
Clng() and cdbl() and even I changed cdbl() to clng() but no success.

I think there is any limit or something towards using variables or

specially
application() variables its not materr on converting interger or adding
integers.

Any how thanks for your help.

Regards
Fayyaz


Jul 19 '05 #10

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

Similar topics

1
1681
by: Naga | last post by:
Hello, Thanks for the response Oleg. Now I need to know few answers. How do I get the value of a node using the xpath. I want the value of the MessageID and ResultCode from secondxml. And using this I want to delete the Child Nodes in the firstxml document. I am using the fowllowing code but the ni.current.value has values of all nodes in the file. I am confused.
13
5065
by: Jason Huang | last post by:
Hi, Would someone explain the following coding more detail for me? What's the ( ) for? CurrentText = (TextBox)e.Item.Cells.Controls; Thanks. Jason
10
3237
by: Protoman | last post by:
Could you tell me what's wrong with this program, it doesn't compile: #include <iostream> #include <cstdlib> using namespace std; class Everything { public: static Everything* Instance()
7
1928
by: Ż5 | last post by:
I want use dropdownlist contral in gridview but have trouble now mycode here: i'm very sorry for my poor english <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1
1289
by: Jassim Rahma | last post by:
I am getting this error and i Don'r know where is the problem? please help.. An unhandled exception of type 'VistaDB.VistaDBException' occurred in vistadb.provider.dll Additional information: Error in dll_sql_ExecSQL Error code: 546 Parameter not found in the list of params Error code: 610 OpenSQL: Error:546
669
26278
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Language”, archived at: http://xahlee.org/perl-python/what_is_expresiveness.html I was informed then that there is a academic paper written on this subject. On the Expressive Power of Programming Languages, by Matthias Felleisen, 1990. http://www.ccs.neu.edu/home/cobbe/pl-seminar-jr/notes/2003-sep-26/expressive-slides.pdf
2
3386
by: teddybyte | last post by:
my script below is: #include "stdafx.h" int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
4
6698
by: grizggg | last post by:
I have searched and not found an answer to this question. I ran upon the following statement in a *.cpp file in a member function: static const char * const pacz_HTMLContentTypeHeader = "Content-Type: text/html\r\n"; Why is the second const needed and what does it do? Thanks
2
2583
by: Tarik Monem | last post by:
OK! I've gone through a few tutorials and I cannot understand what I'm doing wrong casting_registration.php <table> <tr> <td> <form enctype="multipart/form-data" action="thankyou.php" method="post" name="registrationform"> Choose a shows:
5
13502
by: =?GB2312?B?17/HvyBaaHVvLCBRaWFuZw==?= | last post by:
Hi, I would like to have someone comments on what's the best practice defining error codes in C. Here's what I think: solution A: using enum pros: type safe. better for debug (some debugger will show the name not only the value) cons: enum can not be forward declared which makes all error codes
0
9728
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, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
9605
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
10648
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
10389
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
10402
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
9205
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 projectplanning, coding, testing, and deploymentwithout 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
5692
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4339
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
2
3867
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.