Solved

ASP  HEEEEELLLLLP

Posted on 1998-11-07
2
142 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ASP:Radiobuttonlist/asp:RadioButtonListItem custom styling 1 42
Objects on Same Line 2 30
Scroll 5 news at a time. 4 27
Diminish Pop-up  in 3 seconds 7 21
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

777 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