Solved

ASP  HEEEEELLLLLP

Posted on 1998-11-07
2
143 Views
Last Modified: 2010-04-09
I am having a problem pasing a query string to an asp page created with the front page asp wizard..

See the followin link

http://lorell.aiu.net/test
0
Comment
Question by:acoker
2 Comments
 
LVL 28

Expert Comment

by:sybe
ID: 1839426
the url gives: HTTP/1.0 403 Access Forbidden

please describe your problem with some more detail
0
 
LVL 11

Accepted Solution

by:
mouatts earned 200 total points
ID: 1839427
Firstly there is a patch that you need to apply to your server that is available from microsoft. This is a security patch that prevents people from getting at the content of you ASP pages.

But as you haven't got it I may be able to help. Two points firstly the line
Conn.Open Session("jokes")
assumes that a session variable has been created called jokes has been created within the start_session subroutine within the global.asa file. If this variable has been created then it means that the string does not point to a valid ODBC DSN or a Driver for your database.

If you get this right you have a problem with the line
Set RS = Conn.Execute(SQL)
as no such variable (SQL) has been created and therefore you will be passing a null string through to the driver.

The interesting thing is that I too got the 403 code initially but after I downloaded your script and tried again the problem resolved. I can only thing that this is something to do with the bug in your program and IIS play up a bit.

Steve
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question