Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Databases
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old April 8th, 2005, 09:58 PM
Friend of Wrox
Points: 1,107, Level: 13
Points: 1,107, Level: 13 Points: 1,107, Level: 13 Points: 1,107, Level: 13
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jul 2004
Location: , , .
Posts: 240
Thanks: 0
Thanked 0 Times in 0 Posts
Default Why is it that the page cannot be displayed?

I get:
 The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.


Please try the following:

Open the k.domaindlx.com home page, and then look for links to the information you want.
Click the Refresh button, or try again later.

Click Search to look for information on the Internet.
You can also see a list of related sites.

HTTP 500 - Internal server error
Internet Explorer

if isAdmin then

    set outpostDB = Server.CreateObject("ADODB.Connection")
Private Function GetConnectionString()
    GetConnectionString =   "Driver={Microsoft Access Driver (*.mdb)};" & _
                "DBQ=" & Server.MapPath("hebrewbible") & ";" & _
End Function
    outpostDB = GetConnectionString()

    set linkSet = Server.CreateObject("ADODB.RecordSet")
    linkSet.Open "select * from links order by new_id desc", outpostDB, adOpenStatic, adLockOptimistic, adCmdText
    if linkSet.EOF then
        p_new_id = 1
        p_new_id = linkSet("new_id") + 1
    end if

    p_new_id_in = Request.querystring("p_new_id")
    if p_new_id_in <> "" then
        linkSet.Find "new_id = " & p_new_id_in
    end if
    if p_new_id_in = "" or linkSet.EOF then
        p_new_recordType = ""
        p_new_book_spoke = ""
        p_new_chapter_spoke = ""
        p_new_verse_spoke = ""
        p_new_book = ""
        p_new_chapter = ""
        p_new_verse = ""
        p_new_text_data = ""
        p_new_gemetria = ""

        p_new_id = p_new_id_in
        p_new_recordType = linkSet("new_recordType")
        p_new_book_spoke = linkSet("new_book_spoke")
        p_new_chapter_spoke = linkSet("new_chapter_spoke")
        p_new_verse_spoke = linkSet("new_verse_spoke")
        p_new_book = linkSet("new_book")
        p_new_chapter = linkSet("new_chapter")
        p_new_verse = linkSet("new_verse")
        p_new_text_data = linkSet("new_text_data")
        p_new_gemetria = linkSet("new_gemetria")
        p_existing = p_new_id_in
    end if

    set linkSet = Nothing
    <FORM ACTION="edit_links_rec_action.asp" METHOD="post">
    <INPUT TYPE="hidden" NAME="p_existing" "
    <h2>Edit Link</h2>
        <TD>Link ID</TD>
            <INPUT TYPE="hidden" NAME="p_new_id" VALUE="<%= p_new_id %>">
            <%= p_new_id %>
<%'    <TR>
'        <TD>Link Name</TD>
'        <TD><INPUT TYPE="text" NAME="p_name" SIZE="25" 
'               VALUE="<%=p_new_name%>">
'    </TR>
'    <TR>
'        <TD>Link Description</TD>
'        <TD><INPUT TYPE="text" NAME="p_desc" SIZE="50" 
'               VALUE="<%=p_new_desc%>" maxlength=MAXLENGTH="255">
'    </TR>
'    <TR>
'        <TD>Link URL:  http://</TD>
'        <TD><INPUT TYPE="text" NAME="p_url" SIZE="50" 
'                VALUE="<%=p_new_url%>" maxlength=MAXLENGTH="100">
'    </TR>

    <INPUT TYPE="submit">

    set outpostDB = Nothing

    Response.Write "You do not have access to this page."

end if
Martial Law 9/11 Rise of the Police State is now available! Visit our Martial Law movie section for complete info (click here), or order now by clicking the button below or by calling 888-253-3139
Reply With Quote
  #2 (permalink)  
Old April 9th, 2005, 11:50 AM
Friend of Wrox
Join Date: Jan 2004
Location: , , USA.
Posts: 303
Thanks: 0
Thanked 0 Times in 0 Posts

First of all Change your browser settings
In Internet Explorer
Go to Tools-->Options-->Advanced-->uncheck show friendly HTTP error messages checkbox

Reply With Quote
  #3 (permalink)  
Old April 10th, 2005, 09:17 AM
Authorized User
Join Date: Sep 2004
Location: , , United Kingdom.
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts

Are you sure that the ASP is running on your server? you need to make sure that you have the server fully configured to allow asp scripts etc... Look in IIS to see that its config correctly. IF it is try a script that you know that works, summit simple like HELLO world etc etc

Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Page cannot be displayed. Voltron ASP.NET 2.0 Basics 0 October 22nd, 2006 05:20 PM
The page cannot be displayed malachany Dreamweaver (all versions) 10 December 12th, 2004 02:36 PM
the page cannot be displayed aspweb BOOK: Beginning ASP.NET 1.0 1 October 20th, 2003 08:41 PM
"Page cannot be displayed" delcyan Classic ASP Basics 6 June 22nd, 2003 03:58 PM

All times are GMT -4. The time now is 02:19 PM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.