?
Solved

ASP  HEEEEELLLLLP

Posted on 1998-11-07
2
Medium Priority
?
146 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 800 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

770 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