I have IIS installed on my system.I know hopw to execute ASP scripts but I am uanble to run the whole ASP project. I want to run a html page on my browser.The page consists of some include files and links which are located in the same folder as the page.While typing the url--http://localhost/folder/page.html,the page is displayed but the templates and images which are linked to the page are not displayed.
executing ASP project
Collapse
X
-
Originally posted by mamuniI have IIS installed on my system.I know hopw to execute ASP scripts but I am uanble to run the whole ASP project. I want to run a html page on my browser.The page consists of some include files and links which are located in the same folder as the page.While typing the url--http://localhost/folder/page.html,the page is displayed but the templates and images which are linked to the page are not displayed.
Please write your code, that is more helpfull to give the answer. -
Originally posted by Akhilesh1505I think You had given wrong path of images and templates.
Please write your code, that is more helpfull to give the answer.
<!--#INCLUDE virtual="/service/STEP/OldSession.asp" -->
<%
session("nassco nfirm") = ""
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Work</title>
<meta name="resource-type" content="docume nt">
<meta name="distribut ion" content="global ">
<meta name="robots" content="all">
<link rel="STYLESHEET " type="text/css" href="/tip.css">
<SCRIPT LANGUAGE="JavaS cript1.2" TYPE="text/javascript">
<!--
//set highlight variable
var secName = "top";
var hdsecName = "top";
//-->
</SCRIPT>
<SCRIPT LANGUAGE="JavaS cript" TYPE="text/javascript">
<!--
NS4 = (document.layer s);
IE4 = (document.all);
ver4 = (NS4 || IE4);
IE5 = (IE4 && navigator.appVe rsion.indexOf(" 5.")!=-1);
isMac = (navigator.appV ersion.indexOf( "Mac") != -1);
isMenu = (NS4 || (IE4 && !isMac) || (IE5 && isMac));
function popUp(){return} ;
function popDown(){retur n};
if (!ver4) event = null;
function openWin(URL) {
Window=window.o pen(URL,"urlwin dow","width=635 ,height=475,sta tus=yes,scrollb ars=yes,resizab le=yes,location =1,menubar=1,to olbar=yes");
Window.focus();
}
//-->
</SCRIPT>
<SCRIPT LANGUAGE="JavaS cript1.2" TYPE="text/javascript">
<!--
if (isMenu) {
menuVersion = 3;
menuWidth = 185;
childOverlap = 0;
childOffset = -1;
perCentOver = null;
secondsVisible = .5;
fntCol = "white";
fntSiz = "8";
fntBold = "bold";
fntItal = false;
fntFam = "arial";
backCol = "#088339";
overCol = "#06664e";
overFnt = "#FFFFFF";
borWid = 1;
borCol = "#9999B2";
borSty = "solid";
itemPad = 2;
imgSrc = "/images/tri.gif";
imgSiz = 10;
separator = 1;
separatorCol = "#1C67A8";
isFrames = false; // <-- IMPORTANT for full window
navFrLoc = "left"; // <-- display. see below
keepHilite = true;
clickStart = false;
clickKill = false;
}
//-->
</SCRIPT>
<SCRIPT LANGUAGE='JavaS cript1.2' SRC='/hierArraystip.j s' TYPE='text/javascript'></SCRIPT>
<SCRIPT LANGUAGE='JavaS cript1.2' SRC='/hierMenus.js' TYPE='text/javascript'></SCRIPT>
</head>
<body bgcolor="#fffff f" leftmargin="0" topmargin="0" marginheight="0 " marginwidth="0" >
<!--#include file='../header-tipNew.inc' -->
<table border="0" width="100%" cellpadding="0" cellspacing="0" >
<tr>
<td width="155" valign="top" style="backgrou nd-color: #D0DAEF;">
<p><br />
<!--#include file='leftnav-ttopNNew.inc' -->
</p>
</td>
<td width="100%" valign="top" style="backgrou nd-color: #ffffff; background-image: url(/images/header_blue.gif ); background-repeat: no-repeat; background-attachment: fixed;" class="copy" height="525">
<!-- main BODY begins -->
<img src="/images/blank_pixel.gif " width="446" height="5" alt="" border="0" /><br />
<table border="0" width="446" cellpadding="0" cellspacing="0" >
<tr>
<td width="38" valign="top"><i mg src="/images/blank_pixel.gif " width="38" height="5" alt="" border="0" /><br />
</td>
<td width="408" valign="top" class="title">T OP
- Transfer-Out Process</font><br />
<img src="/images/blank_pixel.gif " width="408" height="1" alt="" border="0" /><br />
</td>
</tr>
</table>
<br>
<table width="100%" border="0" cellspacing="1" >
<tr>
<td width="6" height="20">&nb sp;</td>
<td class="text" width="*" height="20">
<p>The <b>Transfer
Out Process</b> (TOP) begins with a manager or delegate initiating
a request to process a transfer or to remove an associate from the
existing environment when they are leaving.
.</p>
</td></tr>
<tr>
<td width="6" height="100">&n bsp;</td>
<td class="text" width="*" height="100">
<p><br>The following
areas will be notified upon using this request process:</p>
<ul>
<li>Human Resources</font></li>
<li>Shared Services</font></li>
</ul>
<!--
<p><font face="Arial, Helvetica, sans-serif" size="2" color="#FF0000" ><b>NOTE:
For all other users please contact your respective HR representative
to process any HR Changes;</b> Work currently does not handle these
requests.</font><br>
</p>
-->
<p><br>
</p>
</td>
<td width="6" height="100">&n bsp;</td>
</tr>
<tr>
<td width="6" height="2">&nbs p;</td>
<td width="*" height="2">&nbs p;</td>
<td width="6" height="2">&nbs p;</td>
</tr>
</table>
<br />
</td>
<td width="1" valign="top" bgcolor="##7B8C 9A" height="100" rowspan="2"> <img src="/images/blank_pixel.gif " width="1" height="1" alt="" border="0" /><br />
</td>
<!--#include file='/Include/rightnavNew.htm l' -->
</table>
<table border="0" width="100%" cellpadding="0" cellspacing="0" bgcolor="#FFFFc c" height="106" class="smgreyco py" ></table>
<!-- main BODY ends -->
</body>
</html>Comment
-
Hi,
Sorry for the late response.
Write image/header_blue.gif instead of
/images/header_blue.gif .
Update this in every place and it will be working for you.
Regards
Akhilesh
Originally posted by mamuniThe complete code is this:
<!--#INCLUDE virtual="/service/STEP/OldSession.asp" -->
<%
session("nassco nfirm") = ""
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Work</title>
<meta name="resource-type" content="docume nt">
<meta name="distribut ion" content="global ">
<meta name="robots" content="all">
<link rel="STYLESHEET " type="text/css" href="/tip.css">
<SCRIPT LANGUAGE="JavaS cript1.2" TYPE="text/javascript">
<!--
//set highlight variable
var secName = "top";
var hdsecName = "top";
//-->
</SCRIPT>
<SCRIPT LANGUAGE="JavaS cript" TYPE="text/javascript">
<!--
NS4 = (document.layer s);
IE4 = (document.all);
ver4 = (NS4 || IE4);
IE5 = (IE4 && navigator.appVe rsion.indexOf(" 5.")!=-1);
isMac = (navigator.appV ersion.indexOf( "Mac") != -1);
isMenu = (NS4 || (IE4 && !isMac) || (IE5 && isMac));
function popUp(){return} ;
function popDown(){retur n};
if (!ver4) event = null;
function openWin(URL) {
Window=window.o pen(URL,"urlwin dow","width=635 ,height=475,sta tus=yes,scrollb ars=yes,resizab le=yes,location =1,menubar=1,to olbar=yes");
Window.focus();
}
//-->
</SCRIPT>
<SCRIPT LANGUAGE="JavaS cript1.2" TYPE="text/javascript">
<!--
if (isMenu) {
menuVersion = 3;
menuWidth = 185;
childOverlap = 0;
childOffset = -1;
perCentOver = null;
secondsVisible = .5;
fntCol = "white";
fntSiz = "8";
fntBold = "bold";
fntItal = false;
fntFam = "arial";
backCol = "#088339";
overCol = "#06664e";
overFnt = "#FFFFFF";
borWid = 1;
borCol = "#9999B2";
borSty = "solid";
itemPad = 2;
imgSrc = "/images/tri.gif";
imgSiz = 10;
separator = 1;
separatorCol = "#1C67A8";
isFrames = false; // <-- IMPORTANT for full window
navFrLoc = "left"; // <-- display. see below
keepHilite = true;
clickStart = false;
clickKill = false;
}
//-->
</SCRIPT>
<SCRIPT LANGUAGE='JavaS cript1.2' SRC='/hierArraystip.j s' TYPE='text/javascript'></SCRIPT>
<SCRIPT LANGUAGE='JavaS cript1.2' SRC='/hierMenus.js' TYPE='text/javascript'></SCRIPT>
</head>
<body bgcolor="#fffff f" leftmargin="0" topmargin="0" marginheight="0 " marginwidth="0" >
<!--#include file='../header-tipNew.inc' -->
<table border="0" width="100%" cellpadding="0" cellspacing="0" >
<tr>
<td width="155" valign="top" style="backgrou nd-color: #D0DAEF;">
<p><br />
<!--#include file='leftnav-ttopNNew.inc' -->
</p>
</td>
<td width="100%" valign="top" style="backgrou nd-color: #ffffff; background-image: url(/images/header_blue.gif ); background-repeat: no-repeat; background-attachment: fixed;" class="copy" height="525">
<!-- main BODY begins -->
<img src="/images/blank_pixel.gif " width="446" height="5" alt="" border="0" /><br />
<table border="0" width="446" cellpadding="0" cellspacing="0" >
<tr>
<td width="38" valign="top"><i mg src="/images/blank_pixel.gif " width="38" height="5" alt="" border="0" /><br />
</td>
<td width="408" valign="top" class="title">T OP
- Transfer-Out Process</font><br />
<img src="/images/blank_pixel.gif " width="408" height="1" alt="" border="0" /><br />
</td>
</tr>
</table>
<br>
<table width="100%" border="0" cellspacing="1" >
<tr>
<td width="6" height="20">&nb sp;</td>
<td class="text" width="*" height="20">
<p>The <b>Transfer
Out Process</b> (TOP) begins with a manager or delegate initiating
a request to process a transfer or to remove an associate from the
existing environment when they are leaving.
.</p>
</td></tr>
<tr>
<td width="6" height="100">&n bsp;</td>
<td class="text" width="*" height="100">
<p><br>The following
areas will be notified upon using this request process:</p>
<ul>
<li>Human Resources</font></li>
<li>Shared Services</font></li>
</ul>
<!--
<p><font face="Arial, Helvetica, sans-serif" size="2" color="#FF0000" ><b>NOTE:
For all other users please contact your respective HR representative
to process any HR Changes;</b> Work currently does not handle these
requests.</font><br>
</p>
-->
<p><br>
</p>
</td>
<td width="6" height="100">&n bsp;</td>
</tr>
<tr>
<td width="6" height="2">&nbs p;</td>
<td width="*" height="2">&nbs p;</td>
<td width="6" height="2">&nbs p;</td>
</tr>
</table>
<br />
</td>
<td width="1" valign="top" bgcolor="##7B8C 9A" height="100" rowspan="2"> <img src="/images/blank_pixel.gif " width="1" height="1" alt="" border="0" /><br />
</td>
<!--#include file='/Include/rightnavNew.htm l' -->
</table>
<table border="0" width="100%" cellpadding="0" cellspacing="0" bgcolor="#FFFFc c" height="106" class="smgreyco py" ></table>
<!-- main BODY ends -->
</body>
</html>Comment
Comment