Forum Moderators: open

Message Too Old, No Replies

Anyone know what this error means?

         

Blelisa

5:30 pm on Mar 8, 2005 (gmt 0)

10+ Year Member



Has anyone have any idea what this error message means?

Microsoft JET Database Engine error '80040e57'

Overflow

/prolg.asp, line 32

Thanks!

cmatcme

6:34 pm on Mar 8, 2005 (gmt 0)

10+ Year Member



What's on line 32?

harrypsk

6:35 pm on Mar 8, 2005 (gmt 0)

10+ Year Member



My first guess is that you have a form that's trying to submit too many characters to a table. More info on what you are using to submit to the database and some details on the table being submitted to.

Blelisa

6:37 pm on Mar 8, 2005 (gmt 0)

10+ Year Member



Here is my code:
<%
Dim intCounter, intDecimal, strPassword

For intCounter = 1 To 6
Randomize
intDecimal = Int((26 * Rnd) + 1) + 64

strPassword = strPassword & Chr(intDecimal)

Next

set connection=Server.CreateObject("ADODB.Connection")
connection.ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &_
server.MapPath("data/hemicustreg.mdb")
connection.Open

sql="INSERT INTO customer ([CmpName], [Address], [City], [State], [Zip], [Number], [Contact], [email], [System], [Pwrd], [Username])"
sql=sql & "VALUES"
sql=sql & "('" & Request.Form("cmpname") & "',"
sql=sql & "'" & Request.Form("address") & "',"
sql=sql & "'" & Request.Form("city") & "',"
sql=sql & "'" & Request.Form("state") & "',"
sql=sql & "'" & Request.Form("zip") & "',"
sql=sql & "'" & Request.Form("number") & "',"
sql=sql & "'" & Request.Form("contact") & "',"
sql=sql & "'" & Request.Form("email") & "',"
sql=sql & "'" & Request.Form("system") & "',"
sql=sql & "'" & strpassword & "',"
sql=sql & "'" & Request.Form("username") & "')"

connection.Execute(sql)

if err<>0 then
Response.Write(Err.Description)
else
response.redirect("tyreg.html")
end if
connection.close

Dim Mail
Set Mail=Server.CreateObject("CDONTS.NewMail")
Mail.to=Request.Form("email")
Mail.From="lblendowski@magneforcess.com"
Mail.Subject="Just testing my script"
Mail.Body="Your password is" & strPassword
Mail.Send
Set Mail=nothing
%>

bcolflesh

6:40 pm on Mar 8, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



"Make sure you are inserting numeric values into a numeric column, and that it doesn't exceed the capacity of the column. For example, 3,000,000,000 won't fit in a standard Access numeric (or SQL Server INT) column."

[aspfaq.com...]

Blelisa

8:03 pm on Mar 8, 2005 (gmt 0)

10+ Year Member



That was it! Thanks!