HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
The page cannot be displayed?? But everything already runnin
Post new topic   Reply to topic    HTML Help Forum Index -> ASP
View previous topic :: View next topic  
Author Message
xdefconx



Joined: 22 Mar 2006
Posts: 38

PostPosted: Wed Apr 11, 2007 1:12 pm     The page cannot be displayed?? But everything already runnin Reply with quote

Hye all!

I'm a new kids in the block with all of related to Microsoft things. Before this i familiar with Apache+PHP+MYSQL web development so this time i would like to test with IIS 5.1(WinXP) + MSSQL 2000 + ASP. Ok, i believe everything related to server/localhost on my machine is running smoothly. So my scenario is like this. I download a calendar system base on ASP scripting from http://www.livio.net. That calendar system name "WEB Calendar Application - Version 3.5". After i download that package, as usual i put on IIS 5.1 web folder, then i do a script configuration where i have to put my SQL password and any related configuration that i must do after refer on README. I succuessful create a database automatically from that calendar system interface into my Microsoft SQL 2000. But when i try to running a testscript name as CalendarTest35.asp i got this error:

Code:
 
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:

    * Click the Refresh button, or try again later.
    * Open the 0) && (window.navigator.appVersion.charAt(0) == "2"))) { Homepage(); } //--> localhost home page, and then look for links to the information you want.

HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services

Technical Information (for support personnel)

    * Error Type:
      Active Server Pages, ASP 0126 (0x80004005)
      The include file '/calendar_35/_calendar.asp' was not found.
      /wsl/aspxscript/WebCalendar_35/CalendarTest35.asp, line 12

       
    * Browser Type:
      Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

       
    * Page:
      GET /wsl/aspxscript/WebCalendar_35/CalendarTest35.asp

       
    * Time:
      Thursday, April 12, 2007, 4:46:44 AM

       
    * More information:
      Microsoft Support


And full code that Calendar is:

Code:

<% @Language = "VBScript" %>   
<%
'----------------------------------------------------------------------------------------------
'-  WEB Calendar Application - Version 3.5 - 15 november 2006
'-  Copyright © 2005-2006 - Livio Siri (http://www.livio.net) - All Rights Reserved.     
'----------------------------------------------------------------------------------------------
Option Explicit
Response.Buffer = True
Dim intStart_Time, intEnd_Time
intStart_Time = Timer
%>
<!-- #include virtual = "/calendar_35/_calendar.asp" -->

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<TITLE>Web Calendar Test</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META name="author" content="Livio Siri, www.livio.net">
</HEAD>
<BODY bgcolor="#F9F9F9" text="#000000" link="#4D6185" vlink="#4D6185" alink="#ff0000" topmargin=20 leftmargin=0 marginwidth=0 marginheight=0>

<TABLE cellSpacing=0 cellPadding=5 width=790 align=center style="border-left: outset 1px;border-top: outset 1px;" border=0><TBODY><!-- Main Table -->
   <TR><TD height=20 align=middle BGCOLOR="#F0F0F0" colspan=2 style="border-right: outset 1px;">

      <!-- Header Table start -->
      <TABLE cellSpacing=0 cellPadding=0 width="100%" align=center border=0 style="font-family:verdana,tahoma;font-size:11px;font-weight:bold;color :#4D6185;border: 1px solid #999999;">
      <TBODY><TR><TD BGCOLOR="#F0F0F0" background="calendar_35/images/nav_scale.gif" height=20 align=right><a href="http://www.livio.net/" target=_blank>
      <IMG SRC="calendar_35/images/hline.gif" WIDTH="15%" HEIGHT="2" BORDER="0" ALT=" Livio.net Open Source ASP scripts " align=absmiddle></a>&nbsp;&nbsp;&nbsp;
      <a href="CalendarTest35.asp" target=_self><b>Monthly Calendar</b></a>&nbsp;|&nbsp;
      <a href="CalendarTestYearly35.asp" target=_self><b>Yearly Calendar</b></a>&nbsp;|&nbsp;
      <a href="CalendarTestToday35.asp" target=_self><b>Today's Events</b></a>&nbsp;|&nbsp;
      <a href="http://www.livio.net/main/scripts.asp?file_id=31" target=_blank><b>Calendar Web Site</b></a>&nbsp;|&nbsp;
      <a href="calendartest35.asp?infomode=LICENSE"><b>License</b></a>&nbsp;|&nbsp;
      <a href="calendartest35.asp?infomode=HELP"><b>Help</b></a>&nbsp;&nbsp;&nbsp;
      </td></tr></tbody></table><!-- Header Table end -->
      
   </TD></TR><TR><TD vAlign=top BGCOLOR="#F0F0F0" style="border-bottom:outset 1px;">

      <TABLE cellSpacing=0 cellPadding=3 align=center border=0><TBODY><!-- Calendar column Table start -->
      <TR><TD align=center valign=top style="font-family:verdana,arial;font-size:11px;">
<%
'---------------------------------------------
      '--- Display the Calendar box
         Call TheCalendar()

      '--- Display Yearly events box
         Call YearlyEvents()

      '--- Display events filter box
         Call FilterEvents()

      '--- Display Upcoming events box
         Call NextEvents()
'---------------------------------------------
%>
      </TD></TR></TBODY></TABLE><!-- Calendar column Table end -->

   </TD><TD vAlign=top width="100%" style="border-left: 1px inset;border-top: 1px inset;">           

      <TABLE width="100%" cellPadding=0 cellSpacing=0 border=0 align=center><TBODY><!-- Events Table start -->
      <TR><TD vAlign=top>
<%
'---------------------------------------------
      '--- Display Events or Configuration
         Call Events()
'---------------------------------------------

      intEnd_Time = timer
'      W "<span style=""font-family:Tahoma;font-size:9px;color:#999999;"">(rendered in: " & FormatNumber((intEnd_Time - intStart_Time) * 1000, 2) & " ms)&nbsp;</span>"
%>
</TD></TR></TBODY></TABLE><!-- Events Table end -->

</TD></TR></TBODY></TABLE><!-- Main Table end -->
<br><br>
</BODY>
</HTML>


Base on error above( The include file '/calendar_35/_calendar.asp' was not found). we can "understand" folder/file was not found. So i try to "repair" that script where i think that IIS should read it. I already try like this:

1)../calendar_35/_calendar.asp

2)..calendar_35/_calendar.asp

3)calendar_35/_calendar.asp

But all of that i still get error. Can someone help me to solve this issue?

I also would like to know what a different between "<!-- #include virtual = "/calendar_35/_calendar.asp" -->" and "<!-- #include file = "/calendar_35/_calendar.asp" -->"


Thanxs

*p/s for ur information again, during this scenario i already double check everything is running either my IIS and also my MSSQL 2000. Thanxs
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8267
Location: Castle Rock CO USA

PostPosted: Thu Apr 12, 2007 12:42 pm     Reply with quote



When it says the file was not found, it means the file was not found

When using virtual links, usually you need to use the
Code:
<!--#include virtual="ncludes/nav.html" -->
Check out included content for some information. Some servers won't display it if you use
Code:
<!--#include file="/includes/nav.html" -->

_________________
Corey
Toll Free Fax Numbers | Yahoo Merchant Account
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> ASP All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial