Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

help, getting page can not be displayed error on ASP

Posted on 2005-05-10
10
Medium Priority
?
304 Views
Last Modified: 2008-02-01
I have my IE setting to not show friendlys yet I get this error and it tells me nothing????

Only appears to happen when no configx is passed?

Code;;;;;

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<link rel="stylesheet" type="text/css" href="/sitelist/main.css">
<style>
p                  { font-family: Arial, sans-serif; font-size: 12px }
td, th            { vertical-align: top }
td                         { font-size: 10pt }
td.facility            { vertical-align: top; padding: 3px; border: solid 1px #808080 }
p.fac                  { font-size: 10px; text-align: left; margin: 0px; line-height: 10px background: #e6e6e6}
p.city                  { font-size: 10px; text-align: left; margin: 0px; line-height: 10px }
p.region            { font-size: 10px; text-align: right; margin: 0px; line-height: 10px }
td.blue            { background-color: #B0CDDD; font-family: Arial, sans-serif; font-weight: bold; font-size: 14px; text-align: center }
td.dkgrey      { background-color: #cccccc; font-family: Arial, sans-serif; font-weight: bold; font-size: 12px }
td.ltgrey      { background-color: #e6e6e6; font-family: Arial, sans-serif; font-size: 12px }
th.two5            { background-color: #e6e6e6; font-weight: normal; font-family: Arial, sans-serif; font-size: 12px; text-align: left; width: 25% }
th.three3      { background-color: #e6e6e6; font-weight: normal; font-family: Arial, sans-serif; font-size: 12px; text-align: left; width: 33% }
th.five0      { background-color: #e6e6e6; font-weight: normal; font-family: Arial, sans-serif; font-size: 12px; text-align: left; width: 50% }
th.six7            { background-color: #e6e6e6; font-weight: normal; font-family: Arial, sans-serif; font-size: 12px; text-align: left; width: 67% }
th.eight0      { background-color: #e6e6e6; font-weight: normal; font-family: Arial, sans-serif; font-size: 12px; text-align: left; width: 80% }
</style>
<TITLE>Site List Master (SLM)</TITLE>
</head>
<body>


<%
zid = request.servervariables("HTTP_CT_REMOTE_USER")
pgmID = request.querystring("ID")
tconfig = request.querystring("configx")
tupd = request.querystring("UPD")
if tupd <> "yes" then tupd="no"

strSQL = " "

''=============  Get # of Records =============
myDSN = "FILEDSN="
myDSN = myDSN & server.mappath("/fpdb/sitelist.dsn")
twhere = ""
if tconfig <> "" then
   twhere = " WHERE capability_configurations.capability_configuration = '" & tconfig & "'"
end if
mySQL="select capability_configurations.*, config2packg.*, packages.offering, packages.serviceline, packages.SDA from ((capability_configurations INNER JOIN config2packg ON capability_configurations.Capability_Configuration = CONFIG2PACKG.Capability_Configuration) LEFT JOIN packages ON packages.package = CONFIG2PACKG.package) " & twhere & "  ORDER BY capability_configurations.capability_configuration"  
set conn = server.createobject("adodb.connection")
set rs = server.createobject("adodb.recordset")
conn.open myDSN
response.write mySQL
rs.open mySQL, conn, 3
totrecs = rs.recordcount
rs.close    

'' *********************
'' Set up Sort
'' *********************
ID = request.querystring("ID")
strSQL = "select capability_configurations.*, config2packg.*, packages.offering, packages.serviceline, packages.SDA from ((capability_configurations INNER JOIN config2packg ON capability_configurations.Capability_Configuration = CONFIG2PACKG.Capability_Configuration) LEFT JOIN packages ON packages.package = CONFIG2PACKG.package) " & twhere & "  ORDER BY capability_configurations.capability_configuration"

set conn = server.createobject("ADODB.Connection")
myDSN = "FILEDSN="
myDSN = myDSN & server.mappath("/fpdb/sitelist.dsn")

response.write strSQL
conn.open myDSN
set rs = conn.execute(strSQL)

%>
<FORM METHOD="POST" action="inc_capconfig_process.asp?tupd=<%=(tupd)%>&ID=<%=(pgmid)%>" name="FrontPage_Form1">

<table style="width: 98%; border-collapse: collapse; border: 1px solid #808080" cellspacing="1" height="100%">
<tr>
      <th style="border-collapse: collapse; border: 1px solid #8f8f8f; ; background-color:#FFFFFF; vertical-align:bottom" bgcolor width="10">
    &nbsp;</th>

      <th style="border-collapse: collapse; border: 1px solid #8f8f8f; ; background-color:#DDDDFF; vertical-align:bottom" width="73%" colspan="3">
    <p style="text-align: center"><span style="font-size: 11px">Delivery</span></th>
      <th style="border-collapse: collapse; border: 1px solid #8f8f8f; ; background-color:#FFFFCC; vertical-align:bottom" width="100%" colspan="4">
    <p style="text-align: center"><span style="font-size: 11px">Market</span></th>      
      </tr>
<tr bgcolor="#e6e6e6">
      <th style="border-collapse: collapse; border: 1px solid #8f8f8f; ; background-color:#F5F5F5; vertical-align:bottom" bgcolor width="10">
    <span style="font-size: 11px">Sel</span></th>

      <th style="border-collapse: collapse; border: 1px solid #8f8f8f; ; background-color:#DDDDFF; vertical-align:bottom" width="20%">
    <span style="font-size: 11px">configuration
    </span></th>
      <th style="border-collapse: collapse; border: 1px solid #8f8f8f; ; background-color:#DDDDFF; vertical-align:bottom" width="15%">
    <span style="font-size: 11px">capability</span></th>      
      <th style="border-collapse: collapse; border: 1px solid #8f8f8f; ; background-color:#DDDDFF; vertical-align:bottom" width="20%">
    <span style="font-size: 11px">category</span></th>      
      <th style="border-collapse: collapse; border: 1px solid #8f8f8f; ; background-color:#FFFFCC; vertical-align:bottom" width="20%">
    <span style="font-size: 11px">package</span></th>      
      <th style="border-collapse: collapse; border: 1px solid #8f8f8f; ; background-color:#FFFFCC; vertical-align:bottom" width="20%">
    <span style="font-size: 11px">offering</span></th>
      <th style="border-collapse: collapse; border: 1px solid #8f8f8f; ; background-color:#FFFFCC; vertical-align:bottom" width="5%">
    <span style="font-size: 11px">service line</span></th>                  
      <th style="border-collapse: collapse; border: 1px solid #8f8f8f; ; background-color:#FFFFCC; vertical-align:bottom" width="25%">
    <span style="font-size: 11px">sda</span></th>      
</tr>
<%
while not rs.eof
xlupd = rs("lastupdate")
pushgif = "pushpin_on.gif"
tmpactive = "yes"
if rs("status") = "inactive" Then
   pushgif = "pushpin_off.gif"
   tmpactive = "no"
End If  
if tmpactive="yes" Then
   pushpin="pushpin_on.gif"
Else
End If  
%>
<tr>
      <td class="facility" width="10" bgcolor="#F5F5F5"><p class="fac">
    <input name=chks type=checkbox value="<%=rs("ID")%>"></td>
<!--      <td class="facility" width="28%" onmouseover="return overlib('<%=rs("description")%>', RIGHT, BELOW, BGCOLOR, '000000', FGCOLOR, 'EFEFEF', CAPCOLOR, '3399ff');" onmouseout="return nd();"><p class="fac"><span style="font-size: 11px"><%=rs("capability_configuration")%></span></p></td>  -->
      <td class="facility" width="20%" bgcolor="#F0F0FF" ><p class="fac"><span style="font-size: 11px">
      <input type="hidden" name="capability_configuration" size="20" value="<%=rs("capability_configuration")%>"><%=rs("capability_configuration")%></span></p></td>
      <td class="facility" width="15%" bgcolor="#F0F0FF" ><p class="fac"><span style="font-size: 11px"><%=rs("capability")%><input type="hidden" name="capability" size="20" value="<%=rs("capability")%>"></span></p></td>
      <td class="facility" width="20%" bgcolor="#F0F0FF" ><p class="fac"><span style="font-size: 11px"><%=rs("capability_category")%><input type="hidden" name="category" size="20" value="<%=rs("capability_category")%>"></span></p></td>
      <td class="facility" width="20%" ><p class="fac"><span style="font-size: 11px"><%=rs("package")%><input type="hidden" name="package" size="20" value="<%=rs("package")%>"></span></p></td>
      <td class="facility" width="20%" ><p class="fac"><span style="font-size: 11px">
      <input type="hidden" name="offering" size="20" value="<%=rs("offering")%>"><%=rs("offering")%></span></p></td>
      <td class="facility" width="5%" ><p class="fac"><span style="font-size: 11px"><%=rs("serviceline")%><input type="hidden" name="serviceline" size="20" value="<%=rs("serviceline")%>"></span></p></td>
      <td class="facility" width="25%" ><p class="fac"><span style="font-size: 11px">
      <input type="hidden" name="sda" size="20" value="<%=rs("sda")%>"><%=rs("sda")%></span></p></td>
</tr>
<%
rs.movenext
wend
%>
</table>
<% if tupd = "yes" then %>
<p align="left"><font color="#FF0000">**</font><b>Note</b><font color="#FF0000">**</font>&nbsp;
By clicking submit you will delete the previous mapping and replace with the
ones you have selected above.</p>
<% end if %>
<p align="right">&nbsp;
<INPUT TYPE=submit VALUE="Submit " style="font-family: Arial; color: #111111; font-size: 10px">&nbsp;&nbsp;&nbsp;&nbsp;
<INPUT TYPE=reset VALUE="Reset " style="font-family: Arial; color: #111111; font-size: 10px"></p>
</form>
<%
rs.close
conn.close

%>

</body>

</html>
0
Comment
Question by:pinkstonm
  • 3
  • 2
  • 2
  • +2
9 Comments
 
LVL 7

Expert Comment

by:rohanbairat3
ID: 13969142
Did u try debugging the code by putting response.write and respons.end after every few statements .... i mean just advance slowly and  you will find the exact place where its throwing error ...

-rons
0
 

Author Comment

by:pinkstonm
ID: 13969209
Yes I am not getting any of them you can see them in there
0
 
LVL 7

Expert Comment

by:rohanbairat3
ID: 13969245
what kind of message are u getting

whats the http error ??
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 4

Expert Comment

by:Fuzzyfish1000
ID: 13969355
Turn off 'Friendly HTTP Error Messages'

It's an option under Internet Explorer - Tools, Internet Options, Advanced, and untick Show Friendly HTTP error messages.

Then you'll get a proper error :)
0
 

Author Comment

by:pinkstonm
ID: 13969856
I did turn this off I have never had it on.

Getting Action Cancelled screen
0
 
LVL 7

Expert Comment

by:rohanbairat3
ID: 13970094
but it must be showing some message like
http 404 something like that ?
0
 
LVL 1

Expert Comment

by:dominik_znidar
ID: 13970108
Hi.

Here is a little tip I use every this thind occurs.

At the top of the file add response.end. Refresh in browser. If a blank screen shows up there must be something wrong with the object you use. Remove "response.end" and refresh the page again. You should get error description this time around.

Hope that helps :)
0
 
LVL 4

Expert Comment

by:Fuzzyfish1000
ID: 13970116
oops - sorry - didn't see that bit at the top.

If you're not getting any sort of error, it might be IIS issue. Check your IIS settings to see if it passes back detailed error messages.
0
 

Accepted Solution

by:
PAQ_Man earned 0 total points
ID: 14057528
Question Closed, 125 points refunded.
PAQ_Man
Community Support Moderator
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses
Course of the Month13 days, 5 hours left to enroll

578 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