473,385 Members | 1,546 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,385 software developers and data experts.

ASP Error message - Need fast Help Please

I am having problems with an ASP page that refuses to run. I have eliminated some of the other errors that I was receiving on it which were permission problems. However, now I get the following
Error Type:
Provider (0x80004005)
Unspecified error
/TEDS/details.asp, line 23

I am assuming this is generic and have no idea where to look for this problem. The section that is involved with this only contains the following

<%
'Build the SQL statement to select data from the database.
'SQL = "SELECT Courses.*, Categories.Name FROM Categories INNER JOIN Courses ON Categories.CategoryID = Courses.CategoryID WHERE (Index=" & request.Form("CourseID") & ") ORDER BY Index"
'PARAMETERS Input_crse_cd Text, Input_crse_rev_cd Text

SQL = "SELECT ref_material_text.ref_text, crse.days_in_class "
SQL = SQL & "FROM crse, ref_material, ref_material_text "
SQL = SQL & "WHERE crse.crse_cd='" & request.Form("crse_cd") & "' "
SQL = SQL & "AND crse.crse_rev_cd = '" & request.Form("crse_rev_cd") & "' "
SQL = SQL & "AND crse.crse_overview_cd = ref_material.ref_cd "
SQL = SQL & "AND ref_material.ref_cd = ref_material_text.ref_cd "
SQL = SQL & "AND crse.crse_overview_rev_cd = ref_material.ref_rev_cd "
SQL = SQL & "AND ref_material.ref_rev_cd = ref_material_text.ref_rev_cd"

'Set up the database connection object.
set conn = server.createobject("ADODB.Connection")
'Open the connection to the DSN which exists on the server.
conn.open Session("sessConnectionString")

'Execute the SQL statement, the result is a recordset put into 'theData'.
set theData=conn.execute(SQL) <-----This is line 23
theColor="white"
%>

If anyone has any ideas please help
Nov 21 '05 #1
7 915
Mr Conway!

We finally meet. What's it like to be a SPAMMER? I've reported many of SPAM from QWEST to SPAM COP, ROKSO, SBL, SPAMHAUS etc. You are one of the reasons I took up fighting SPAM as a hobby & the second I receive your SPAM messages I report them to the above named SPAM databases.

NEVER IN A MILLION YEARS WOULD I EVER HELP YOU!!

DO NOT HELP THIS PERSON BECAUSE IT'S PROBABLY FOR A SPAMVERTISIED WEBSITE!!!!!!!!!!!!!!!

The good thing now is I have your e-mail address.

Crouchie1998
BA (HONS) MCP MCSE
Nov 21 '05 #2
I'm not sure who you are, but please don't post messages like this when I am trying to get help, as obviously you are wrong.

Thank you
"Crouchie1998" <cr**********@spamcop.net> wrote in message news:%2****************@TK2MSFTNGP10.phx.gbl...
Mr Conway!

We finally meet. What's it like to be a SPAMMER? I've reported many of SPAM from QWEST to SPAM COP, ROKSO, SBL, SPAMHAUS etc. You are one of the reasons I took up fighting SPAM as a hobby & the second I receive your SPAM messages I report them to the above named SPAM databases.

NEVER IN A MILLION YEARS WOULD I EVER HELP YOU!!

DO NOT HELP THIS PERSON BECAUSE IT'S PROBABLY FOR A SPAMVERTISIED WEBSITE!!!!!!!!!!!!!!!

The good thing now is I have your e-mail address.

Crouchie1998
BA (HONS) MCP MCSE
Nov 21 '05 #3
Well, after hours of trying to figure this out yesterday, it turns out that it was switching from an ODBC driver to a native driver that resolved the issue.
"Brian Conway" <Br**********@qwest.com> wrote in message news:e5*************@TK2MSFTNGP14.phx.gbl...
I am having problems with an ASP page that refuses to run. I have eliminated some of the other errors that I was receiving on it which were permission problems. However, now I get the following
Error Type:
Provider (0x80004005)
Unspecified error
/TEDS/details.asp, line 23

I am assuming this is generic and have no idea where to look for this problem. The section that is involved with this only contains the following

<%
'Build the SQL statement to select data from the database.
'SQL = "SELECT Courses.*, Categories.Name FROM Categories INNER JOIN Courses ON Categories.CategoryID = Courses.CategoryID WHERE (Index=" & request.Form("CourseID") & ") ORDER BY Index"
'PARAMETERS Input_crse_cd Text, Input_crse_rev_cd Text

SQL = "SELECT ref_material_text.ref_text, crse.days_in_class "
SQL = SQL & "FROM crse, ref_material, ref_material_text "
SQL = SQL & "WHERE crse.crse_cd='" & request.Form("crse_cd") & "' "
SQL = SQL & "AND crse.crse_rev_cd = '" & request.Form("crse_rev_cd") & "' "
SQL = SQL & "AND crse.crse_overview_cd = ref_material.ref_cd "
SQL = SQL & "AND ref_material.ref_cd = ref_material_text.ref_cd "
SQL = SQL & "AND crse.crse_overview_rev_cd = ref_material.ref_rev_cd "
SQL = SQL & "AND ref_material.ref_rev_cd = ref_material_text.ref_rev_cd"

'Set up the database connection object.
set conn = server.createobject("ADODB.Connection")
'Open the connection to the DSN which exists on the server.
conn.open Session("sessConnectionString")

'Execute the SQL statement, the result is a recordset put into 'theData'.
set theData=conn.execute(SQL) <-----This is line 23
theColor="white"
%>

If anyone has any ideas please help
Nov 21 '05 #4
Is this not you:

Registrant:
Qwest Communications International Inc.
555 17TH ST
DENVER, CO 80202-5555
US
Phone: 703-363-0220


Crouchie1998
BA (HONS) MCP MCSE
Nov 21 '05 #5
Crouchie,

For me this looks as a normal internet provider which has an email servers.
http://www.qwest.com/

Can your spammer not be somebody who uses smtp that even maybe you or I
provided the method to how to use that from that provider?

;-)

Cor
Nov 21 '05 #6
Brian,

Your question is miles beside this newsgroup.
It is classic ASP
It is Adodb (vb.data)
It is VBS

In one of the newsgroups about that, you will maybe get help.
For most active in this newsgroup is that already long behind us so needs to
go back in time.

Maybe you can find a newsgroup accoording to the names I gave you or even
with a combination of those.

When you want a first start you can try first

microsoft.public.scripting.vbscript

I hope this helps,

Cor

Nov 21 '05 #7
No, it always reverse back to that address
Nov 21 '05 #8

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

Similar topics

3
by: Jason | last post by:
I have a web page that contains textareas. These are dynamically added via asp when the page loads based on database records. The user also has the ability to add more text areas via innerhtml. ...
2
by: pgsql | last post by:
I am doing asynchronous sql calls using the postgres C library. After doing two PQsendQuery() calls, I get the "another command is already in progress" error. The two calls I am doing are an...
2
by: al | last post by:
Greeting, I have this sub in a page that runs a thread to change direction of a page then redirects to a new page(please wait message page)which checks for a global flag and returns to previous...
6
by: Damien Sawyer | last post by:
Hello - I'm having a serious problem with IIS on Windows XP pro. Whenever I try to run ASP pages, I get HTTP 500 - Internal server error This behaviour happens identically, on two 'totally...
3
by: Mythran | last post by:
We have a web control. (Please note, all our libraries and controls are given a strong name). When we place the web control on a web page, it works fine. We are using a project reference to it...
12
by: jonatan | last post by:
Hello All, I am making a program and need the grt_main.c but i try to compile have the error c1004.Please help me how to solve it? Thank you. --------------------Configuration: pre - Win32...
2
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
9
by: vamsioracle | last post by:
Hi all I am working on a support project. I need to change logic in a fast formula in oracle applicationhs which was developed a long time back. I made the changes in pl/sql packages that...
0
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?
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...

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.