473,399 Members | 2,858 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,399 software developers and data experts.

HTTP 500.100

I am getting the following error when trying to run an SQL insert in my ASP
page and I cannot find anything in TechNet that references this error.
Below are IIS messages:

HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
Error Type:
Microsoft OLE DB Provider for SQL Server (0x80040E14)
Issue selected is no longer valid. Please select another issue.
/ActivityTrak/maintain/activityedit.asp, line 542

Thanks.
David
Jul 22 '05 #1
5 2821
What's on line 542 and the relevalent lines preceding it? And what does
your SQL query look like?
Ray at work

"David C" <dl*****@lifetimeinc.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
I am getting the following error when trying to run an SQL insert in my ASP page and I cannot find anything in TechNet that references this error.
Below are IIS messages:

HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
Error Type:
Microsoft OLE DB Provider for SQL Server (0x80040E14)
Issue selected is no longer valid. Please select another issue.
/ActivityTrak/maintain/activityedit.asp, line 542

Thanks.
David

Jul 22 '05 #2
Line 542 is below.

objconn.Execute(strSQL)

The lines before it simply build an SQL INSERT command. I did a
Response.write to display the SQL and it all looks fine. Anytime I have
had bad SQL it gives me a different error than this one, so it must be
something else.

Just above this I am getting a "next number" using this same connection
and that works fine.

If you want the lines preceding 542 I can send them, but they are very
verbose.

David

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 22 '05 #3
Did you see this part? It's very important:
.... and the relevalent lines preceding it? And what does your SQL query
look like?

Also, http://www.aspfaq.com/5007

Ray at work

"David" <da***@biteme.com> wrote in message
news:eS**************@TK2MSFTNGP12.phx.gbl...
Line 542 is below.

objconn.Execute(strSQL)

The lines before it simply build an SQL INSERT command. I did a
Response.write to display the SQL and it all looks fine. Anytime I have
had bad SQL it gives me a different error than this one, so it must be
something else.

Just above this I am getting a "next number" using this same connection
and that works fine.

If you want the lines preceding 542 I can send them, but they are very
verbose.

David

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 22 '05 #4
David wrote:
Line 542 is below.

objconn.Execute(strSQL)

The lines before it simply build an SQL INSERT command. I did a
Response.write to display the SQL and it all looks fine. Anytime I
have had bad SQL it gives me a different error than this one, so it
must be something else.

Just above this I am getting a "next number" using this same
connection and that works fine.

If you want the lines preceding 542 I can send them, but they are very
verbose.

David


No, just show us the result of response.writing your sql statement, ie,

response.write strSQL

Assuming the statement runs correctly when you test it in Query Analyzer
(which should be your first step), and fails to run via ADO, then your
problem is likely related to the use of reserved keywords for names of your
database objects (columns and/or tables). See this for the list of words to
avoid:

http://www.aspfaq.com/show.asp?id=2080

If reserved keywords is not the problem, show us the faining sql statement.

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 22 '05 #5
Since this was not my database design, I looked at the triggers for this
table and the triggers were actually generating the ASP error message.
The triggers were requiring valid entries (exist on another table) and I
was trying to enter zeros into the field. Guess that is why I couldn't
find it on TechNet. Maybe someone else learned something new from this
also. Thank you all.

David

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 22 '05 #6

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

Similar topics

7
by: Michael Foord | last post by:
#!/usr/bin/python -u # 15-09-04 # v1.0.0 # auth_example.py # A simple script manually demonstrating basic authentication. # Copyright Michael Foord # Free to use, modify and relicense. #...
8
by: turnit \(removethis\) | last post by:
I have a login form that uses the post method to carry the information to the next page. The form works just fine in ie6.0, but fails in mozilla and fails in ie5.2 on a mac. "HTTP/1.1 400 Bad...
3
by: ashesdesign | last post by:
Hi All, I am very new to php and even newer to XML. Can anyone please shed some light on how to post XML requests via HTTP. I have been searching high and low and have come across many...
5
by: David Lozzi | last post by:
Howdy, I wrote a web service in .Net for my customer. My customer has another vendor who now has to consume it but they are not using Visual Studio. Most of their pages are jsp, and they said...
4
by: Bob Badger | last post by:
Hi, Simple question (although I guess with a complicated answer). Is HTTP an async protocol? For instance, if I send a message to a c# webservice via http what is the protocol actually doing? ...
1
by: zpinhead | last post by:
I am unable to get my downloaded extension from pecl to link up with php properly. seems like the php.so I could not use pear install http. pear claimed the extension was already installed....
3
by: webEater | last post by:
Hey, I am writing a file that reads in an external file in the web and prints it out including the response header of the http protocol. I do this to enable cross domain XMLHttpRequests. I...
1
by: rpjd | last post by:
I am completely new to this so please bear with me here. My project involves a webpage executing php scripts via an xmlhttprequest which queries a database and returns data to the webpage. This code...
1
by: rpjd | last post by:
I am having a problem getting the http.status of an xmlhttprequest. The request readystate has come back as readystate 4, but then it stops without confirming the http.status. Any help appreciated....
16
by: Harry Simpson | last post by:
I've been away from ASPNET - I open up a new Web app in VS2008 and go into properties and select to use IIS instead of the personal web server. Then I run in debug mode and it says I have to set...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...
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
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.